Set parameters
Command Description
Set the value of the parameter specified in the "Data Assets - parameter" module of the Commander. Only the values of text, numeric value and Boolean type are supported
Command Prototype
Asset.SetAsset(assetName,value)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
assetName | True | dynamicEnum | "" | Select from the parameter names created by the user in the "Data Assets - parameter" module of the Commander (Laiye Automation Platform Commander) |
value | True | string | "parameter1" | Only supports passing in text, numeric, and boolean values |
Run instance
/**************************Set Parameters**************************
Command prototype:
Asset.SetAsset(assetName, value)
Input parameters:
assetName -- The parameter name in commander
value -- The value to be set
Output parameters:
--> None
Notes:
None
******************************************************************/
Asset.SetAsset("test", "parameter1")