How to Pass Parameters to the rest service that is called by a sn_ws.RESTMessageV2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How do I configure a parameter to be passed to the subject of a RESTMessageV2 call and how to I get that parameter once in that rest service
Attempted the following calling code:
extendedLogs = 'getExtendedLogs';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @pneuvil1
Did you test the different parameters (in this case, extendLogs) methods individually or all at once?
If they were tested together, the variable value may have been overwritten. Please test each method separately, one at a time.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Thanks for the reply. I conducted multiple testes in a variety of ways. Either it simply can't be done, or I have the syntax incorrect for capturing the value on the called web service.