I have created a sequential approval workflow which fires when an item is created or edited. It is a two level workflow which requires approval of both manager and HR. I have implemented it. But now there is a requirement where the manager can approve the task either by editing the task item and changing the status to approve or by adding his signature in the signature field. So to achieve that I have used onWorkflowChanged functionality but I am unaware of how to use them both in the workflow. So if the manager signs the form,the manager approval task should get completed and should create HR approval task.
Can any one please help me out as to how to achieve this functionality.
Thanks
I would add an else branch that will handle everything if the signature is added directly to the form rather than by completing the task. Have him “sign” the form and change the status to approved. Set your condition to check for the approval status. If it equals approved, write your actions to complete the manager approval task and create the HR approval task.