- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 01:53 AM
Hi All,
We have an inbound action that create incident and when there are keywords on email, a sperate script include is there to call the keywords from inbound.
And when there is non relevant keywords, from script include i have restricted creating incident through setAbort(true) action. in this case I want to trigger notification to caller saying due to invalid keywords incident didnt created.
I have written an even and notification tested this on incident table as well as on sys_email table but event is not firing.
Condition in script include:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 03:46 AM
I believe the event is not even being fired from script include
Please check if event is getting triggered by navigating to System Log > Events and searching by event name. Also check if Parm1 and Parm2 contain valid values if you find the event record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 04:03 AM
Why is that ?
You need to create the notification on incident table
Please share the images of event and notification after making changes to them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 04:05 AM
But incident creation is restricted right through inbound that means no incident record is created .... Target will be empty on sys_email record.
Thats why I took sys_email as the table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 04:18 AM
@Manmohan K it worked after changing table to incident and in event trigger condition changed to gs.eventQueue('event.name',null,gs.getUserID());