How to get response code and response message from action into subflow that called the action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2025 07:14 AM
I have a subflow that calls an action by sending 4 params. The action has REST step to make an API post call to a 3rd party platform and get a response - errorCode and message.
I wan to get this errorCode and message into my subflow so that the if else loop can close existing task record in errorCode is success or create an incident if errorCode is failure.
I have the action output variable defined from the script but unable to get the value in my if loop in subflow. What is missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 10:08 AM
What does your action look like? If you’re using a REST step, there’s no need to script anything. You can pass any of the output pills that are already defined in the rest step to your output.