Workflow::Persister::SPOPS - Persist workflows using SPOPS |
Workflow::Persister::SPOPS - Persist workflows using SPOPS
<persister name="SPOPSPersister" class="Workflow::Persister::SPOPS" workflow_class="My::Persist::Workflow" history_class="My::Persist::History"/>
Use a SPOPS classes to persist your workflow and workflow history information. Configuration is simple: just specify the class names and everything else is done.
We do not perform any class initialization, so somewhere in your server/process startup code you should have something like:
my $config = get_workflow_and_history_config(); SPOPS::Initialize->process({ config => $config });
This will generate the classes named in the persister configuration.
NOTE: The configuration for your workflow history object must use the the SPOPS::Tool::DateConvert manpage to translate the 'history_date' field into a DateTime object. We assume when we fetch the history object that this has already been done.
the Workflow::Persister manpage
SPOPS
the SPOPS::Tool::DateConvert manpage
Copyright (c) 2003-2004 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Chris Winters <chris@cwinters.com>
Workflow::Persister::SPOPS - Persist workflows using SPOPS |