i'm looking for a way to link error case to the normal wokflow instead of ending the conversation.
a
acceptable-kangaroo-64719
06/19/2023, 11:11 AM
Yep, you can use the
Error
flow
e
early-train-33247
06/19/2023, 12:35 PM
@acceptable-kangaroo-64719 I think he meant he wants to go back to the workflow where the error was triggered. A Exit node wouldn’t apply right? Since error don’t have transition cards
early-train-33247
06/19/2023, 12:36 PM
You could add a try {} catch () statement to all your custom codes, and then show the caught error. That way you would remain in the workflow in case of an known or unknown error
a
acceptable-kangaroo-64719
06/19/2023, 12:38 PM
There's a risk of going into an infinite loop if you make the error flow just return to the previous node. It would be better to transition instead to a known safe flow, like the main menu.