Re: OSWorkflow : Newbie question

"Pat Lightbody" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <045101c31f34$f5a9eb20$63343680@moose>
Does Memory support queries? If that doesn't work, you'll need to use a
custom solution, such as accessing the memory data directly and searching by
hand.

-Pat

----- Original Message -----
From: "RAOUL Yann" <[email protected]>
To: "'Pat Lightbody'" <[email protected]>;
<[email protected]>
Sent: Monday, May 19, 2003 4:26 AM
Subject: RE: [Opensymphony-developers] OSWorkflow : Newbie question


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
>




-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.