Roboteka
Roboteka · Robots · Last task comment

Last task comment

The "Last task comment" robot returns the freshest comment from the task discussion by its ID in Bitrix24 (Alaio) business processes and robots: the text, the author ID and name, and the date. System records about status and field changes are skipped by default. It also returns a Comment found Y/N flag.

The robot reads the task discussion and hands over the last meaningful comment — from a CRM entity process the task conversation is otherwise unreachable. The input is the task ID and the Skip system records flag: by default automatic lines about status and field changes are dropped and the robot returns the last human comment. Typical use cases: put the assignee's fresh reply into a manager notification; check whether the assignee reacted to the task before escalating; store the last comment into a deal field when the task closes. If there are no comments or the task is not found, Comment found = N is returned. It returns the text, the author, the date, 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
Skip system records (Y/N, default Y) string

What does the robot return?

Parameter Type
Comment text string
Author ID int
Author name string
Comment date string
Comment found (Y/N) string

Scenario: escalation with no assignee reaction

  1. A task is overdue and the control process fires
  2. The robot reads the last comment of the task
  3. When Comment found = N the process tells the manager the assignee never replied

Related robots