Re: [Perl-workflow-devel] Auto-write extra data after an action?
Brought to you by:
jonasbn
From: jonasbn <jo...@gm...> - 2007-10-08 20:07:29
|
Well, As I see it it should be up to the programmer to decide how this should be handled. I see a parallel to the auto-commit flag in DBI. I am very open to a flexible way to handle this. The question is where to put the hook so we can control this. jonasbn -- AIM: BjonasN Gtalk: jo...@gm... ICQ: 62401545 MSN: jo...@io... On 08/10/2007, at 21.12, Jim Brandt wrote: > > We're using Workflow::Persister::DBI::ExtraData to fetch extra data > and > load context. > > Is there any reason ExtraData fetches, but doesn't write the context > back to the table at some point? I created a sub to handle this for > me, > but then I need that extra call at the end of each action. > > It seems like a useful bit of functionality, but maybe there's some > reason not to include it? Maybe because there isn't an obvious > point in > the workflow to write back the data? > > I would think after the execute and after all observers run it > should be > safe, since you should be done modifying the context at that point. > > Any thoughts? > > Thanks, > Jim > > -- > Jim Brandt > Administrative Computing Services > University at Buffalo > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Perl-workflow-devel mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-workflow-devel |