A group of actions: None
The action searches for resources based on the specified conditions and returns the first matching resource. If the required resource is not found, the action waits for it to appear within the specified timeout.
Action icon
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Resource queue | The name of the resource queue in which to look for the resource. | Robin.String | Yes | |
Tags | A collection of strings where each element is a separate resource tag. The search will be among those resources that have at least one of the listed tags. | Robin.Collection | No | |
Status | The status that the resource must have. | Robin.String | Yes | |
Min. priority | The lowest priority value that the resource can have. Together with the value from the «Max. priority» is the search range by priority. | Robin.Numeric | No | |
Max. priority | The highest priority value that the resource can have. Together with the value from the «Min. priority» is the search range by priority. | Robin.Numeric | No | |
Min. date of creation | The smallest value of the creation date of the resource. Together with the value from the «Max. creation date» is the search range for creation date. | Robin.DateTime | No | |
Max. date of creation | The largest value of the creation date of the resource. Together with the value from the «Min. creation date» is the search range for creation date. | Robin.DateTime | No | |
Min. date of update | The smallest value of the last update date of the resource. Together with the value from the «Max. date of creation» is the range of the search by the date of the update. | Robin.DateTime | No | |
Max. date of update | The largest value of the last update date of the resource. Together with the value from the «Min. date of creation» is the range of the search by the date of the update. | Robin.DateTime | No | |
Sorting type | The sort type of the found resources. The action sorts the found resources and returns only the first resource of those sorted. | Robin.String | No | |
Deny reading | If the value is «true», the action will lock the found resource for reading and hide it in the queue. Other robots will not be able to find the hidden resource when searching by condition. | Robin.Boolean | true | No |
Deny writing | If the value is «true», the action will lock the found resource for writing to other robots. | Robin.Boolean | true | No |
Finish processing | If the value is «true», the action will get the value and parameters of the resource and then change its status to «Processed». With this status, the resource will be hidden for robots, even when searching by its ID. | Robin.Boolean | true | No |
Timeout, ms | Time to wait for a suitable resource to appear in the queue. If «-1» is specified, the action will wait indefinitely. Specified in milliseconds. | Robin.Numeric | 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 | ||
Value | The value of the resource. | Robin.Object | ||
Identifier | The unique identifier of the resource. | Robin.String | ||
Status | The status of the resource it had before the activity started. | Robin.String |
Обзор
Инструменты контента