Task status
The "Task status" robot returns the current status of a task by its ID in Bitrix24 (Alaio) business processes and robots: a numeric code (1 — new, 2 — pending, 3 — in progress, 4 — awaiting control, 5 — completed, 6 — deferred), a name, and a Completed Y/N flag. The values are handy for comparisons in process conditions.
The robot reads a task status and hands it over in three forms: a number for precise conditions, a name for messages and notifications, and a Completed Y/N flag for simple branching — inside a CRM entity process there is no other way to reach the status of a linked task. The only input is the task ID. Typical use cases: hold a deal on its stage until the control task is completed; remind the assignee about a task still pending; branch the process by the exact status code. If the task is not found, Task found = N is returned. It returns the numeric status, the name, and the Completed and Task found flags — compare them in the condition of the next step of the business process.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| Task ID | int | yes |
What does the robot return?
| Parameter | Type |
|---|---|
| Status (number: 1 new, 2 pending, 3 in progress, 4 review, 5 completed, 6 deferred) | int |
| Status name | string |
| Completed (Y/N) | string |
| Task found (Y/N) | string |
Scenario: task control before a stage change
- A deal is ready to move to the Closing stage
- The robot reads the status of the linked control task
- When Completed = N the process holds the transition and reminds the assignee