Executing an NSH script job in TrueSight Server Automation
To add the Execute workflow action to a policy
- In the BMC Helix Intelligent Automation console, click Policies and then click Create Automation Policy.
- Perform the steps as shown in the following animated graphic to add a policy name and description, select an event, define trigger conditions, and sync actions to retrieve the jobs in TrueSight Server Automation:
- From the list of actions, click Select against the action that you want to add to the policy and perform the following steps to define job parameters:
By default, only the editable parameters in the job are displayed. The action name is predefined. You can change the name, if required.
- In the Request Body, enter a unique name for the execution task.
By default, the Group path and the target servers on which the task is to be executed are preselected. You can change the group path, if required. - For editable parameters in the NSH script, enter the parameter name and specify the value.
- Click Done.
The added action appears in the Action Configuration section on the Create Automation Policies page.
- In the Request Body, enter a unique name for the execution task.
- In the Estimated Savings section, enter an approximate time (in minutes) and money (in USD) that you may save by automating this action.
Select Publish Policy and click Save to publish the policy.
This policy runs every time an event that matches the trigger conditions appears in BMC Helix Intelligent Automation.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*