What is Asset and how to use asset in workflow?

Basically Asset is a nothing but set the global or default value in UiPath Orchestrator from where bot can pick those values at run time. We can set four types of values under asset.

  1. Text
  2. Bool
  3. Integer
  4. Credential

Text:
We can set the Text under asset as shown in below image.

Bool:
We can set the Boolean value under asset as shown in below image.

Integer:
We can set the Integer value under asset as shown in below image.

Credential:
We can set the credential under asset which can be refer by robot runtime as shown in below image.

Now we will see how to use that in workflow.

We have four Asset activity available in uipath studio which will help us to get desire output as mentioned below.

  1. Get Asset
  2. Set Asset
  3. Get Credential
  4. Set Credential

Get Asset

To use this activity simply drag and drop “Get Asset” Activity from UiPath studio activity panel. In Properties pane type the Asset Name under input section. Then create a variable under output section to get the asset value in that as mentioned in following image.

Set Asset

To use this activity simply drag and drop “Set Asset” Activity from UiPath studio activity panel. In Properties pane type the Asset Name & value which you want to save for that asset under input section. Value will be updated in orchestrator.

Get Credential

To use this activity simply drag and drop “Get Credential” Activity from UiPath studio activity panel. In Properties pane type the Asset Name under input section for which you need to retrieve credentials. Then create the variable for Username & Password under output section. Robot will retrieve the credentials from orchestrator and set the values to create variables.

Set Credential

To use this activity simply drag and drop “Set Credential” Activity from UiPath studio activity panel. In Properties pane type the Credential Name, Password & Username under input section for which you need to set credentials. Robot will update the credentials in orchestrator.

Hope this tutorial will help you understand the Asset concept. Please feel free to comment we will be happy to revert.

Leave a Comment