Skip to content

USER create a workflow

simonedegiacomi edited this page May 24, 2019 · 4 revisions

Open the project page, clicking the name or the id of a project from the list of your projects.

In the middle of the page you should find a list of workflows of the current project. Click the "Add workflow" button on the right to open dialog that will ask you the name and a description for the new workflow.

Once you've create a workflow you can click on its id or name on the table to open the workflow editor.

Layout of the editor

Workflow editor

On the left you can find a sidebar with a list of blocks that can be dragged in the graph on the center. On the right there is a sidebar that allows you to change properties of the workflow when none of the block is selected. When a block is selected you can find the properties of the selected block. At the bottom you can find a bar that sometimes shows informations about the workflow graph and that contains the "Save" button.

Add a new block

To add a new block to the workflow you need to drag one of the blocks on the center.

Currently there are two types of blocks:

  • Do block: publish a configurable job on a supported crowd-sourcing platform and download the results.
  • Lambda block: allows you to write custom JavaScript code to filter, order or manipulate items.

Connects blocks together

On the left and right side of each block the is a box that becomes visible when you move your mouse over.

Mouse over port

When the port is visible drag a line to the block that you want to connect. The port on the left of each block is the input port, while the port on the right is the output. You can connect multiple input blocks to the same output port of a block.

Mouse over port