Re: [Perl-workflow-devel] Making activity configs local to workflow/state?
Brought to you by:
jonasbn
From: Jim B. <cb...@bu...> - 2007-11-27 12:30:44
|
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 |