Although an error is being thrown in the child workflow (intended), the parent workflow logs show otherwise. I need that error to be thrown and stop validation so I can display an error message to the user in an external system.
Asked
Active
Viewed 27 times
1 Answers
0
Errors don't propagate up from iterators. In your example you have regexmatcher which is an iterator (it fires for every match). If you don't need it to fire for every match and just want the first match, use regexmatchone.
If you do need to propagate an error up past an iterator, here's an example of how to do that: http://flowgear.me/s/3Q2N7Wv
Also, although this doesn't directly address your question, http://developers.flowgear.net/kb/Error_Handling is worth looking at.

Daniel
- 506
- 2
- 5
-
I figured out the error throwing the `any error` technique to get past this quirk. – ykadaru Jun 10 '16 at 18:13