Clear all current task tags
The Clear All Current Task Tags robot removes every tag at once from the task whose automation or business process it runs in — no task ID needed. It reads the current tags first, so it returns the exact number removed and skips a redundant write when there are none.
A robot for the task funnel: add it to a stage automation rule or a task business process and it fully clears the current task's tag list — no need to determine its ID, the robot takes the task from the process context. It first reads the current tags: if there are none, no write happens and the robot reports there is nothing to clear; otherwise it writes an empty tag list via tasks.task.update. It returns Success (Y/N) and the number of tags removed. Typical scenarios: reset all working labels when a task reaches the final Kanban stage, clear tags before reusing a task, or normalise labels at the start of a new phase. To clear a task by its ID from another entity's process use the Clear All Task Tags by ID robot; to remove only specific tags use Remove Current Task Tags.
What does the robot return?
| Parameter | Type |
|---|---|
| Success (Y/N) | string |
| How many tags were removed | int |
Scenario: remove all tags when a task moves to the "Done" stage
- In the task stage automation add the Clear All Current Task Tags robot
- No task ID needed — the robot takes the current task
- The robot returns Success = Y and cleared_count equal to the number of tags removed