- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 10:25 AM
I have a requirement to use Outbound REST Message. From my Flow I pass the Name of a Reference field to the Inputs of the action. All but one Input Variable passes correctly. The one with the issue is called vendor_agency1
I set the input variable via assignment in the main Flow using data pill. However, no matter how I populate vendor_agency1, it does not pass correctly. via the setStringParameterNoEscape method.
The only version that works is inline like so:
r.setStringParameterNoEscape('vendoragency', 'Microsoft'));
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 11:05 AM
Fixed in the most round about method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 10:39 PM
so your subflow has inputs.
what's the input type for vendor agency? is the input variable name correct
Share screenshots
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
03-10-2025 04:16 AM
Ankur,
Here is the Execution from the flow:
Here is the input at the receiving API:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 11:05 AM
Fixed in the most round about method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 04:41 AM
So I found one error I had a different variable name than what I had in my script. I reset it so that the variables matched up and still the same result.
My script now reads: