Roboteka
Roboteka · Robots · Change task observers

Change task observers

The "Change task observers" robot manages the observer list of a task in Bitrix24 (Alaio) business processes and robots. It takes a task ID, an action, and a list of employees: add appends observers to the current ones, remove drops the specified ones, replace overwrites the whole list. It returns a Success Y/N flag and the resulting observer count.

The robot changes task observers without touching its other fields — the standard Edit task action in processes overwrites the list instead of appending to it. The input is the task ID, the action, and the employees: in add mode the current observers are kept and new ones are appended, in remove mode the specified ones are dropped, in replace mode the list is overwritten entirely (an empty list in replace clears the observers). Typical use cases: bring a department head in as an observer on escalation; drop a departed employee from observers across active tasks; swap observers when a project is handed over. If the task is not found, Success = N is returned. It returns the Y/N flag and the resulting observer count — 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
Action: add — append, remove — drop, replace — overwrite the list (default add) string
Observers user

What does the robot return?

Parameter Type
Success (Y/N) string
Resulting observer count int

Scenario: escalating an overdue task

  1. A task misses its deadline and the process fires
  2. The robot in add mode appends the manager to the task observers
  3. When Success = Y the process notifies the manager about being added

Related robots