- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2021 05:31 PM
I am now getting this error when saving a record on my custom table:
Error Message: Access to event 'x_525091_it_sw_enh.ITSWR.AssignedTo.Chg' from scope 'IT SW Enhancement' has been refused. The event is not defined.
I set up a Business Rule:
I registered the Event:
And I created the Notification:
The Email Template already exists and work fine in another situation, so it should not impact this logic.
How do I set everything up so that this works?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 08:49 AM
I tried everything you suggested and some other changes. None of them worked. I have decided to address this another way.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2021 06:02 PM
Hi,
Please try just calling the event using the "Suffix" field value (as seen in the event settings/screenshot). That may be the issue.
Also, for your eventQueue call in the business rule, please just try with 4 parameters, just to see. You currently have 5.
So just:
gs.eventQueue('ITSWR.AssignedTo.Chgd', current, previous.assigned_to, 'Email');
if that doesn't work...then perhaps specify your scope like you did in the event name, but again, just use 4 parameters:
gs.eventQueue('x_525091_it_sw_enh.ITSWR.AssignedTo.Chgd', current, previous.assigned_to, 'Email');
Also, your record should be "current", but you can still utilize "previous.assigned_to".
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2021 07:33 PM
Hi,
I just wanted to check-in on this and see how things are going?
If my reply above helped guide you correctly, please mark as Helpful & Correct.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 08:49 AM
I tried everything you suggested and some other changes. None of them worked. I have decided to address this another way.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 09:57 AM
Alright. Sorry it wasn't helpful.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!