Assignment rules not working on the case form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 05:11 AM
Hi All,
I have created 2 assignment rules with different conditions and different execution orders. But the case is still assigned to the group which having the lowest order assignment rule. If all the conditions are met, then it should be assigned to that group, but it's not. Please check the screenshots below
Could you please let me know how to fix it, or am I missing anything here?
KR,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 06:50 PM
Hi @Anand Kumar P
Thanks for your response.
I have looked into the client script, BR and data lookup definitions on the case table, but could not find anything.
I can clearly say, it is executing the assignment rules because I have added some logs in the script of assignment rules and it printing the logs with zip as 17300. But even though in script logs it showing the correct zip 17300 but still executing the one which having zip code between 1000 and 2999. It should not be the expected behavior right?
KR,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 07:22 PM
Hi @suresh91 ,
Looks like the issue is with current.assignment_group.setDisplayValue("services dresden-werkstatt")
looks like you have missed " in the setDisplayValue method
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 08:51 PM
Hi @Chaitanya ILCR
Thank you for your response.
That is fine. It's working with that method for those 2 scenarios. But the issue is, I have around 80 assignments routing records which having same country "DE", type of request and having different zip codes that needs to assign different groups (80). In that case, it's not good to write 80 conditions in assignment rule script.
But, the conditions should work right (OOTB) even though if we not used the script.
KR,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 10:14 PM
you can use one assignment rule and add all the logical to a script include. then call the function in script in assignment group. To reduce the condition in code, you can include decision table.
For more detail, please refer to: