Administer > Application setup > Process Designer > Adding a rule > Add a Set Mandatory Fields rule

Add a Set Mandatory Fields rule

Applies to User Roles:

System Administrator

Implementer

This rule enables you to make one or more fields mandatory and to specify a default value for each field, which will be set if the mandatory fields are empty.

To add a JavaScript Validation 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 Micro Focus Proprietary and cannot be modified.

  3. Click Add Rule to open the Select Rule Type page, and then click Set Mandatory Fields.
  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. Select the error message type (Pop-up or Screen) that is displayed during validation.
  7. Click the Show All Error Messages Together check box if you want to display all error messages together during validation.
  8. Select the field name you want to set as mandatory.
  9. You can choose a default value, which will be set if the mandatory fields are empty.
  10. Click OK to add the new rule to the rule set.

Related topics

Process Designer
Process Designer security model
Adding a rule

Create a rule set