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
- Additional Person Info
- Change Assignment for the following regions only:
- When and Why
- Assignment
- Additional Assignment Info
- Salary
- Change Location
- Change Working Hours
- Correct Employment Details accessible from Employment Info supporting the same capabilities and regions as Change Assignment
- Create Work Relationship
- Departments
- Document Records
- Jobs
- Local and Global Transfer
- Positions
- Promote
- Share Data Access
- Termination
- Transfer
- Goal Management
- Individual Compensation
- Salary
- Talent Review and Succession Management
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
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.