Duzenbury, Rich wrote:
> Hi all,
> 
>  
> 
> I've downloaded swamp, and have it running on a SUSE 9.3 box.  It looks
> like it can do most everything we want, but I'm a bit curious about how
> to extend it.  
> 
>  
> 
> In our case, we will want to populate some dropdown list boxes from our
> database, such that when a workflow begins, the initiator can select
> some choices from the dropdown.  
> 

Hi, if I understand you correctly you want to add an enumeration Databit to
the workflow with values from an external database which is then used in
a dataedit-action so that the user chooses one option.
For such special tasks you could use a "custom-action" which is an
action that just
specifies a class name in the workflow definition that gets executet at
that point.
In that class you could do the database connection and adding the new
databit.
The example workflow contains an example for such an action.
See also
http://swamp.sourceforge.net/index.php?seite=doc2html&docpage=html-adminguide/x96.html#AEN206

> I see there is a script action for a velocity script, but I am unclear
> as to how powerful the velocity scripts are.

The velocity script actions can only interact with the workflow itself
and cannot
connect to external systems.

Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Don't Panic", Douglas Adams (1952 - 11.05.2001)


_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 

Reply via email to