RE: OSWorkflow : Newbie question
RAOUL Yann <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Pat, Thanks for the answer. What is the right way in the API to get all workflows (without having idea of its id) for a certain status ? The query option is not a solution since there is currently no persistence storage (only memory). Thanks. Yann > -----Message d'origine----- > De: Pat Lightbody [mailto:[email protected]] > Date: mercredi 14 mai 2003 21:33 > À: [email protected] > Objet: Re: [Opensymphony-developers] OSWorkflow : Newbie question > > > This currently isn't possibly in OSWorkflow natively. There > are two ways to > do it: > > 1) Get all workflows for a certain status and then loop over > them and see if > getAvailableActions returns a non-empty array > > 2) Make your conditions that guard the actions be based upon > a queryable > database schema, allowing you to issue a single query to get this > information. > > Both have their pros and cons. > > -Pat > > ----- Original Message ----- > From: "RAOUL Yann" <[email protected]> > To: <[email protected]> > Sent: Wednesday, May 14, 2003 2:50 AM > Subject: [Opensymphony-developers] OSWorkflow : Newbie question > > > > On the homepage, I need to display all the actions the > current user can > > perform on any workflow on any document (i try to integrate > OSWF on a > > Content Management module). > > > > How to get all the workflow entries which can currently > support actions > > from a specified user (or group) ? > > > > Thanks for your help. > > > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers >