According to attached Scenario we have a workflow:
- First user start request and get RequestId and assign request to manager inbox.
- Manager see the request and select relevant approvers(1..n) and assign flow to them.
- Foreach approver that see the request, Approver can reject and return request to manager or accept and select relevant employees to do something.(the approval process is parallel).
- Every employee that receives the work may do and finish the the assigned work.
- if all employes finished their assigned works workflow is completed.
in this scenario we have some difficulties:
- Workflow in the same time may be in different states(aprovers state and employees state. Approver(1) may assign flow to its employees but approver(2) may do not anything yet).
- WCF Operation names in parallel foreach make duplicated bookmarks.
i need best solution or simple example that help me to implement this Scenario. (make sub workflow for approver and employees?,how to solve parallelism problems? use of external wcf flows?)
