I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
1. InitialProposal Stage
2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
3. Rejection Stage
4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
5. Execution Stage
6. Completed Stage
Requirement is workflow should move to Approval stage2 from Approval stage1 if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task but I'm not able to retrieve comments from officeTask activity.
My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?