In this blog post, we will have a look at Assets in Uipath.
Assets are credentials that are shared across bots and are kept in Orchestrator. Orchestrator is a web application that helps you to orchestrate bots in executing repetitive business processes.
Post Contents
Assets in UiPath
Assets in UiPath are credentials or variables that are shared across bots in different automation projects and are stored in Orchestrator.
There are four types of Assets:
- Text
- Integer
- Bool
- Credential
Text
It stores string values.
Integer
Stores whole numbers (Whole numbers are non-negative numbers starting from zero)
Bool
Supports and stores true or false.
Credential
Contains usernames and passwords that the bot requires to execute particular processes, such as login details for SAP or any other application.
Why do we need Assets?
Assets are helpful in many ways. Let’s see a couple of business use cases for using Assets.
Assets can be used:
- When data doesn’t change from one execution of a process to another.
- Whenever a bot needs credentials to access applications in an automation scenario.
- When we need an extra layer of security.
Creating Assets in UiPath
Assets can be created in Orchestrator or using UiPath Studio.
Creating Assets in Orchestrator
The step for creating an asset in an orchestrator are listed below:
- On the Assets page, click Add. The Add Asset window is displayed.
- In the Asset name field, enter a name for the asset.
- From the Type list, select the type of asset you want to create.
- Add a Description of the asset.
- From the Credential Store list, select where this asset is stored from any of your defined credential stores.
- Use the Global Value toggle to indicate whether this asset has a default value (used when no specific per-account/per-account-machine value exists).
a. If enabled, in the Value field, type what the asset should contain. If the asset type is boolean, select True or False, and if it is a credential enter the Username and Password.
b. If disabled, you must provide at least one account-specific asset value. - Use the Add robot asset value button to create the per-account or per-account-machine asset values desired.
- Click Create. The asset is created and displayed on the Assets page.
Creating Assets using UiPath Studio
The Studio has two activities, Get Asset and Get Credential, that the Robot can use to extract information from assets stored in the Orchestrator database.
They are displayed in the Activities panel, under Orchestrator > Assets, and are part of the UiPath Core activities pack.
The Get Asset activity should be used with the String, Boolean, and Integer assets, while Get Credential should be used with Credential assets.
Removing Assets in UiPath
To remove an asset, navigate to the Orchestrator and click More Actions > Remove.
Alternatively, you can select one or multiple assets and click the Remove button.
Conclusion
Hope that you like the blog post. Please spread the word by sharing this with your friends and colleagues. You can also refer to the official documentation on Assets in UiPath.
For more posts on UiPath, check this 👉 UiPath Blog Posts
Happy Automating!