You need to sign in to do that
Don't have an account?
User Migration 6
Trigger to run Case Assignment Rule when User edit with Inline editing
Hello,
do you have any trigger to force Case Assignment Rule to run when a User edit with inline editing?
I know that there are some ideas to correct this and the only workaround is to use a trigger.
I'm using this code but is not triggering any Rule:
Thank you.
do you have any trigger to force Case Assignment Rule to run when a User edit with inline editing?
I know that there are some ideas to correct this and the only workaround is to use a trigger.
I'm using this code but is not triggering any Rule:
trigger CaseAssignmentTrigger on Case (before update) { for (Case theCase:trigger.new) { Database.DMLOptions dmo = new Database.DMLOptions(); dmo.assignmentRuleHeader.useDefaultRule = true; theCase.setOptions(dmo); System.debug ('working'); } }
Thank you.
try this it ll work for you sure..
you can also check this link for detail info..
http://developer.force.com/cookbook/recipe/running-case-assignment-rules-from-apex
Thanks
Shivdeep
All Answers
Please take a look on below link, it will help you.
https://help.salesforce.com/articleView?id=000187821&type=1
Please let me know if this help.
Thanks
Shivdeep
I actually don't know how to modify my trigger in order to make it work as specified in that article.
try this it ll work for you sure..
you can also check this link for detail info..
http://developer.force.com/cookbook/recipe/running-case-assignment-rules-from-apex
Thanks
Shivdeep