mshanemc / roundRobinProcessBuilder

27 stars 10 forks source link

Use in APEX Trigger #18

Closed adepew closed 4 years ago

adepew commented 4 years ago

Instead of using this in a Flow/PB I would like to call this from an APEX trigger. What is the proper syntax for this? I've tried this syntax but it doesn't work:

roundRobinAssigner rra = new roundRobinAssigner(); rra.RoundRobinAssignment(string.valueof(c.Id),'FreshmanRR')

adepew commented 4 years ago

I found the Test class and was able to figure it out.