Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

The Approval Task outputs to a list item ID. You need to utilize that list item ID to look up to your tasks list for that particular item and evaluate the outcome. If that is approved then email people.

share|improve this answer
    
That seems a little inconvenient but I'll check that out and get back to you. Thanks. –  ThatGuyYouKnow Aug 13 '12 at 17:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.