Re: [Perl-workflow-devel] Making activity configs local to workflow/state?
Brought to you by:
jonasbn
From: jonasbn <jo...@gm...> - 2007-12-03 21:36:38
|
Hi Jim, This is not a bad suggestion at all. I do not think the implementation of the suggested would spoil anything it is more addition that is it changing. I have not made a thorough analysis though. jonasbn -- AIM: BjonasN Gtalk: jo...@gm... ICQ: 62401545 MSN: jo...@io... On 27/11/2007, at 13.30, Jim Brandt wrote: > > > Alexander Klink wrote: > >> Hmmm, on second thought, this does not really increase the >> readability >> of the config file - anyone with a better idea? > > It does seem odd that you can have multiple workflow.xml files, each > with a type, but the remaining config files are not per type. > > Would it be possible to support a 'global' action.xml, > condition.xml, etc., and also allow users to load a 'typed' > action.xml? From the config side, the typed version would simply add > the <type> tags to the top. > > Evaluation would first look for a typed definition of an action, if > available, then go to the global definition. If not there, error. > > I haven't looked at the guts, so I'm not sure what would be involved > to get this sort of configuration loaded, but this seems useful. > There are cases where you might want global actions, and I agree > that there are many cases where you want type-specific ones. The > same applies to conditions, I think. > > > Jim > > -- > Jim Brandt > Administrative Computing Services > University at Buffalo > |