location rule not working

Hello

I have requirement for "Submit Well+Being Fitness Reimbursement Claim" to create one user option in the form that will show the amount of reimbursement amount entitled to user based on their location and this field will be non-editable.

so I wrote one rule as shown in attachment, but that rule is not working.

basically, if user is submitting offering from USA, then system should automatically detect his/her location and display entitled amount of reimbursement.

Note- 271564 is the location id for north America as i was testing from north america

requirement screenshot

kindly assist

Thank you

  • 0  

    The syntax is incorrect as ParentLocation is an ENTITY_LINK, so you cannot check if it is equal to the ID.

    Additionally, it is a very bad practice to write business rules using IDs of records. These rules are not transferable across tenants when you perform Dev2Prod activities.

    You should consider using another attribute on the location.