Is there a way to force a custom code event in a workflow to not show SUCCESS? I throw an error in the code and still see SUCCESS afterwards.
Hi, @AAdamonis
Thanks for reaching out! Hey, @miljkovicmisa @louischausse @ChristinaKay, do you have any experience here?
Best,
Jaycee
Hi @AAdamonis
This status is the success of running the custom code action itself. If you want to handle errors you can manage them in the code and send it to your workflow using the callback function.
Don’t forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!
Are you saying use the callback to mark the error in some other property or can the status be manipulated there?
in some other property called data outputs: Workflows | Custom Code Actions - HubSpot docs.