Re: OSWorkflow : Newbie question
"Pat Lightbody" <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <028901c31a4f$a4a71de0$6a01a8c0@moose> |
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