I'm currently working on a Purchase Order workflow in Sharepoint, and have set this up to, on item creation, automatically run the workflow. I'm creating the workflow in SPD, and this is the key part of it:
Set content approval status to Pending with Awaiting approval from [%Parameter:MainApprover%] then Assign Approve New PO (Tier 1) to Parameter: MainApprover then Wait for Approval Status to equal 0;#Approved then Update item in current item
As you can see, it sets the approval status to pending, then creates a task for the designated approver to approve it. I'm expecting the approver to then use the built in 'Approve/Reject' menu button to give their word. When they do this, it does indeed update the status to approved, but the 'Wait for...' bit onwards never activates.
I checked up on the task that's assigned to them and it's status is 'Not Started' - if the approver does then go into the task they can click 'completed' and suddenly all works perfectly.
My question therefore is: how do I automate the completion of the task when the approver changes the 'Approval Status' field?
Help much appreciated.