Creating your first workflow
Learn how to create an atomic block
Last updated
Learn how to create an atomic block
Last updated
Go to Grut's Studio, select Actions on the top-left and click + workflow.
You will see something like the image above. Start by clicking on the first Block of the workflow, named "block 1".
The first block of a workflow will always be either an atomic block or an existing workflow. For ou example we will select the existing atomic block "add-objects" under "Math" folder. To to so, we click on "search action" on our inner block on the right.
As you can see, the block "add-objects" selected requires two inputs (a and b) and have one output (c).
Inputs for workflows can be defined as a "Process Input", as "Fixed input" or connected to an existing output from other inner blocks of the workflow (we will cover that later). For our example, we will set the values as following:
For the inner block's output, we can decided if it will be "Process output" or not using the checkbox on the far left of the output label. We will ignore this for now and move to second block. Close the inner block by clicking on the "x" button on it's top-right.
Click on the "+" node of the workflow to add a new block.
We chose atomic block "subtract-objects" to subtract the result of the first block's execution by "Process Input" value. Note that we checked the checkbox for output value for second block, setting it as a process output.
To tell it's the end of the process we also checked the "Final block" switch.
Close the second inner block and see our first workflow. Name it and choose the correct folder for it. Just hit the save button to save our workflow and .