- In Dev Studio, click Records → Technical → Activity → Create.
- Fill in the Label and Identifier fields and make sure that the activity is being created in the context of the case (for more details, see Creating a case with a workflow). Next, click Create and open.

- On the Steps tab that, add the required activity steps.
- On the Parameters tab, specify the required variables. On the Pages & Classes tab, specify a page to be used for the activity steps.
Setting up activity steps
To configure your activity, you need to create loops and substeps. To create a loop, click Loop for a step and select a repetition type (in our example, For each element in value list) and a list of values. Click Submit.
When setting up the activity, you will also need to set up the following:
- The When condition – This condition is checked before a step is carried out. Depending on the result, the step is either carried out or skipped.
- The Jump condition – This condition is checked after a step. Depending on the result, the activity can either advance to the next step or finish.
- Label specifies a step to which you can go from another step.
