- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 02:10 AM
Friends,
I use gs.eventQueue to call my event trigger in UI action which works fine.
When I use the same gs.eventQueue in Widget to call my event trigger I get the below error message,
Kindly help on how to define an event in Widget.
"Access to event '(event name)' from scope 'Service Portal - Standard Ticket' has been refused. The event is not defined."
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 02:16 AM
Thanks for your reply, Resolution is like Pradeep Sharma advised "Can you create an event in the same scope and try once. Leave the table field to blank."
I have created the event in the Same scope of my widget and left the table field to blank,
to my surprise it worked with no issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 02:16 AM
Thanks for your reply, Resolution is like Pradeep Sharma advised "Can you create an event in the same scope and try once. Leave the table field to blank."
I have created the event in the Same scope of my widget and left the table field to blank,
to my surprise it worked with no issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 02:52 AM
@gdm1411 ,
saw your post (https://www.servicenow.com/community/developer-forum/incident-application-and-event/m-p/2093327#M750... @Pradeep Sharma replied saying below as a solution.
Could you please share the solution code with me? I mean how to create an event in the same scope ?
"Can you create an event in the same scope and try once. Leave the table field to blank."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 05:25 AM
Hello @Sadrudeen Ashr1
Please give the Value of the event name in Widget.
This will solve the error.
Thanks and regards
Prashant Ahire
Please give a like if it worked