- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 09:33 PM
I am trying the enhance the Story module (rm_story). The requirement is below:
1. When the State of the Story is changed to UAT (value = 7), the opened_by and all the users listed in the Watchlist should be sent an approval email notification.
2. The email notification should also include the 'Acceptance Criteria' field from the Story.
3. If any approver Rejects the State is moved back to "Work in Progress" (value = 2)
4. If anyone Approves the State is moved to Closed Complete (value = 4).
Question: Can I reuse the Approval Inserted notification as it is used by other modules and do not have a section for Acceptance Criteria. What is the best way to achieve this solution, please include screenshots.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 09:56 PM - edited 04-21-2025 10:03 PM
best way is this
1) ensure OOB Approval inserted notification doesn't trigger for rm_story
add this in notification condition
source table != rm_story
2) then create new approval notification which triggers only for your rm_story table and have email script, email body as per your customer requirement
source table == rm_story
Also remember you can handle your own logic what happens when it's approved or rejected
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 08:04 PM
Hi @Arijit Saikia ,
you don't need advanced condition for this and I don't see field name called table_name
I have tried this and it worked for (it did not Approval Request notification)
or try this approach
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 09:54 PM
Hi @Arijit Saikia ,
you can use the existing notification create notification email script and check what is the task type if it is =rm_story add that additional line of acceptance criteria.
But better create a separate notification as you can configure this separately as you might need to enhancements rm_story separately in the future.
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 09:56 PM - edited 04-21-2025 10:03 PM
best way is this
1) ensure OOB Approval inserted notification doesn't trigger for rm_story
add this in notification condition
source table != rm_story
2) then create new approval notification which triggers only for your rm_story table and have email script, email body as per your customer requirement
source table == rm_story
Also remember you can handle your own logic what happens when it's approved or rejected
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 07:12 PM
Thanks Ankur,
I tried to put a condition for the "Approval Request" notification not to trigger with the condition, still I am getting duplicate emails.
I have created a new event that gets fired when approval is generated.
In the logs I am getting 2 emails - one from "Approval Request" notification and one from the newly created notification. Please refer to screenshots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 07:14 PM