Hello All,
I am desperately looking help, i am trying to write custom holiday approval workflow using SharePoint designer, at first step of workflow employee submits his/her holiday request to relevant manager. First step do following
1. Check manager name (if manager equals this(compare custom SharePoint list fileds))
2. Then for action i used collect data from user Assign task to the selected manager for approval
3. Used set workflow variable to Store manager response in variable called holiday approved (which i used in second step of workflow).
In second step simply i compared variable holiday approved to send email to applicant.
I used exactly same example
http://www.u2u.info/Blogs/Kevin/Lists/Posts/Post.aspx?ID=39
But my scenario is different as compared to this example. In this example all request goes to HR manager but in my case request comes to relevant manager for approval therefore employee first select manger hence in first step i compared holiday request (SharePoint list) filed to check manager name. This way i put all manager names in else if conditional branch.
Problem
Workflow works fine for first manager but when i select any other manger its only reads first part of workflow (which is assign task to that manager, manager received email about that task) but does not read second part of workflow (send email to employee to let his/her know about holiday request)
I spend almost three days but couldn’t solve this problem. Any sort of help will be much appreciated. Many Thanks
imran