Finish a task action
Automation · 2 min read ·
Finishes the viewer’s task, or backlog tasks by number, and counts it for today. Learn its setup and options in Roadie Automation.
Finish a task is the cowork.finish Automation action. It finishes the viewer’s task on the list, or backlog tasks by number, and counts it for today.
Availability: Every channel, once Co-working is on (Utilities › Choose utilities…). The step acts for the viewer who ran the command, so use it on a chat command. Before you start: Co-working set up. See Run co-working on stream.
Options and starting values
- Then (
next) — Leave the list empty (the default) or Pull the next one from the backlog. - Backlog numbers (
numbers) — Usually{args}. Empty finishes the task on the list. With numbers,!done 3 5 7finishes backlog tasks 3, 5 and 7 and leaves the task on the list. Words that are not numbers finish the task on the list.
In a flow
Tasks finished from the backlog do not count on the scoreboard. Outcomes: done, no_task or not_found (missing names the numbers with no task).
In tests default: New Finish a task steps start at Skip. The trigger editor’s Run test currently applies every action regardless of this per-step default, so a test can make real changes.
Values for later steps
Label this step and read {step.<label>.outcome}, task (on the list now), finished, next_task, backlog_left, backlog (numbered, for chat) and done_today. It posts nothing in chat: add a Send a chat line step for that.
If the step fails
The run log records the failed step and its reason. The step’s Stop the run if it fails setting decides whether later steps run.