Issue with Email Notification Script – Inconsistent Variable Passing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 07:58 AM
Hello Everyone,
I have implemented an email integration for a use case as described below:
Use Case:
When a task is created, an email should be sent to a specific recipient (XYZ ID). The email must contain all the variables and values submitted by the user.
To achieve this:
- We configured a notification.
- We wrote an email script to fetch variables from the task.
- This script is then called within the notification.
Issue Faced:
The email is triggering correctly, and in most cases, it passes all the variables as expected. However, occasionally, it only includes 2–3 variables instead of all. This issue occurs inconsistently — for example, out of 10 requests, 9 work perfectly, but 1 fails to include all variables.
Has anyone faced a similar issue or can suggest what might be causing this intermittent behavior?
Below is email script:
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 09:47 AM
Hi @AkashD462166574 ,
when you say "This issue occurs inconsistently" are those similar request?? Same variable type?
To debug : Get the affected request, go to the actual notification, preview and check if its working correctly and see where is breaking!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 10:58 PM
Hello Hemant,
Not for similar Request, I happens for different request. I also observe 1-2 request which are raise for same category and sub category in which all variables are same but for 1 request its working fine and for another request of same type its not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 10:05 AM - edited 08-01-2025 10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 08:31 AM
Hello Hemanth,
Yes I tried preview and I can see all variables.