Open freakpol opened 5 years ago
Right now, when executing the flow, we specify the desired results in the third parameter, for example
const response = await FlowManager.run( flowDefinition, parameters, ['myResponse'], resolvers, );
But, when for whatever reason (for example a cyclic flow or and unintended incorrect flow), the flow ends and it does not have a myResponse property.
myResponse
It would be ideal if you can notify of such cases so the rest of the code can react accordingly.
Thanks for the suggestion. Need to think and design a generic and flexible solution for this request. There are several cases to consider.
Right now, when executing the flow, we specify the desired results in the third parameter, for example
But, when for whatever reason (for example a cyclic flow or and unintended incorrect flow), the flow ends and it does not have a
myResponse
property.It would be ideal if you can notify of such cases so the rest of the code can react accordingly.