Complete or renew a task
The "Complete or renew a task" robot finishes a task by its ID or brings a completed one back to work in Bitrix24 (Alaio) business processes and robots. It takes the task ID and an action: complete moves it to the Completed status, renew reopens it. It returns a Success Y/N flag.
The robot drives the task lifecycle from any process: it completes a task or brings it back to work — standard automation actions only close a task created in the same process, and doing it by an arbitrary ID is not available. The input is the task ID and the action: complete moves it to Completed, renew reopens a completed one. Typical use cases: close the linked task when a deal is won; reopen a control task when the client comes back with edits; complete stage checklist tasks as the process advances. If the task is not found, Success = N is returned. Use the returned Y/N flag 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 | |
| Action: complete — finish, renew — reopen (default complete) | string | — |
What does the robot return?
| Parameter | Type |
|---|---|
| Success (Y/N) | string |
Scenario: closing a task when a deal is won
- A deal enters the Won stage
- The robot completes the linked task by its ID
- When Success = Y the process notifies the assignee about the closure