From Business Rules unable to read dependent's nationality.
Reproducing the Issue
Log into system
Go to configure business rules
Try to put restriction base on child's nationality
Currently, there are no rule functions which returns the dependent's country.
You can use 'Get Nature of Singapore Citizenship of Dependent()' rule function in business rules.
There is a pick-list called "natureOfCitizenship_SGP" which gives the nature of the Singapore Citizenship.
This picklist is already created and availavle in your picklist file, and can be added in the Global information of the Dependent for the Country SGP in Manage Business Configuration.
This rule function will return the external code of the specific pick list option based on the type of citizenship of the dependent.
If Child is not Singapore Citizen, then it will return external code from the pick list ( Option -- "Not a Singapore Citizen").
The example below shows citizenship type 5 from the picklist, which means "Not a Singapore Citizen":
The above accrual rule, based on the Accrual rule scenario, is available in the SuccessStore (rule SF_ACCRUAL_ChildCareLeave_SGPCitizen).
read dependent's nationality business rule Get Nature of Singapore Citizenship of Dependent