A group of actions: None


The action searches for elements and returns the first element that matches the specified criteria. 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.

Action icon

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
GroupThe name of an existing queue group that contains the queue in which to search for an element.Robin.String
Yes
QueueThe name of an existing queue in which the element will be searched.Robin.String
Yes
TagsA 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. priorityThe 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. priorityThe 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 creationThe 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 creationThe 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 updateThe 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 updateThe 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 typeSorting type of found elements to select one of them. At first all matching elements will be found and then sorted; the action will return the first element from the sorted list.Robin.String
No
Disable readingIf the value is «true», the action will lock the found element for reading by other robots, and also hide it in the queue. The hidden element will not be found by other robots when searching by condition.Robin.BooleantrueNo
Disable writingIf the value is «true», the action will block the found element from being updated for other robots. If the item is already blocked for updating by another robot and has not been unblocked within the timeout, the action will return an error.Robin.BooleantrueNo
Remove an element from the queueIf the value is «true», the action will remove the found element from the queue after it has been passed to the robot. If the value is «false», the found element will remain in the queue.Robin.BooleantrueNo
Timeout, msThe amount of time the activity waits for an item to appear in the queue. Specified in milliseconds. If the found element needs to be blocked for updating, but it is already blocked by another robot or user, the action waits for the block to be released. If the element was 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
TagsA collection of strings where each element is a separate tag of element in the queue.Robin.Collection

PriorityThe priority of the element over other elements in the queue.Robin.Numeric

Date and time of creationThe date and time the item was added to the queue.Robin.DateTime

Date and time of updateThe date and time the item was updated.Robin.DateTime

ValueThe value of the found element of the queue.Robin.Object

Element IDThe unique ID of the queue element.Robin.String

  • Нет меток