Get an Array of Process Items rpa.item.list
Scope:
rpaWho can execute the method: any user
The method retrieves a list of process items with the identifier typeId.
Method Parameters
|
Name |
Description |
|
typeId |
Identifier of the process |
|
order |
List for sorting, where the key is the field and the value is |
|
filter |
List for filtering. Keys for filtering by custom fields should be in |
|
start |
Offset for pagination. |
Response Handling
HTTP Status: 200
The response will only include the main fields of the items, without data about tasks and users of the items:
{
"items": [
{},
{}
]
}
Filter Examples
-
Find items that have incomplete tasks for the current user
{ "filter": { "tasks": "has_tasks" } }To find items that do not have any tasks for the user, you need to pass the value
no_tasks. -
Find items updated by the user with identifier
4{ "filter": { "=updatedBy": "4" } } -
Find items updated or moved by the user with identifier
4{ "filter": { "logic": "or", "0": { "=updatedBy": "4" }, "1": { "=movedBy": "4" } } } -
Find items that have a filled custom field with code
UF_RPA_1_STRING{ "filter": { "!=UF_RPA_1_STRING": "", } } -
Find items that were created, modified, and moved between March 19 and March 22
{ "filter": { ">createdTime":"2020-03-19T02:00:00+02:00", ">movedTime":"2020-03-19T02:00:00+02:00", ">updatedTime":"2020-03-19T02:00:00+02:00", "<createdTime":"2020-03-22T02:00:00+02:00", "<movedTime":"2020-03-22T02:00:00+02:00", "<updatedTime":"2020-03-22T02:00:00+02:00" } } -
Find items that were either created, modified, or moved between March 19 and March 22
{ "filter": { "logic":"OR", "0":{ ">createdTime":"2020-03-19T02:00:00+02:00", "<createdTime":"2020-03-22T02:00:00+02:00" }, "1":{ ">movedTime":"2020-03-19T02:00:00+02:00", "<movedTime":"2020-03-22T02:00:00+02:00" }, "2":{ ">updatedTime":"2020-03-19T02:00:00+02:00", "<updatedTime":"2020-03-22T02:00:00+02:00" } } }
Continue Learning
- Elements: Overview of Methods
- Add Process Element rpa.item.add
- Update Process Element rpa.item.update
- Get Information About the rpa.item.get Element
- Get Data on Current Tasks of the rpa.item.getTasks Element
- Delete Element rpa.item.delete