The problem
I have a workflow where step #2 sometimes returns errors due to invalid inputs. That leads to failures in the subsequent steps because of absence of a required key (map source, which is `Result 0` in my case).What I expect in a subsequent step
Use `Result 0` from a successful Response of step #2, or a placeholder value ( `-` ) in case that key is missing in step #2.The working Solution using the options offered by Pabbly Connect
- Enabled Ignore Error for the error-prone step (step #2). +
- Added a Default Value action next to the error-prone step (step #3). [ App: Text Formatter, Action: Default Value ]
Problem solved!
The result from Task History
Conclusion
The combination of Ignore Error and Default Value can skip missing keys properly. Only one option alone is not sufficient.Acknowledgment
Neeraj Agarwal helped me to find out the available options.