I have a case assignment rule. The case is assigned to the queue based on that and then is subsequently routed to the queue member. But the issue occurs when the case owner clicks on the EDIT button and makes some changes, the case is assigned back to the queue. What could be the issue?
Basically you need to add another filter to stop recalculation of the assignment rule. As we know Queue ID starts with 00G and User ID starts with 005. So comparing the OwnerId to make sure if the OwnerId doesn't start with 005 (which means it is not owned by Queue Member), then only run the assignment rule.
If you are using Omni-Channel:
- Add WRONG QUEUE (or whatever your code may be) status to the Case Status field as a choice
- Set the decline reason in Omni Channel: Omni-Channel>Presence Decline Reason
- Add your code from #1
- Add your code from #1 to Default Presence Configuration: Omni-Channel Settings>Default Presence Configuration