I created run dependencies to send email notification once my work flow get completed.
I'm using the HTTP node to make a URL request. After running the node, status of the node shows green mark, but when I see response from the node, the StatusCodeOp is 400 which means the job actually does not run successfully. It seems like the green mark shows the job is completed but it doesn't mean the request is done successfully. Please see attached screen shot.
Because of the green mark of the node, the email has sent even the job is actually not done successfully. In this case, I'm wondering is there any way to avoid sending emails when the job is actually not completed successfully or maybe how to send email depends on the response from the HTTP node.
Please sign in to leave a comment.