
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 12:41 PM
Hi,
I want to send an outbound request that is initiated via a script. I have 2 options - Create a Subflow/Action or create a REST Message. I'm hesitant to use the Subflow/Action as the response will not be synchronous and so the output cannot be captured (unless I poll the sys_flow_runtime_value table).
So for outbound calls made through script is REST Message better than using Flow Actions/Subflow?
Feel free to punch holes in my logic...
Solved! Go to Solution.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 01:24 PM
I don't believe it is one or the other. If I am going to make an outbound REST call, I am going to set it up in "sys_rest_message". Then I will call it from where I want, including a subflow. Not sure this answers your question but will try to take another stab at it if you have a bit more detail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 01:24 PM
I don't believe it is one or the other. If I am going to make an outbound REST call, I am going to set it up in "sys_rest_message". Then I will call it from where I want, including a subflow. Not sure this answers your question but will try to take another stab at it if you have a bit more detail.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 07:52 AM
Thanks Nate, I was thinking we could also use the 'REST step' in a Flow Action to perform the same thing.
The downside of using a sys_rest_message configuration is that we cannot tag a Retry Policy to it and have to script the retry logic. Whereas on the 'REST Step' we have that option.