- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 06:42 AM
Hello Guru's:
I've always struggled getting Events to trigger Email Notifications. I'm hoping someone can advise why this isn't sending the email.
Use Case:
I need to send out a Notification to the Requestor when their catalog item is cancelled due to inactivity on the Approval Record.
I have a Scheduled Job that combs the sysapproval_approver record for any "Reuested" state that is older than 4 weeks old. (scheduled Job)
The code for the "Raise Event" is gs.eventQueue('sc_req_item.approval.cancelled', current, par1, par2);
The event raised is populating correctly. I get the User sys_id and Name in correct place.
I'm not able to to get the Notification to sent.
I've tried several ways to get this.
1. Used the event. Nada
2. Set the notification to Insert/Update condition approval state is No Required and Approving state is Closed incomplete.
What might the issue be?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 07:22 AM
Hi,
There is also a No-code way to solve this, by creating a Flow that does all the steps.
Providing a simple example below, you can use either the Send Notification (step 4 in my example), or the Send Email action (step 5 in my example).
Let me know if you want to dive into this, or require more help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 07:22 AM
Hi,
There is also a No-code way to solve this, by creating a Flow that does all the steps.
Providing a simple example below, you can use either the Send Notification (step 4 in my example), or the Send Email action (step 5 in my example).
Let me know if you want to dive into this, or require more help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 10:16 AM - edited 09-27-2023 10:17 AM
I like this idea and still new-ish in creating flows.
Figured out how to get the approvals, Set them to Cancelled, then find the RITM update that accordingly.
Issue:
1. updating the Stage on RITM. It sets the ticket to closed complete, instead of request cancelled.
2. Getting the "Approve #" notification and not my Request has been cancelled.
vs
Here is my flow:
I have no other notification on sysapproval_approver table that is set to Trigger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 11:53 AM
OK. As I'm still a newbee to FLOW, I followed the Second activity. Send Email.
That's working as i wanted it.
Thanks for the help.