Reputation: 41
According to attached Scenario we have a workflow:
in this scenario we have some difficulties:
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?)
Upvotes: 0
Views: 127
Reputation: 1845
Take your data design into account and have the data include state like 'ForApproval', 'Rejected', 'Approved(By)' and optional approver. Be transactional on your data and break workflows if transactions fail. E.g. Rejected can't be Approved, and vice versa.
If on one parallel branch you have an approver that rejects, and on another branch another approver approves, let the first transaction win and break the losing workflow.
You can/must decide if approvers can assign work from another approver. Etc.
Upvotes: 0