Pass multiple parameters in api call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2020 08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2020 10:39 PM
Hello,
Try the below link that might help you.
Multiple System Parameter REST
How to pass multiple parameter
mark helpful or correct based on impact.
Regards,
Priyanka A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2020 11:25 PM
Hey lklk,
Here is a same thread that you Looking for it might help you:
Kindly Mark Correct if this solves your issue and also mark Helpful if you find my response worthy!
Best Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2020 12:44 AM
Hey,
you can pass multiple parameters usin JSON Object. Refer below example here they passed the multiple parameters for eventQueue() method
var jsonObj = {};
jsonObj.name = 'Abel Tuter';
jsonObj.email = 'abel.tuter@example.com';
gs.eventQueue('Event Name', GlideRecord Obj, recipientArray, JSON.stringify(jsonObj));
In the email script use this to parse the json
var jsonObj = JSON.parse(event.parm2);
var email = jsonObj.email;
var name = jsonObj.name;
Kindly mark Correct and Helpful if my response is worthy.
Regards,
Indrajit.