Event is not fired from workflow for only one case in production

anonymous13
Tera Expert

Hello All!

Issue: Not Generating Email When Automated Response Button is clicked for only one case (email receiver is consumer of case (we have one field for consumer on case table))
In production there is one case for that event is not fired and because of that email notification is not triggered 

we have tried same scenario on lower environments but the output is different as compared to prod. Basically we are unable to reproduce that issue but in lower environments we observed that the event is fired but notification is not triggered for the same user (consumer) and we noticed that user (user with same email address  compare to consumer table ) is inactive on lower environments so we made that user active and reproduced the same issue then event is also fired and notification is also triggered. 

So is there any script which is validating user for active and inactive?

So major issue is in production why event is not fired for particular case as we noticed after this case, so many similar cases has been created for those event is also fired and notification is also triggered. This kind of issue we noticed first time ever 

This workflow will run when SLA get attached to the case and for this case it is attached.

Please let us know if any thing is there which we have missed! @Ankur Bawiskar 

We have attached all screenshots for the reference 

Notification: 

anonymous13_0-1698670744395.png

 

Event : 

anonymous13_1-1698670793304.png

 

Workflow: 

anonymous13_2-1698670829909.png


From this script event is called :

anonymous13_3-1698670941350.png

 



Your help will be highly appreciated:) 

Thank you so much in advanced! 🙂 




8 REPLIES 8

Hello @saurabhtrivedi ,

Yes we have checked that case is meeting conditions properly for workflow.
We have checked and where we have that script for event that activity is also finished.

anonymous13_0-1698728841078.png

 

 

Danish Bhairag2
Tera Sage
Tera Sage

Hi @anonymous13 ,

 

Is the info messages printing in logs which are written in the above script?

 

Thanks,

Danish

 

 

 

hello @Danish Bhairag2,

Yes info messages are printing. 

Hi @anonymous13 ,

 

You can try importing that case in lower environment n then try to replicate the issue by executing that script in background script n identify if it triggers or not by giving the hard-coded sys I'd in place of current.task

 

Thanks,

Danish