Skip to content

Notify when flow does not satisfies the expected result.  #2

@freakpol

Description

@freakpol

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.

It would be ideal if you can notify of such cases so the rest of the code can react accordingly.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions