[Perl-workflow-devel] Setting values in context from config file.
Brought to you by:
jonasbn
From: phil r. <phi...@un...> - 2008-10-16 13:47:10
|
I just started using perl workflow and so far its great (thanks) but I have a feeling I'm missing something: I want to set a context param value from within workflow.xml; is this possible, or is it a stupid idea for some reason I haven't yet realised? Say I have an action called SendEmail which looks for context->{to} for the 'to' address. Is there some way I can set context->{to} from the workflow.xml or actions.xml config file? If not, I'll have to add an entry to the apps _own_ xml config file, then set it via code, which seems unnecessarily roundabout. TIA, Phil Robinson +++++++++++++++++++++++++++++++++++++ phi...@un... Tel: +44 (0)161 257 3532 +++++++++++++++++++++++++++++++++++++ |