Skip to main content

Create/Edit Workflow

Settings Panel Guide

Settings panel for creating and editing a workflow. Edit an existing workflow to configure settings not initially available when creating it. From this panel, modify and add states, routines, subtasks, start forms, and SLAs. Make your Start Forms public.

Create a Workflow

You can create a new workflow by pressing the + icon found in the upper right-hand corner of the Workflows Settings Panel.

create workflow

Edit a Workflow

To edit a workflow, access its settings panel by either:

  1. Clicking on the workflow diagram:
access to edit workflows
  1. From the list, click anywhere in the workflow's row:
access to edit workflows

Settings Panel Layout

After choosing to create or edit a workflow, the Workflows settings panel will open up.

note

The settings panel options for creating and editing a workflow are slightly different. This means that after creating a workflow, you might have to edit it to configure states and SLAs.

access to edit workflows

Options:

  1. Save: save current configuration

Settings:


A. General information

access to edit workflows
Name:
Workflow's display name.
It doesn't have to be unique.
Code:
Workflow identification name. Only lowercase letters, numbers, and underscores are accepted. The first character must be a letter.
The code cannot be edited once it is saved.


B. Asset

access to edit workflows
Collection:

Choose the collection that will act as the asset. This collection is used to define the tasks on the workflow.


The collection's additional fields are shared with each task, giving tasks the necessary slots to store relevant data.

Task references are stored in the collection.



C. Additional fields

access to edit workflows
Status (Nº 1-5):

Adds a collection as an additional field or status on all tasks belonging to the workflow.

The elements within the collection are used as the available values (options) for each status.


Status options can indicate things like task priority, corresponding company department, or permissions for unassociated users.


Status values can also be used to filter, group, or sort the tasks in the task view.

Status fields are displayed on the general information of task details.


Status values appear on task descriptions when displayed on list or kanban views.


These collections correspond to the five status fields belonging to the dynamicPropertyTypes object of the COTSMStateMachine data model.

Additional fields:

Collections used to add extra information to tasks. The additional fields contained within the selected collections will be used as additional fields on the task. Up to fifty collections can be selected.


The added collections with their respective additional fields can indicate things like task priority, corresponding company department, etc.


The additional fields can also be used to filter, group, or sort the tasks in the task view.

These additional fields will appear within extra tabs on task details.


These collections correspond to the allowedExtensions field in the COTSMStateMachine data model.


These additional fields differ from the statuses shown above (status 1-5). See "best practices" below for information on the preference of statuses over additional fields.



D. States

Items 7-10 are only available when editing a workflow.

access to edit workflows
1. State list:
Select the collection that has the available workflow states. The states are stored as elements in the collection.
The collection –with its elements– must be previously created.
2. Initial state:
Indicates in which state the workflow starts off by default.

Available options are the elements present in the collection selected in the State list field.

3. Start form:

Indicates that a survey will initialize the workflow. Remember to previously create the survey and choose it from the dropdown menu where all existing surveys will appear as options.

Once selected, the Share button will appear.

Go to Start Forms for more setup information.

4. Start form permissions:
Select permissions users need to create a subtask. Users are requiered to have at least one of the selected persmissions.

Users are assigned permissions through their access roles.

5. + Edit Routine:
Routines automate processes within the workflow.

Click here to learn more about routines.

6. Share:

Press this button to get a link which will permit you to share the survey outside the Cotalker environment. Appears when a survey is selected in the Start form field.

See the Survey documentation for more details.

7. Diagram icon:

Press this icon to hide or display the workflow diagram.

8. Create state icon:

After pressing the + icon to create new states in the workflow, the Create State settings panel will open up.

9. Workflow diagram:

Press the nodes on the diagram to edit the corresponding state.

10. Workflow list:

Displays the states that exist within the workflow. Press anywhere within a row to edit the corresponding state.



E. SLAs

This section in only available when editing a workflow.

access to edit workflows

A service-level agreement (SLA) can be incorporated into the workflow. When a task does not change from one state to another at a pre-determined time, a routine can be built to take a course of action, like sending a reminder to whoever was assigned the task.

For information on how to add an SLA routine to your workflow, go to the SLA Routine section.



Best Practices

Associating Tasks from Different Workflows

If needed, you can associate tasks that belong to different workflows. To do this, go to the Asset section in the Create/Edit Workflow settings panel. Set the type of each workflow to unique. The id of the task that is to be associated must be included as an additional field of the asset (element) of the other task's workflow.

For example, if Task 1 from Workflow A is to be associated with Task 5 of Workflow B, the element set as the asset of Workflow A must include the Id of Task 5 in its additional fields. This will permit a routine to communicate with Task 5 from Task 1, which would be the case if a Network Request is used to call the asset of Workflow A to obtain the Id of its associated task, i.e., Task 5, and hence, being able to automatically send a message to Task 5's channel or performing any other automated action in the channel.

The same can be done using child elements (subproperties) instead of additional fields with task Ids.

Using Additional Fields in Workflows.

When using additional fields in your workflows, you will find two types of additional fields.

Two types of additional fields for workflows:

additional fields in workflows

The five statuses (A), found in the Additional Fields tab, correspond to the dynamicPropertyTypes field in the workflow's data model (COTSMStateMachine) and are displayed as standard task settings on the task details panel.

The additional fields slot found at the bottom of the section (B) can contain multiple collections and are stored in the allowedExtensions field of the COTSMStateMachine data model. These additional fields are displayed as extra tabs in the task details panel.

As best practice, it is recommended to use the first five statuses (A) because their structure permits greater consistency between the elements.