Example Jump action: Allow end users to postpone a Run Book

Add a Jump action to redirect the workflow to another action and continue from there, instead of from the current location. For example, you can use the Jump action in services that allow users to postpone the execution of a Run Book for a specific number of times.

Configuration

In this scenario, the Jump action is used in a service that allows a user to postpone the execution of a Run Book twice.

  1. In Ivanti Automation, configure a Run Book Microsoft Office that installs Microsoft Office.
  2. In the Ivanti Identity Director Management Portal, configure a service Install Microsoft Office.
  3. On the Attributes tab, configure:
  4. On the Workflow tab, add a Compare Attributes action.
  5. In the True path of the Compare Attributes action, let the workflow continue.
  6. In the False path of the Compare Attributes action, add a Provide Information action.
  7. In the Provide Information action, configure a page that asks if the installation of Microsoft Office should be postponed with 1 day.
  8. In the Exception path of the Provide Information action, delete the End Workflow action. This makes the workflow continue to the Invoke Run Book action if the Provide Information action expires after 1 day.
  9. Add a Compare Attributes action.
  10. In the True path of the Compare Attributes action, let the workflow continue.
  11. In the False path of the Compare Attributes action, add a Set Service Attribute action.
  12. In the False path of the Compare Attributes action, add a Postpone action that postpones the action for e.g. 1 day.
  13. In the False path of the Compare Attributes action, add a Jump action that redirects the workflow to the Compare Attributes action in step 4.
  14. Save the service.

Service Request

In this scenario, when the service is requested:

  1. The service placeholder #Service[Counter] in the Compare Attributes action is compared if it equals "3". Because this is the first time the workflow is executed, the value is 1.
  2. Next, the workflow asks the user if the installation of Microsoft Office should be postponed with one day:

The workflow continues until either the user no longer wishes to postpone or if the transaction has been postponed twice. It then executes the Run Book and completes the workflow.


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other