Assignment rules not running on insert

Prathamjeet Sin
Tera Contributor

Hi there,


So to give a better context. I am working on assigning AVITs to their respective resolution groups. I am leveraging assignment rules to achieve this.
I have created all the Vulnerable Assignment rules I need and they are working perfectly fine but are not applying automatically when item is inserted or even updated. They are only working when I run the manual scheduled job which basically runs the script

new sn_vul.AssignmentUtils().evaluateAssignmentRules();

PrathamjeetSin_0-1673028678867.png

After this the rules are successfully applied.
But I need the assignment rules to apply when an item is inserted automatically. Any help would be awesome.


Thanks

4 REPLIES 4

Yousaf
Giga Sage

Hi Prathamjeet,
Can you share the whole configuration? 


***Mark Correct or Helpful if it helps.***

Hi Yousaf, 
Could you please let me know what exactly you need to help me out on this? Thanks

Screenshot of assignment rule config would do 
or better send screenshot of schedule job as well

 


***Mark Correct or Helpful if it helps.***

Hi, here is the screenshot of one of the assignment rules and script that is applying the assignment groups when run manually.

PrathamjeetSin_0-1673031152765.png

PrathamjeetSin_1-1673031216065.png