An example
1
Trigger: Work item created
The trigger hands over the key, the title and the project of the new work item.
2
Step 1: Send notification
Its message uses the key and the title from the trigger. It returns whether the notification was sent.
3
Step 2: Add comment
Its text uses the key from the trigger and the result of step 1. Because it is the last step, nothing can use its result.
Insert data from an earlier step
Select an input and the data picker opens next to it.- Each earlier step is a group. Open it to see the fields of its result.
- A small arrow shows that a field has fields of its own.
- Select a field to insert it at the cursor. You can mix typed text and data in one input, for example
New: {{trigger.title}}. - A reference reads
{{step_1.field}}. Collabase replaces it with the value when the step runs.
The picker lists the fields of the saved test result of each step. Test every step before the one you are filling in. A step that has not been tested shows no fields.
Test each step
Select a step, open its Test tab and run it. Collabase runs the step once with the saved data of the steps before it and shows the result. The result is saved, so later steps can offer its fields in the picker.Use a value that is not listed
If the field you need is not in the picker, type its path:body, for example {{trigger.body.order}}. A reference that points to nothing fails the step with a message that names the reference.
Dropdowns and expressions
An input with a fixed set of values is a dropdown, and a dropdown cannot take a reference by itself. Dates, numbers and many other inputs have a switch next to their label that changes the field into an expression field, where you can insert data. Pickers for spaces, projects, work items, pages and people have an input mode for a reference too.Data inside a loop
A Loop step repeats the steps inside it once for each item of a list. Inside the loop, the loop step’s name followed byitem is the current item, for example {{loop_1.item}}, and index is its position in the list, starting at 1. The loop’s own result is the last item, the count and the number of iterations.