Having trouble with an error handling flow:
Goal:
Have a PAD flow generate a variable on error and pass it to a cloud flow. That variable in the cloud flow is then passed to an expression that outputs to a simplified message in a Slack channel.
The setup:
1. I have 3 subflows within a main flow that run to turn down accounts - these all work well.
2. I have nested each subflow's actions within an On Block Error that is set to "Throw Error"
3. I have an Output Variable of BlockError created. Name is BlockError, type is text, External value is BlockError.
4. I have a Set Variable action as the last step within the On Block Error nesting. This is set to apply a text value of Service1 to the variable BlockError. Service2 and Service3 are set in the other subflows, respectively.
The problem:
Everything works EXCEPT there doesn't seem to be a variable coming from the PAD flow. The error hits, sends info to the cloud and sends the message to slack. However when I look at the cloud run history, it shows nothing but a blank value coming from PAD like no variable was produced or at the very least a blank string.
What I have tried:
1. Having Set Variable inside the On Error Block
2. Having Set Variable outside the On Error Block
3. Having Set Variable outside the On Error Block + telling the error block to go to a label I set to run the Set variable action
4. Having Set Variable inside the On Error Block + telling the error block to go to a label I set to run the Set variable action
5. Changing variable and value names
6. Rebuilding the flow
Am I doing something wrong? This is the first time I'm using On Block Error and to my understanding the set variable runs automatically as long as it's at the end of the actions, but before the end of the On Block Error. Something tells me this is not the case and that nothing but blank info is passing to my cloud flow because the variable isn't being triggered at all.
PC: Win Server 2019
PAD ver: 2.36.228.23271

Report
All responses (
Answers (