Task result
The "Task result" robot returns the latest result of a task by its ID in Bitrix24 (Alaio) business processes and robots: the text, the attached file IDs, the author, and the date. It also returns the result count and a Result found Y/N flag.
The robot extracts the task result — the Result block the assignee pins from a comment — and hands it to the process: plain text, file IDs, the author, and the date. The freshest result is taken; the total count comes back separately. Typical use cases: write the task outcome into a deal field on closure; forward the result with its files to a manager; hold the process until the assignee pins a result. If there are no results or the task is not found, Result found = N is returned. It returns the text, the files, the author, the date, the count, and the Y/N flag — use them in the next steps 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 |
|---|---|
| Result text | text |
| Result file IDs | int |
| File count | int |
| Result author ID | int |
| Result date | string |
| Result found (Y/N) | string |
| Total results on the task | int |
Scenario: the task outcome into the deal card
- A site inspection task completes
- The robot reads the latest task result
- The result text is written into a deal field and the files go to the manager