Administer > Application setup > Process Designer > Adding a rule > Add a Set Field from Number rule

Add a Set Field from Number rule

Applies to User roles: System Administrator

Implementer

This rule enables you to set a field based on an Service Manager number record. When this rule is executed, unique sequential numbers for the records in the database are generated.

When a new record is added, the unique sequential number is incremented or decremented based on the prefix or suffix provided. For example, you can create a number record for the cm3r class with Increment By as +1, Prefix as C, andLast Number as 10. Whenever a new change request is added in the system, it assigns the change request with a unique change ID C10, the next change request you add will have the change ID C11.

To add a Set Field from Number 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 Field from Number.
  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 field from the Field Name drop-down list.
  7. Select the class from the Class of Number Record drop-down list.

    Note You can select the Overwrite When Record Is Saved check box to overwrite the number when you save a record.

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

Related topics

Process Designer
Create a rule set
Build a condition