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
Hello Keith,
Thank you for replying. The problem is the manager needs to get a mail saying that a form has been submitted. This can be achieved by using send mail activity. The workflow starts when the employee submits the application and this workflow triggers when either the item gets created or edited. I can implement what you suggested but the problem would be if the manager rejects the application, he needs to update it by himself and has to write few comments stating the reason for rejecting this application. Since the workflow gets triggered on item editing, this workflow again starts from the beginning leading to a continuous infinite loop. To avoid this, I have created the task.Â
Thanks,
Adwaith