I am working with a document approval workflow,when a document is created,it will be submited to serveral departments,these department will always change,how shall I devise this workflow using WWF
I am working with a document approval workflow,when a document is created,it will be submited to serveral departments,these department will always change,how shall I devise this workflow using WWF
This workflow,how can I present it using WWF?
JohnBBBBBBBB
Sounds like a good case to use a replicator.
ReplicatorActivity
SequenceActivity
CallExternalMethodActivity
ListenActivity
EventDrivenActivity
HandleExternalEventActivity
EventDrivenActivity
DelayActivity
If you want to be able to fire an event to add new reviews once the workflow is started you would want to put the replicator into a EventHandlingScopeActivity. A sample on the replicator can be found under Technologies\Activities\Replicator\SimpleReplicator in Samples.zip that can be found under %ProgramFiles%\Microsoft SDKs\Windows Workflow Foundation.
dacoty
Maaloul
fedeburin
Howard Yu
only after all these approvers have done the approve action,the document 's state can be changed to approved,if one of the approvers reject it,the document's state will be changed to rejected.If one of the approvers delay the action,the document's state will be changed to rejected too.
anyone can help me,I have thought for a long time,but have no answer.
Dens
Looks like a "voting" system, I mean, if you have 5 approvers, 4 vote for approval, and 1 for rejection, then the whole state is Reject, right
Mmm...looks a very interesting scenario, maybe you should ask Nathan Talbert : http://blogs.msdn.com/advancedworkflow/
HTH