Creation of the notification from the variables of the maintain item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Dear community,
I have created a Maintain Items with the variables
start date and end date of maintenance. These are entered by the users.
The goal is that when a service request is created, an email notification should be sent to a specific group after the service request has been created with the values from the variables (start date and end date of maintenance).
An outage is automatically created with the help of a flow.
I created a notification (sysevent_email_action) for this notification.
No values are pulled from the variables (start date and end date of maintenance).
How can I incorporate the values from the variables into the notification?
Thanks for the support!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hello @Lili12 ,
This happens because catalog variables are not directly available to standard email notifications (sysevent_email_action) unless you explicitly reference them.
Since the request is created from a Catalog Item:
Use Catalog Variables in Notification (Recommended)
If the notification is triggered on RITM (sc_req_item), use this in the email body:
Start Date: ${variables.start_date}
End Date: ${variables.end_date}
Alternatively you can Use Flow Designer (Best Practice)
Since you already use a Flow:
Trigger flow on RITM created
- GET Flow variables
Use Send Email action in Flow
Map variables directly:
Start date =>Start Date
End date =>End Date
If this helps you then mark it as helpful and accept as solution.
Regards,
Aditya,
Technical Consultant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @Lili12 ,
If my response helps you then mark it as shelpful and accept as solution.
Regards,
Aditya,
Technical Consultant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
if you are using flow on your catalog item then you can use "Send Email" flow action to send email and include the variable information.
Also in your current notification table should be sc_req_item
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
