SetAsset

The SetAsset component enables the user to update the value of an existing variable/asset (ex: Files, Credentials etc.) by using unique asset name. Before using the SetAsset component the user must establish a connection to the Orchestrator using the SetConfig component.

Screenshot

Ports

The SetAsset component exposes the Control In, Control Out, Data In, and Data Out ports by default.

Port Description
Control In Must be connected to the Control Out port of one or more components.
Control Out Must be connected to the Control In port of any other component.
Data In The SetAsset component exposes the following Data Inputs:

Name: Specifies the name of the existing asset against the process, for which user wants to update the value.

Datatype should be String.

Value: Specifies the updated value of respective asset with datatype as String.
Data Out Return the value as Boolean datatype, which shows value of respective asset whether it gets updated successfully or not .

Properties

For SetAsset component - User can edit the following properties, in the properties window.

Property Description
Delay After Execution Specifies the wait time (in seconds) after the action is executed.
Delay Before Execution Specifies the wait time (in seconds) before the action is executed.
Enable Timeout Allows users to enable timeout for the component
Timeout Allows users to define a timeout for the component

Note

To search for a specific property user can use the filter available in the properties window.

Example

Let us consider an example of the SetAsset component.

Screenshot

To set the value of a specific asset :

  1. In the Toolbox, expand Orchestrator and then expand Common.

  2. Drag the SetConfig component and drop it on the design surface.

  3. In the Toolbox, expand Orchestrator and then expand ASSETS.

  4. Drag the SetAsset component and drop it on the design surface.

  5. Enter the URL, RoboID and ProcessID inside the SetConfig component and connect Control-Out port to Control-In port of SetAsset component.

  6. Enter name of asset as it appears in the Orchestrator, in Name Data-In port of SetAsset component.

  7. Enter the desired value of specific Asset in Value Data In port of SetAsset component

    Note

    User can Override the existing data source for IsSensitive Data-In port.

    a. Right-click the required Data-In port.

    b. Click override and change the data source from dropdown. either False or True

    To learn more about overriding the data source port, refer the override section.

  8. As per the flow connect all control ports and data ports in the activity.

  9. In the toolbar, click Run.

The asset value has been successfully updated in the orchestrator.

Screenshot