Sign Up
Hi Community,
I am attempting to use the Bot Exit Reason to make routing decisions when there is a system error. However, there are many different Exit Reasons. I am using a Switch to attempt to pick the string that contains Error. What function can I use to get Error out of the string and evaluate as true? I have tried Contains and FindString but not getting anywhere. Thanks.
#expression
#ArchitectEmailFlow
#Architect
Hey Matt
The Exit Reason values for errors start with "Error." so try following expression
Substring(<insertExitReasonVariable>, 0, 5) == "Error"
Thanks, Zubair. I appreciate your help.
Copyright© 2025 Genesys. All rights reserved. Terms of Use | Privacy Policy