Add the Invoke Run Book action to invoke a Run Book in an Ivanti Automation environment, for example to create user accounts, e-mail accounts, or to install software. This requires that you can connect to the Ivanti Automation environment that contains the Run Books.
See the Ivanti Automation documentation at http://help.ivanti.com for more information about Run Books and Run Book Parameters.
Configuration of Properties tab
Field |
Explanation and Tips |
---|---|
Action Name |
Optionally, specify a friendly name for the action. This name must be unique in the workflow. |
Run Book |
Specify the Run Book that should be invoked.
|
If the Run Book is configured to Ask during Run Book scheduling who should execute the job, specify the Automation Agent that should execute the Run Book. Leave this field empty if you Use a Run Book Parameter ($[RunBookWho] by default) to determine the Automation Agent that will execute the Run Book.
|
|
Tags |
Optionally, specify tags to pass on to Ivanti Automation, to be used during execution of the Run Book.
|
Schedule in parallel with other jobs |
Schedule the runbook in Automation to use the parallel processing functionality of Automation. |
Wait for Run Book to finish |
Pause the transaction until the Run Book has been executed. This is useful if other actions depend on it.
|
Stop transaction if Run Book fails/fails to launch |
Verify if the Run Book was invoked or executed successfully.
CombinationsYou can use various combinations of the options Wait for Run Book to finish and Stop transaction if Run Book fails/fails to launch to specify how the Invoke Run Book action should behave in the workflow:
|
Workflow Detail |
Specify the level of detail that is shown when people track the service status. Depending on your configuration of this field, the Label field specifies the status information.
|
One of the input settings of Ivanti Automation Parameters is the option When scheduling Job, which asks for input when a Job is scheduled. Identity Director uses this option to determine whether to show parameters on the Run Book Parameters and Run Book Results tabs: These tabs are only shown if the option When scheduling Job is selected in Ivanti Automation.
Configuration of Run Book Parameters tab
If a Run Book contains parameters, provide the necessary input. You can specify service attributes, to let the value of Run Book Parameters depend on service attributes. To provide input for these attributes during the transaction, the Invoke Run Book action needs to be preceded by a Provide Information action or a Set Service Attribute action.
- If you Use a Run Book Parameter ($[RunBookWho] by default) to determine the Automation Agent that will execute the Run Book, that parameter should be listed on this tab. If the Run Book is configured to Ask during Run Book scheduling who should execute the job, use the Computer field (on the Properties tab of the Invoke Run Book action).
If the parameter is not listed, verify that it asks for input When scheduling Job (in Automation, on the Input tab of the Run Book parameter).
Item |
Explanation and Tips |
---|---|
List service attributes |
If you specify service attributes, you can link them to corresponding list parameters in the Ivanti Automation Run Book.
|
Password service attributes |
If you specify password service attributes, you can map them to corresponding password parameters in the Ivanti Automation Run Book. Because the values of password service attributes remain encrypted when passed from the service to the Run Book, this allows for secure scenarios in which a user or a manager can request a password change for a login account via a Run Book. |
Date service attributes |
If you specify date service attributes, you can map them to text parameters in the Ivanti Automation Run Book. |
Configuration of Run Book Results tab
This tab is only available if the specified Run Book contains Run Book Parameters where the Action is set to Get Final Value or Both in Ivanti Automation. It allows you to let the value of service attributes depend on Run Book Parameters. These values are set when the Run Book is executed. This allows you to use the resulting Run Book Parameter values in another action of the same service, for example to satisfy a Run Book condition or to generate a user name.
If the Transaction Engine cannot retrieve the Run Book Parameters the first time, it will retry a maximum of 4 times, until successful.
The first retry will start 30 seconds after the initial retrieval attempt.
If needed, the second retry will start 60 seconds after that, the third retry 90 seconds after that and the fourth retry 120 seconds after that.
Item |
Explanation and Tips |
---|---|
Perform Table Operation |
If you specify table service attributes, you can link them to Run Book Parameters of the same format. This column specifies what should happen with the provided values:
|
Example
Consider the following scenario:
The Ivanti Automation Run Book contains a list parameter Ivanti Products with the following settings:
Setting |
Description |
---|---|
A |
Ivanti Automation |
B |
Ivanti Workspace Control |
C |
Identity Director |
The service contains a list service attribute Ivanti Products with the following settings:
Setting |
Description |
---|---|
B |
Ivanti Workspace Control |
C |
Identity Director |
A |
Ivanti Automation |
- If you specify a list service attribute, the selected value is provided to the Run Book Parameter (e.g. B;Ivanti Workspace Control). In this case, this results in Setting: B Description: Ivanti Workspace Control for the Run Book Parameter.
- If you specify a text service attribute and it contains a value like C;Identity Director, this results in a corresponding value for the Run Book Parameter.