What are the business rules that apply to person name attributes included in Redwood pages?
Person name attributes have been added to VB Studio Business Rules for these Redwood pages. You can create business rules with conditions for these attributes.
- Personal Details
- Hire an Employee
- Add a Nonworker
- Add a Contingent Worker
- Add a Pending Worker
- Create Work Relationship
- Edit Pending Worker
- Create a Family and Emergency Contact
- Edit a Family and Emergency Contact
- Local and Global Transfer
To have more control over the display and editing of the person name and address attributes, some of you may have created a Page Composer personalization on the responsive page. This personalization would make a few name attributes as read-only for your employees when they view their own name records, but allow your HR professionals to be able to edit all their name attributes. You can now achieve this same functionality in the Redwood version of these pages by using VB Studio Business Rules.
This table lists the rules that apply to the person name attributes, along with examples:
Rule | Example |
---|---|
If a name attribute isn't included in the person name styles definition, then even if it’s set to be Visible or editable in Business Rules, the attribute won’t be displayed or editable. | If the Indian person name style includes the Title, First Name, Last Name, and Middle Names attributes, and the attribute Prefix is set to Visible or editable in the business rules, it won't be displayed or editable. |
If a name attribute is included in the person name styles definition and it's marked as Required, then even if it’s set to Hidden in Business Rules, the attribute will still be displayed. | If the Indian person name style includes the First Name and is marked as Required, and the attribute First Name is set to Hidden in the business rule, it will remain as displayed. |
If a name attribute is included in the person name styles and it’s marked as Required, then if it’s set to Read-only in Business Rules, it will become read-only even if the attribute doesn't have any data. | If the Indian person name style includes the First Name and is marked as Required, and the First Name attribute is set to Read-only in the business rule, it will become read-only. In the case where a required attribute is null and is set to Read-only, an error message will be displayed if the name record is edited. |
VB Studio Business Rules has two sections for date-effective objects other than person name:
- List: This applies to the read-only form.
- Create and Edit: This applies to the create and edit form.
The name region doesn't have the same model. Rather, it has separate sections for Global Name and Local Name. The Business Rule for these two sections will apply to both the read-only and create and edit forms.
- In the read-only use case, only the Hidden property will be applicable.
- In the edit use case, all other enabled properties will be applicable.
- If a validation Business Rule is written, the Target field condition will result in a banner message displayed at the page level. The message won’t be displayed next to the specific Target field.
- Business Rule validations, such as restricting special characters being entered or specifying the maximum number of characters that are entered, are also supported.