Where we can use the event parameter (which places we can call parametters)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2025 02:16 AM
Hi Team,
gs.eventQueue("Event Name",current,parm1,parm2);
In the above script, we will utilize server-side scripts (e.g., Business Rules, Script Includes, UI Actions, etc.). By leveraging these server-side scripts, we can pass parameters like parm1 and parm2. After passing these parameters, we can utilize parm1 and parm2 in notifications. Similarly, we can also use parm1 and parm2 in other contexts where they may be beneficial.
Advance thanks team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2025 02:37 AM
Hi @Venky Kshatriy2,
As per docs, Event Parameter is stated as: Event-specific parameter the system uses to pass record information to other parts of the system, such as a record Sys ID or a field value.
So you can use it to pass relevant information when needed as per the definition.
Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2025 02:54 AM
you can use those parameters when you use Script action as well which run asynchronously.
in script action you can access them like this event.parm1 and event.parm2
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2025 08:06 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader