On 10/13/06, Chris Miner <[EMAIL PROTECTED]> wrote: > > > Hi John, > > Thanks for the answer. I guess I should have been more specific. I want to > loop over them in my workflow and use the log tag to write them out. > Something like: > > <process-definition name="research" revision="1.0"> > <sequence> > <log-workitem /> > </sequence> > > <process-definition name="log-workitem"> > <sequence> > <log message="log-workitem" /> > ????? > </sequence> > </process-definition> > > </process-definition> > > With the log tag I can output a field if I know what attributes are available > in my workitem. But I don't see a way to get the field names from my > workflow. I saw where I can check if a field is defined, but again I have to > know what field I am looking for.
Hi Chris, we could modify the <iterator> expression to do that ( http://www.openwfe.org/manual/ch07s14.html#pat_expression_iterator ) Something like : <iterator on-field="--all--"> ... </iterator> But that might be a be heavy (a block generated for each field). Maybe a <log-fields> expression (or 'magnolia command participant' is what you need). In Magnolia, OpenWFE participants are mapped to commands, it might be easy to write a command that logs all the values (if that's what you need). Feel free to fill a feature request : http://sourceforge.net/tracker/?group_id=54621&atid=474247 Best regards, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFE users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwfe-users -~----------~----~----~----~------~----~------~--~---
