Skip to content
English
  • There are no suggestions because the search field is empty.

How do I create tasks in a workflow?

Note: If you're not yet familiar with how the workflow engine works and how it's structured, we recommend reading this article first: How is the workflow engine structured?

To add a task to your workflow, open the workflow in edit mode and click Create Task in the Tasks section of the left-hand column.

Vaira Office workflow edit mode with the Tasks section and the Create Task link highlighted

The new task opens on the right-hand side of the screen.

Newly created task with an empty Drop fields here area and the available field types on the right

At the top, you'll find the task's main properties: its display name and its task ID. Below that is the Form fields section, which lists all the fields you've added so far. On the right, under Available fields, you can see every field type you can use in the task.

Open task with display name, task ID, form fields and the available fields on the right

  1. Give your task a meaningful display name.
  2. Give your task a task ID. It must be unique. Important: You can't change the task ID later.
  3. Pick the field type you need from the area on the right. You can find more about the individual field types here.
  4. Click and hold the tile, then drag it to the gray Drop fields here area on the left.
  5. Give the field a display name and a field ID, which must be unique within this task. The field ID can't be changed later either. You can also add some Helper text if you like.
    1. Some field types have additional settings that you can – or must – configure here. A list, for example, needs a directory assigned to it, and for number fields you can use Precision to set how many decimal places are displayed. For more details, see the guide to field types.
  6. Click Save at the top to save the task. Click Close to leave it.

At the bottom of each field, you'll see several icons and checkboxes. Let's go through them one by one:

  1. The first icon stands for Constraints. Here you can define which values the field should accept and which it shouldn't. Learn more here: Simple conditions, calculations and field commands – how can I use fields to calculate automatically and automate processes?
  2. The second icon stands for Calculations. Vaira lets you link fields to each other – both numbers and text. With numbers, you can calculate just as you're used to and add, subtract, multiply or divide individual fields of your process. With text, or combinations of numbers and text, you can concatenate field contents. Learn more here: Simple conditions, calculations and field commands – how can I use fields to calculate automatically and automate processes?
  3. The third icon stands for Labels. For advanced use cases, you can store key-value pairs here that can be used in automations. Learn more here: How do I link processes in Vaira Office?
  4. The Required checkbox turns the field into a mandatory field. If you tick it, the field must be filled in. As long as the field is empty (or doesn't meet the conditions you set as constraints), the step can't be completed and the process can't move on.
  5. Depending on the field type, you'll also find an Identifier checkbox here. It makes this field the key attribute of your process – its "name tag", so to speak.
    1. The first column of your process list is the Identifier. If no field has been set as the identifier, the column shows "Process" followed by a # and four characters as a unique ID.

      Process list in Vaira Office with the Identifier column in first place

    2. If you tick Identifier for a text field, for example, the content of that field becomes the name of every process in this workflow as soon as the field has been filled in. Until then, the generic name remains.
    3. Especially in combination with calculations or concatenation, you can merge several entries into one field (e.g. date, process number, person in charge) and set this combined field as the identifier. The sky's the limit.

You now have all the tools you need to add fields to your task. You can add as many fields to your tasks as you like. Just remember that every field needs both a display name and an ID – and then you can map your processes with complete flexibility. To use the task in your process, drag and drop it into a step of your workflow.

Tip: We've also written an article that explains the individual field types. Maybe it will help you with your work too: Article on field types.