Administer > Application setup > Process Designer > Adding a rule > Add a Run JavaScript rule

Add a Run JavaScript rule

Applies to User roles: System Administrator

Implementer

This rule enables you to perform actions and validations by using JavaScript.

To add a run JavaScript rule:

  1. Click Tailoring > Process Designer in the System Navigator.
  2. Click Rule Sets > Search to open the Rule Set page.
  3. Select the Rule Set to which you want to add the rule.
  4. Click Add Rule to open the Select Rule Type page.
  5. Click Run JavaScript.
  6. Type the Rule Description.
  7. Click Edit to add a condition.

    Note If you do not specify a condition, it will default to Always.

  8. Type the JavaScript to run in the text box.
  9. Click OK to add the rule.

Related topics

Process Designer
Create a rule set