Performs an activity or sequence on each element within a provided list.



  • DisplayName - Renames the activity.

  • Values - The list being enumerated.


  1. Rename the initial Sequence to Main Sequence.

  2. Create a new variable and name it: processes. Select Main Sequence as its Scope. For its Variable Type, we would need the following steps to create a List<Process> variable:

    a. Create a variable and name it as processes then click on the Variable Type and choose Browse for Types.

    b. On the Type Name input box, place list. This should show you a bunch of results.

    c. We would need to click on the one under System.Collections.Generic. It is named as List<T>.

    d. Click the dropdown button right beside System.Collections.Generic.List text. Choose Browse for Types afterwards.

    e. Go to the Type Name input box and place process.

    f. Click on Process under System.Diagnostics.

    g. Click on the OK button. This should lead you back to the List<> window. Click the OK button again to declare our List<Process> variable.

  3. Add a Get Process activity, 

    With the Get Process activity selected, go to the Attributes panel and under ProcessList, type in processes.

  4. After the Get Process activity, add a For Each activity and choose Object as its type.

  5. In the For Each Values field, add the processes variable.

  6. Inside For Each, add a Write Line activity.

  7. In the Write Line Text field, write item.ToString. This displays the each process retrieved by Get Process activity. 

    The use case should look like the following screenshot:

The output should look like this in the Output panel: