Professional Documents
Culture Documents
Now for each state, drag on a Request Approval action and configure them with relevant users information from your environment.
In the Graphics team state (below), if the advertisement is rejected, we will send an email to the initiator (and/or whoever else would be appropriate) then end the workflow. In the Approved branch we can add a Change state action, which will route the workflow to the Marketing department state. PLEASE NOTE: the "Change State" action does not instantly change execution to the new state, it only sets which state should be run next. Selecting End State Machine will exit the State Machine construct when the current state has finished running.
For the Marketing department state, drag and drop a Change state action for each outcome path of the Request approval action. You can then set the declined path to change state back to the Graphics team state. Similarly, route the workflow to the third step, CEO approval. Please note: you can change to any state from any other states do not have to be directly next to each other.
The CEO approval state comprises of a Request approval action as well. In the case that it is rejected, the workflow changes state back to Marketing department using a Change State action.
In the case of approval, an email is sent to the initiator of the workflow and the state machine is ended. The workflow can continue on to other actions after the state machine if required.