Hello All,
I have a requirement to assign a custom workflow instance (Pending vendor invoice) to a second approver through code, when first approver /Completes/ the workflow.
Condition: Signing Limit for users has been set. If first approver does not meet the signing limit criteria, it should be assigned to First Approvers manager(Second approver). Signing limit condition check has been handled in my custom code already, only thing is how to assign the second and further approvers in workflow.
In Standard:
I can see in WorkflowWorkItemTable a new record being created for second approver after first approver completes the workflow. But after debugging I could not figure out how/when it is being created.
Question:
How I can assign workflow to second or further approver in the same workflow instance via code.
Regards,
Monika