I have a custom workflow (created through SharePoint Designer) that starts with an approval task and then sends emails to different people if the submission is approved.
I have an if clause in the workflow that goes like
If Current Item:Approval Status equals 0;#Approved
Email <users>
The problem I have is that it seems to ignore the if statement (at least when the item is rejected) and emails anyway. I tested this with one submission where I got the approval task and hit the Reject button, but I still got an email that should have only been sent if approved.
Clearly I'm doing something wrong. Does the Approval Status not tie to what I think it does?