How to use "State Machine" activity in SPARK Workflow?
Last Update: December 25, 2018
Apply for: SPARK Workflow for SharePoint 2013/2016 and Office 365
Suppose you want to design a workflow for training request, the workflow first creates an approval task for the direct supervisor of the requester in order to approve/reject the request, then it proceeds to the training officer to get a final approval from him/her, if the direct supervisor is not available (no supervisor), the process proceeds to the training officer to get his/her approval, if the process task gets rejected by the supervisor or by the training officer, the requester can resubmit the request again.
Here are the steps on how to do that.
- Create a new list workflow. For more details on how to create a list workflow, refer to
Create a list workflow use case.
- In the main menu ribbon, in the Workflow group, click on Settings and configure the workflow settings as follows:
- Drag activities onto the workflow canvas and drop it onto a design node and change its titles as appeared in the following screenshot:
- Configure activity (1) as follows:
- Configure activity (2) as follows:
- Configure activity (3) as follows:
- Configure activity (4) as follows:
- Configure activity (5) as follows:
- Configure activity (6) as follows:
- Configure activity (7) as follows:
- Configure activity (8) as follows:
- Configure activity (9) as follows:
- Configure activity (10) as follows:
- Configure activity (11) as follows:
- Configure activity (12) as follows:
- Configure activity (13) as follows:
- Configure activity (14) as follows:
- Configure activity (15) as follows:
- Configure activity (16) as follows:
- Configure activity (17) as follows:
- Configure activity (18) as follows:
- Configure activity (19) as follows:
- Configure activity (20) as follows:
- Configure activity (21) as follows:
- Configure activity (22) as follows:
- Configure activity (23) as follows:
- Configure activity (24) as follows:
- Configure activity (25) as follows:
- Configure activity (26) as follows:
- Configure activity (27) as follows:
- Publish the workflow by clicking on the
Publish button in the workflow ribbon.
- Now you can test the workflow by adding a new item to the list that this workflow being created on.