A group of actions: None


The action searches for resources based on the specified conditions and returns all matching resources. If no required resources are found, the action waits for them to appear within the specified timeout.

Action icon

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Resource queueThe name of the resource queue in which to look for resources.Robin.String
Yes
TagsA 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
StatusThe status the resources must have.Robin.String
Yes
Min. priorityThe 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. priorityThe 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 creationThe 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 creationThe 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 updateThe 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 updateThe 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 typeThe sort type of the found resources. The action sorts the found resources before writing them to the resulting collection.Robin.String
No
Deny readingIf the value is «true», the action will lock the found resources for reading and hide them in the queue. Other robots will not be able to find hidden resources when searching by condition.Robin.BooleantrueNo
Deny writingIf the value is «true», the action will lock the found resources for writing to other robots.Robin.BooleantrueNo
Finish processingIf the value is «true», the action will get the value and parameters of the resources and then change their status to «Processed». With this status, resources will be hidden for robots, even when searching by their ID.Robin.BooleantrueNo
Number of resourcesThe amount of resources the action should return. Taken into account together with the parameter «Quantity rule».Robin.Numeric
Yes
Quantity ruleA rule that specifies how to interpret the value from the field «Number of resources» . If «All» is selected, the action ignores the specified number of resources and returns all matching resources.Robin.String
Yes
Timeout, msWaiting time for the required number of resources to appear in the queue, matching the search conditions. If «-1» is specified, the action will wait indefinitely. Specified in milliseconds.Robin.Numeric
No
Results
ResultA collection in which each element is a dictionary containing the data of one of the found resources: value («Value» key), identifier («Id» key), tags («Tags» key), status («Status» key), priority («Priority» key), creation date ( «CreationDate» key) and update date («UpdateDate» key).Robin.Collection

  • Нет меток