Policy Workflow Step 4
Last updated
Last updated
Next, we want to add another step to our policy action. To do this we again go back to the Policy Action itself by clicking on the “init_installer_steps” Policy Action icon on the left.
This time we need to deal with the new approval document that was sent, so we add an “information” step as a block by clicking on the “Information” icon in the top navigation bar.
Again we are naming the “Tag” to better identify this policy action step. In this case, we want to inform the user of the status of the approval in the previous workflow step.
Next, we are setting the Permission to “Installer”.
Since approval is mandatory, the step must be active by default.
Also, the next step cannot occur before approval is given. Therefore we set “Stop Propagation”.
For the approval UI, we then specify what Type it is from the drop-down. In our case, a simple TEXT UI is enough to display the approval status.
We then finish by giving the UI a Title and Description.
Programmatically this workflow step looks like this: