Re: Parallel steps
Thomas NGUYEN <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Organization | Open Wide |
| Message-ID | <1055404371.6011.12.camel@eai> |
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