Validate Field Values

You can author validation rules (warning and error) only in HCM Redwood pages for a limited list of pages, regions, and fields:

  • Global Human Resources
    • Add Assignment
    • Add a Non Worker
    • Add Contingent Worker
    • Add Pending Worker
    • Additional Person Info
    • Change Assignment for the following regions only:
      • When and Why
      • Assignment
      • Additional Assignment Info
      • Salary
    • Change Location
    • Change Working Hours
    • Contact Info
    • Convert Pending Worker
    • Correct Employment Details accessible from Employment Info supporting the same capabilities and regions as Change Assignment
    • Create Job
    • Create Work Relationship
    • Departments
    • Document Records
    • Family and Emergency Contacts
    • Hire an Employee
    • Identification Info
    • Jobs
    • Local and Global Transfer
    • Person Identifier for External Applications
    • Personal Details
    • Position Details
    • Promote
    • Request a New Position
    • Request a Position Change
    • Share Data Access
    • Termination
    • Transfer
  • Compensation
    • Individual Compensation
    • Salary
    • Salary History
  • Payroll
    • Element Duration Dates
  • Succession Management
    • Succession Plans
    • Talent Review and Succession Management
  • Talent Management
    • Goal Management
    • Performance Goals
Important:

Though this feature is visible for all HCM and SCM Redwood pages yet only the HCM pages listed above are supported.

Using Fields to Author Your Conditions or Rule Logic, or Both

Fields including initial field values are available at different places in Business Rules when they have been enabled for a region:

  • Conditions
  • Simple or advanced expressions to write the rule logic, or default a field value, or both
Note:

Fields that can be used in the conditions, both simple and advanced expressions are limited to the fields and direct attributes available in the page and that are listed in the Regions and Fields section.

Using Conditions, Simple Expression, Advanced Expression and JavaScript (JS)

You can build simple rules using the condition builder to define when to trigger the defaulting or validation rules.

Use simple expressions to default a value with another field value, or to transform data before assigning the value to a field.

Use advanced expressions in conditions, if:

  • The available operators aren't sufficient to write the rule logic.
  • You need to transform data. Note that the use of JS in advanced expression is strictly limited to data transformation like substring, day of, and so on.