I have document library with 2013 workflow which starts when document “checks in” then it starts “approve task” for user who has permissions to approve/reject documents. The problem is: this user can approve/reject not only through the “approve task”. He can also approve/reject the task through the item menu. And when he does it, the item gets approved or rejected, but the workflow still waits for “approve task”. I have created another workflow to find out when the item is “approved/rejected” not through the task. This another workflow sends emails to users by mailing which shlould be created when the first workflow ends.
What can I do for task closing when user approves/rejectes file through the context menu?