I have recently taken over a Sharepoint system in the last 3 months. Honestly I have never worked on Sharepoint before and most of my knowledge is via google and reading lots and lots of articles/blogs.
Recently I was looking into a workflow deployed in the system. This workflow was developed on Sharepoing Designer and deployed to a Sharepoing library that hs an infopath form as a template. As this workflow is custom and because the guy who worked on this has left the company I have no idea if my assumptions are correct or not.
My question is: Are workflows created in sharepoint designer sequential? Reason: The workflow that is currently developed does not seem to follow the sequential pattern. Let me give an example of what the workflow is doing
Step1: Entry User if status = new form submit then email entry user email authorizer set status to waiting_authorizer else if status = resubmit form then email authorizer set status to waiting_reauth endif end step1 Step2: Authorier if approve and status waiting_reauth then email scrutinyDesk set status to waiting_rescrutiny else if approve then email scrutinyDesk set status to waiting_scrutiny else if reject then email entry user set status to rejectAuth end if end step2 Step3: ScrutinyDesk if waiting_scrutiny or waiting_rescrutiny and "something_is_wrong_with_data" then email entry user, CC: authorizer set status to resend_entry_user else close workflow end if end step3
- A new form is submitted by user
- The workflow is initiated
- Step1 passes and goes on to step2
- Authoriser approves form
- ScrutinyDesk marks "something_is_wrong_with_data" on form
- Workflow sets status to resend
- Entry user makes changes on form and resubmits
At this point will the workflow go back to step1?