Event is not fired from workflow for only one case in production
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2023 06:03 AM - edited ‎10-30-2023 06:16 AM
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:
Event :
Workflow:
From this script event is called :
Your help will be highly appreciated:)
Thank you so much in advanced! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2023 10:08 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2023 08:41 PM
Hi @anonymous13 ,
Is the info messages printing in logs which are written in the above script?
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2023 10:09 PM
hello @Danish Bhairag2,
Yes info messages are printing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-30-2023 10:18 PM
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