Using fd_data in REST Step of Flow Action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2023 05:28 AM
I'm trying to dynamically create a Request Body in a REST step in a Flow Action to only include certain information when needed.
The issue I'm running into is I can't seem to access the Input Variables using fd_data.
1. Can you access the Input Variables in a Flow Action using fd_data? How?
I've tried things like:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2023 04:09 AM
Hi David,
Have you been able to discover a solution for this specific use case?
Regards
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2023 05:53 AM
No, I ended up dynamically creating the request body in a Script step, outputting it as a string, and then using that data pill as the request body in the REST Step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2023 01:27 PM
Ensure that you are calling the variable by its name and not it's label.
For example:
In this case, the correct way to access this variable would be:
fd_data.action_inputs.requestid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2024 10:17 AM
Got a similar issue. I have an Action input called "incident", which is a reference to the incident table.
In my code I type in + fd_data. When I press the period, I can choose the type, so I choose action_inputs
press the period again, and I can then see and choose "incident". Press period again and I can see an attribute, so I choose "number"
and end up with a line such as
Try to test and select an existing incident number and I get