A group of actions: None
The action searches for elements and returns all found elements that match the specified conditions. If there are no suitable items in the queue, the action waits for them to appear for the time specified in the «Timeout, ms» field.
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Group | The name of an existing queue group that contains the queue in which to search for elements. | Robin.String | Yes | |
Queue | The name of an existing queue in which elements will be searched. | Robin.String | Yes | |
Tags | A collection of strings where each element is a separate queue element tag. The action will search among those elements that have at least one of the listed tags. | Robin.Collection | No | |
Min. priority | The minimum value of the search range for elements by priority. If the same value is specified in the «Max. priority» field, the search will be performed only among elements that have the specified value. | Robin.Numeric | No | |
Max. priority | The maximum value of the search range for elements by priority. If the same value is specified in the «Min. priority» field, the search will be performed only among elements that have the specified value. | Robin.Numeric | No | |
Min. date and time of creation | The minimum value of the search range for elements by the date and time of its creation. If the same value is specified in the «Max. date and time of creation» field, the search will be performed only among elements that have the specified value. | Robin.DateTime | No | |
Max. date and time of creation | The maximum value of the search range for elements by the date and time of its creation. If the same value is specified in the «Min. date and time of creation» field, the search will be performed only among elements that have the specified value. | Robin.DateTime | No | |
Min. date and time of update | The minimum value of the search range for items by the date and time it was updated. If the same value is specified in the «Max. update date and time» field, the search will be performed only among elements that have the specified value. | Robin.DateTime | No | |
Max. date and time of update | The maximum value of the search range for items by the date and time it was updated. If the same value is specified in the «Min. update date and time» field, the search will only be performed among elements that have the specified value. | Robin.DateTime | No | |
Sorting type | The sort type of the found elements. All found elements will be sorted and written in the same order to the collection returned by the action. | Robin.String | No | |
Disable reading | If the value is «true», the action will lock found elements for reading by other robots, and also hide them in the queue. Hidden elements will not be found by other robots when searching by condition. | Robin.Boolean | true | No |
Disable writing | If the value is «true», the action will block found elements from being updated for other robots. If one of them is already blocked for updating by another robot and has not been unblocked within the timeout, the action will return an error. | Robin.Boolean | true | No |
Remove an element from the queue | If the value is «true», the action will remove found elements from the queue after they have been passed to the robot. If the value is «false», found elements will remain in the queue. | Robin.Boolean | true | No |
Number of elements | The number of elements that the action will return. The specified value is taken into account along with the value in the Cardinality Rule field. | Robin.Numeric | Yes | |
Rule for number of elements | A rule that specifies how to interpret the value from the Number of Items field. If «All» is selected, the action ignores the value from the «Number of elements» field and returns all found items. | Robin.String | Yes | |
Timeout, ms | The amount of time the activity waits for items to appear in the queue. Specified in milliseconds. If the found elements need to be blocked for updating, but all or some of them are already blocked by another robot or user, the action waits for the block to be released. If the elements were not found, unlocked, or removed, the action returns an error. If «-1» is specified, the action waits until the element is present, unlocked, or removed. | Robin.Numeric | No | |
Results | ||||
Dictionary collection | A collection in which each element is a dictionary containing data about one element of the queue: value (Value key), ID (Id key), tags (Tags key), priority (Priority key), creation date (CreationDate key) and update date (key UpdateDate). | Robin.Collection |
Обзор
Инструменты контента