How to pass 3 parameter from event queue and use it in notification.
This content was last updated in 2023. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 03:51 AM
Hi All,
I want to pass 3 parameters to in event queue,
gs.eventQueue("event name", current, current.assignment_group ,(value1,value2 ));
I want to use value 1 and value 2 in notification;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 04:10 AM
Hi Priya,
You can use the following approach:
var jsonObj = {};
jsonObj.name = 'Abel Tuter';
jsonObj.email = 'abel.tuter@example.com';
gs.eventQueue('Event Name', GlideRecord Obj, parm1, JSON.stringify(jsonObj));
Regards,
Munender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 04:14 AM
I would suggest approach suggested by @Ahmmed Ali which uses JSON object.