Action group: Orchestrator Subgroup: Resource queue
The action edits the current value and parameters of the resource in the resource queue.
The action can deny a resource for reading or writing if the corresponding input parameters are filled in. In addition, the date of unlocking the resource will be specified. The presence of the unlocking date means that the resource will be locked until the specified date, even if the robot has already finished its work. When the specified date occurs, the Orchestrator server side will remove the block itself. However, the current instance of the robot can also remove the block if it performs the corresponding action.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Identifier | The unique identifier of the resource. | Robin.String | Yes | |
Value | The new resource value. | Robin.Object | No | |
Tags | A collection of strings where each element is a separate new tag for a resource. If the field is empty, the current resource tags will not change. If a collection with 0 elements is specified, the current tags will be removed. | Robin.Collection | No | |
Priority | The priority of the element over other elements in the queue. If the field is empty, the resource’s current priority will not change. | Robin.Numeric | No | |
Timeout, ms | The time to wait for the lock to be released from the resource. Specified in milliseconds. If «-1» is specified, the action will wait indefinitely. | Robin.Numeric | No | |
Temporarily stop reading | The date on which the read lock was automatically released. Must be greater than the current date. If the field is filled, the resource will be blocked immediately. | Robin.DateTime | No | |
Temporarily stop writing | The date on which the write lock was automatically disabled. Must be greater than the current date. If the field is filled, the resource will be blocked immediately. | Robin.DateTime | No | |
Results | ||||
Tags | A collection of strings, where each element is a separate tag of the resource. | Robin.Collection | ||
Priority | The priority of the resource over other resources in the queue. | Robin.Numeric | ||
Date of creation | The date and time the resource was created. | Robin.DateTime | ||
Date of update | The date and time the resource was last updated. | Robin.DateTime |
None.
There is a resource. Change it to priority "1" and get the date of creation of the resource.
Use the "Edit resource", "Message in Log" actions.
The program robot completed successfully.
The priority of the resource was changed to "1", as well as the new date of creation of the resource was output to the log.