Flow Designer Outputs - Action Status

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 12:08 PM
Historically I have coded my own error handling into a Flow Designer Action but now see there is the Action Status that potentially helps me to automate this process. But I am struggling to see how to use this feature.
In the attached image you see an Action with a step (1) and my original error handling (2). But I've instead put my focus on the Outputs and I want to drag / drop the object from Step 1 to the Action Status. But there is no object I can select that will successfully drop into this area.
The help specifically states that it must be an "object type pill". Step Status from Step 1 is exactly that yet the designer rejects it.
How do you properly leverage this feature? Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 07:22 AM
Hi Darryn,
It's over a year later, but I have the same question! Did you find out how to make use of Action Status?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2023 11:01 AM
I am having the same problem in my Tokyo PDI. Anyone know of a solution? I'll just manually create the status object for now I guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 02:26 PM
Have you tried using the error evaluation section? In each flow action step, the step will complete with a 0 or 1 as a status, and a message. You can define outputs (as you have) if you want to set your own here.
Open the error evaluation section instead and add some error conditions. Use them to check against each step for the output values you're looking for. Then again in that same condition, set the built in action status code and message to whaever you want, such as your data pills from the output you built.
In this way, you will be conditionally setting the overall flow action status to a code, and message, of your choosing based on what failed. If the intention is to instead return a completely custom result object, then you wouldn't use the built in action status object for that. You would simply build that custom object in the flow steps, or at the end if you wish, and define that as a custom output at the end of the flow action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 06:29 AM
Has anyone had any luck with this? Im stumped. I have my flow action working and handling my outputs elsewhere but the system is still throwing an error about the 'message' at runtime.
Flow Action Error: Ignoring message=null because context is already terminal
Here is my configuration. When I try to drag the 'step status' pill onto the action status field, the red error displays. Unable to set the code or message fields, greyed out.
in the action outline, under 'error evaluation', I set a basic condition to see if that would populate, but it doesn't do anything. There's a link to the documentation, but the instructions for setting the action status in the output is vague.