How to create a re-usable component in uipath?

studio

#1

how to create a re-usable component in uipath?


#2

Right click on the sequence/workflow you want to extract, click extract workflow and then use invoke workflow to use it anywhere.


#3

Hi @vijai1,

Creating re-usable components is a good practice and saves a lot of time.

  1. Try to create XAML files that have few activities.
  2. The values that can change over time should not be hard coded in the workflow, instead use config file which will be in the Key-Value format and can be read in a dictionary variable.
  3. Use Invoke Workflow activity to integrate workflows(XAML files).
  4. Read about REF(Robotic Enterprise Framework).

Reg,
Sarthak Jain


#4

thank you


#5

when i try to use hot key activity in excel app scope , the excel sheet is closing without sending the hot key. could anyone help me to resolve that


#6

hi Sartak,

Could you please share a sample XAML file?


#7

Hi @vijai1,
Before using send hot key use element exists activity to check the excel application is open or not. If yes use send hot key else part leave blank.

Regards,
Arivu


#8

thanks arivu


#9

Hi @vijai1,

Refer below like to re-usable component example of Removing empty row from the DataTable.
Pass the Parameter(I/O) as DataTable you will get the result.

Regards,
Arivu


#10

thank you