mshanemc / roundRobinProcessBuilder

27 stars 10 forks source link

Assign to inactive user #28

Open ChrisITBRM opened 2 years ago

ChrisITBRM commented 2 years ago

Hello, Is it possible to avoid assignment to inactive user. For the moment, Round Robin rule assignes the record to this user even if the user is inactive. Thank you for your help Christine

bensk0 commented 2 years ago

Hello Christiane! I also faced the same issue. The thing is, Salesforce does not remove users from the public groups in case of deactivation. And since Apex Classes are a powerful thing, they can bypass Salesforce rules. For now, you should manage your public groups and keeping there only active users. Here is a suggestion how to do it and an idea.

Hopefully it helps you, Roman