Skip to content
On this page

Activities

During transition between states, you might want to perform some additional operations, for example send an e-mail to a user who will have a task to perform in the next state. You can achieve this by using activities – small programs performing a given operation or operations. Activities can be set in a desired order, you can also execute activities when certain conditions are met.

Note: Activities defined inside action will execute after the action is launched and after the launch form is filled and confirmed (if there is launch form defined for the action).

How to add an Activity

To add activities to action you need to click activities icon on menu that shows up, when you hover mouse on action.

Another way you need to open action menu. It may be done by double-click on the action you want to edit or by clicking edit icon on menu that shows up, when you hover mouse on action.

After opening the "Edit action properties" window, you should to click the activities button.

The window with activities looks like this:

A special area to which activities are added is marked with a red frame on the screen-shot above. To add activities you have to just drag them from the list on the left and drop them on the special gray area.

Each action can have a unique set of activities. The set of activities for selected action may look like this.

How to edit an Activity

After adding an activity, you need to set the appropriate values in it. To do this, double-click on the activity or click on the pencil icon on the activity. The activity edition window will then open.

The edit window for the "Edit Items" activity:

The edit window for the "Send an Email" activity:

In the edit window, you have a short description of the activity, telling you what operation it performs. You can change activity’s displayed name and set the parameters the activity takes. Some of them might be required (marked with an asterisk) and you must provide them with a value; otherwise the activity will not run properly.

You can see a description of each parameter in a tooltip: just point your mouse cursor over the small icon next to the parameter you want to learn about or over its name.

After filling the parameters, the edit window of the "Edit Items" activity should look like in the screen-shot below.

Activities Types

The list of activities is as follows:

There are six groups of activities:

  1. Control
  2. Workflow
  3. SharePoint
  4. Teams
  5. Office
  6. General

Control group

includes the following activities:

  • Container - is used to organize activities. Within it, you can organize your activities.
  • For Each - repeats group of activities for each element in an array, in order.
  • If - allows you to set logical conditions under which the group of activities set on the left path is launched. Otherwise it allows execution of activities on the right path.
  • While - allows to create a loop.

Workflow group

includes the following activities:

  • Add to Role - activity allows you to assign selected users and groups to a selected workflow role.
  • Remove from Role - activity allows you to remove selected users and groups from selected worfklow role.
  • Set Variable - activity allows you to set a new value of a workflow variable.

SharePoint group

includes the following activities:

  • Add Item - activity allows you to add a new item to the selected SharePoint list.
  • Delete Items - activity allows you to delete selected items on the SharePoint list.
  • Edit Items - activity allows you to edit selected items on the SharePoint list.
  • Set item permissions - activity allows you to set permissions on items or the SharePoint lists.

Teams

includes the following activity:

  • Post message to a chanel - activity allows to post message to a Teams chanel.

Office group

includes the following activities:

  • Call Microsoft Flow - activity allows to start Microsoft Flow.
  • Send an Email - activity allows to send an Email

General group

includes the following activities:

  • Call HTTP Web Service - activity allows to communicate with an HTTP Web Service
  • Query SQL - activity allows to communicate with SQL database

How to remove an activity

If you want to delete an activity, you need to click on the selected activity on the X icon. A modal window will be displayed in which you must confirm operation. The activity will be removed.