Administer > Application Setup > Process Designer > Adding a rule > Add a Launch a Script rule

Add a Launch a Script rule

Applies to User Roles:

System Administrator

Implementer

This rule enables you to launch a Service Manager script. Scripts enable you to interrupt the normal screen flow and gather the prerequisites before the form is displayed. For example, you can use a script to automatically close an incident in five days. The script closes the incident.

To add a Launch a Script rule, follow these steps:

  1. In the System Navigator, click Tailoring > Process Designer > Rule Sets.
  2. Click Search to open the Rule Set form, and then select the rule set to which you want to add the rule.

    Note You can edit user-defined rule sets only. Out-of-box rule sets are labeled as HPE Proprietary and cannot be modified.

  3. Click Add Rule to open the Select Rule Type page, and then click Launch a Script.
  4. In the Rule Description field, type a description of your new rule.
  5. Click Edit to add conditions to the rule.

    Note If you do not specify a condition, the value defaults to Always.

  6. Click the Fill Field Script icon in the Script text box to select a Service Manager script.

    Note If you type an invalid script name, an error message appears.

  7. Click OK to add the new rule to the rule set.