Using Policies to Manage Requests › How to Create a Condition › Conditions Based on the Attributes of the Location › Conditions Based on the Attributes of the Location of the Assignee
Conditions Based on the Attributes of the Location of the Assignee
To specify conditions based on the attributes of the location of the assignee, use the following format (without spaces):
$(_.user.location.attribute operator 'value')
Enclose string values in single quotation marks. Enter numeric values without quotation marks.
Examples
Sample conditions follow:
- To assign the pending action when the name of the location of the user is Home, use this condition:
$(_.user.location.name==‘Home’)
- To assign the pending action when the country of the user's location is India, use this condition:
$(_.user.location.country==114)
Note: The code for India in the ca_country table is 114.
- To assign the pending action when the city of the location of the user is Hamburg, use this condition:
$(_.user.location.city==‘Hamburg’)
Copyright © 2013 CA.
All rights reserved.
|
|