I wrote a simple approval workflow in 2013.
I go into the task, approve it and submit. The approval is recorded. However, the Approval status in my documents view still shows as "Pending". The workflow task status still shows as "Not Started" and the task remains. What is going on?
Here's the code:
Stage:Approve New Document
Log Workflow Started to the workflow history list
Start a task process with Current Item:Approvers (Task outcome to Variable: Outcome3 )
Log Workflow Ended to the workflow history list
If Variable: Outcome3 equals Approved
Set Workflow Status to Approved
If Variable: Outcome3 equals Rejected
Set Workflow Status to Rejected
Transition to stage
Go to End of Workflow