iRobo.Activity.Get Asset Gets specified asset by using provided asset ID from Assets page in iRoboControlPanel. |
|
Note: If the asset is not global, it must be assigned to the local robot in order to be retrieved. Assets are managed from Assets page in iRoboControlPanel. |
Input
- AssetIDName - Asset Name to get. (Mandatory)
- AssetIDNumber - Asset ID to get. (Mandatory)
- FailOnNotFound - Fail on not finding asset or not. Its input is True/False arguments.
- Query - A query to get the asset by (Mongo DB Query). ((Mandatory)
Misc
- DisplayName - Activity header name.
Output
- Result - A JObject output variable for the result. (Mandatory)
Steps of Using Get Asset Activity
- Open iRobo Studio, and then open a new Workflow.
- Drag Get Asset Activity to the Sequence.
- Get ID of required Asset from Assets page in iRoboControlPanel and add it to AssetIDNumber field in Properties Panel.
- Create AssetResult Variable with JObject Data Type.
- Assign AssetResult Variable the default JSON expression, such as: {JObject.Parse("{'name':' John ','Age':'30'}")}.
- Add AssetResult Variable to Result field in Output in Properties Panel.
- Click Save button from iRobo Studio Menu to save Workflow.
- Click Play button to start the automated process.
Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications