Re: OSWF Parallel steps
Aníbal Rojas <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Organization | VALHALLA project, s.a. |
| Message-ID | <[email protected]> |
That's it, thanks a lot for your explanation, it is a very interesting approach. Regards, - Aníbal ----- Original Message ----- From: "Thomas NGUYEN" <[email protected]> To: <[email protected]> Sent: Thursday, June 12, 2003 12:05 PM Subject: Re: [Opensymphony-developers] OSWF Parallel steps Anibal, I'm not sure i understand your question, but I will give you the workflow I would use for james case. "General" workflow: Step 0. Initialize Workflow Action 0. Initialize -> Go to Step 1 / docNumber = 0; Step 1. Initialize review board Action 1. Add reviewers list -> goto Step 2 / instanciate one sub-workflow per reviewer, store the wfids in a variable. Step 2. Reviewing Document Action 3. Review Document [if all sub-wf in step2] -> goto Step3 [else] -> goto Step2 Step 3. Review Finished "sub workflow": Step 0. Initialize Workflow Action 0. Initialize -> Go to Step 1 / store parent wfid Step 1. Waiting for vote Action 1. Accept Document -> Go to Step 2 / doAction 3 on wfid Action 2. Reject Document -> Go to Step 2 / doAction 3 on wfid Step 2. sub-review finished Is it the answer you expected? Le jeu 12/06/2003 à 16:11, Aníbal Rojas a écrit : > Thomas, > > Could you extend what you did with the "sub-workflows", this point is > very interesting to me now because I need to make workflows interact... > > Thanks in advance, > > - Aníbal > > ----- Original Message ----- > From: "Thomas NGUYEN" <[email protected]> > To: <[email protected]> > Sent: Thursday, June 12, 2003 3:52 AM > Subject: Re: [Opensymphony-developers] Parallel steps > > > We have come across this kind of problem some time ago. We have solved > it by defining two worflows. The first is the "general" workflow, the > second one is a sub-workflow. > You could instanciate as many sub-workflow as your number of reviewers > and make the general workflow go on when all sub-workflows are finished. > This seems to be a good solution if each "review" sub-process is a bit > complex. > > In your case, you could simply store a list of the reviewers and their > decision (evaluation? vote?) in the "variables" map, and use a loop on > step 2 that exit only when every reviewer has voted. > > > > > > Le jeu 12/06/2003 à 01:59, Pat Lightbody a écrit : > > Sounds like you're asking for a way to do splits in to a number of steps, > > where that number is determined at runtime. Currently OSWF doesn't support > > this, but only because the syntax is unknown. Any suggestions would be > much > > appreciated. > > > > -Pat > > > > > We have downlowed OSWorkflow 2.1.0, and have a question about how to run > a > > > particilar workflow. > > > > > > Workflow actors: chairman, reviewer > > > > > > Workflow process: > > > 1. Initialize review board (done by chairman) > > > - task is to create reviewer list, one entry per reviewer > > > 2. Review document (done by reviewer) > > > - This is a split workflow, one entry per reviewer in reviewer list > > > - Each reviewer has a due date associated with their task > > > - Each individual reviewer either rejects or accepts the document > > > - The chairman can 'proxy-vote' for individual reviewers > > > 3. Finish review (done by chairman) > > > - This is a join step, completed when all reviews are complete > > > > > > I see within OSWorkflow 2.1.0 that a split will work for > distinctly-named > > > steps. > > > > > > Some function-related questions... > > > How can I do a split a using the same step, with a separate step > instance > > > per member of an input list? > > > Do I have to extend AbstractWorkflow? Has someone done this already? > > > How would I set a due date for a step/owner combination? > > > > > > Some API-related questions... > > > Is there an easy way to find the steps associated with a particular > owner? > > > Is there an easy way to find the available actions associated with a > > > particular step and owner combination? > > > Could we add an sub-interface to Workflow that returns objects instead > of > > > primitive ids? > > > > > > > > > > > > > > > "NOTICE - This e-mail message may contain privileged, confidential, or > > > proprietary information intended only for the use of the intended > > > recipient. If you are not the intended recipient of this e-mail, you > are > > > hereby notified that any use, dissemination, distribution or > reproduction > > > of this e-mail is prohibited. If you have received this e-mail in > error, > > > please notify Bombardier Aerospace immediately and delete this e-mail > and > > > all attachments from your computer system. Any views expressed in this > > > e-mail are those of the individual sender and may not necessarily > reflect > > > the views of Bombardier Aerospace." > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: eBay > > > Great deals on office technology -- on eBay now! Click here: > > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > > _______________________________________________ > > > Opensymphony-developers mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: eBay > > Great deals on office technology -- on eBay now! Click here: > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > Opensymphony-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > -- > Thomas NGUYEN <[email protected]> > Open Wide > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers -- Thomas NGUYEN <[email protected]> Open Wide ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Opensymphony-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensymphony-developers ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5