- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2020 09:51 AM
Hello experts,
Please I need your help, I need to create a notification to be sent to affected users from incident records related to a Problem record once it is closed.
What I have seen in other questions related is the following:
1. Create an event
2.Create a notification
3.Create a BR
I took the information from:
https://community.servicenow.com/community?id=community_question&sys_id=ffb1104adb44fb00e0e80b55ca9619fd
But it is not working on my end, could you guide me on what I am doing wrong? or any other way of doing it?
Thank you
Solved! Go to Solution.
- Labels:
-
Problem Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2020 10:52 AM
I corrected it, just eliminated the line 7 and worked,
Thank you all!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2020 10:09 AM
Looking quickly at this, I think you're problem might be on line 18 of the business rule. In the second parameter of the event call you are passing in the current GlideRecord, but this will be a Problem record, whereas your event is configured to accept an Incident record. Therefore, you would most likely be triggering the event against each of the child Incidents, so that statement would need to go inside the while loop, and then change that 2nd parameter to incidentGr. In that case, one email would be sent out to the affected user of each Incident, so five child Incidents would fire five individual emails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2020 10:52 AM
I corrected it, just eliminated the line 7 and worked,
Thank you all!