Workflow actions based on a custom code execution (success / error)?
SOLVE
Hello!
Is there a way to build if/then (success/error) logic on a workflow following a custom code execution and its result?
I'd like to send notifications (or trigger other actions) based on if the code was successfully executed or not, but could not figure out a way to do that myself. However it sounds like such a must-have feature, I'm sure someone has solved this already?
The related post suggested by @kvlschaefer is relevant if you want to create custom success/error output messages, but you can also use standard success/error output from custom coded actions.
Either way, you can't used them in a "If/Then branch" action. You need to use "Value equals branch" instead.
Don't forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!
The related post suggested by @kvlschaefer is relevant if you want to create custom success/error output messages, but you can also use standard success/error output from custom coded actions.
Either way, you can't used them in a "If/Then branch" action. You need to use "Value equals branch" instead.
Don't forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!
I wanted to refer you to this related post in our Developer's Forum where @louischausse explains how you can achieve this.
Best,
Kristen
Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success. Don't miss this opportunity to connect and grow—reserve your spot today!