Re: [Perl-workflow-devel] Workflow Context Persistence ?
Brought to you by:
jonasbn
From: Martin B. <vc...@cy...> - 2007-01-03 08:47:06
|
Hi, > I played around with the Workflow module and the Ticket example some > more and found that the context is not persistent. It is also not > possible to create a custom context object, because the factory > directly > calls Workflow::Context->new(). So I can't create my own persistent > context object (or can I ???). you can do this, but you will have to write your own persister. For a real-life example have a look at the database persister we wrote for the OpenXPKI project: http://openxpki.svn.sourceforge.net/viewvc/openxpki/trunk/perl- modules/core/trunk/OpenXPKI/Server/Workflow/Persister/DBI.pm?view=markup Cheers Martin |