- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 03:53 AM
Hi,
I have a schedule job that suppose to send an email using event registry when some condition is met. The problem is that the email is being send but Im not getting the Incident Number in the subject. What am I doing wrong?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 04:01 AM
Hi.,
On your line no 11 add 2nd parameter as gr, you have added current.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 04:53 AM - edited 12-20-2023 10:59 PM
Hi @Alon Grod ,
Could you please add gr.number in your code as below then it will work .
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 05:12 AM
@Anil Lande has pointed the mistake and has shared the correct answer.
Please do the necessary changes and share the update. If it works please mark his response as correct.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader