Re: [Perl-workflow-devel] Fwd: Workflow patch
Brought to you by:
jonasbn
|
From: Stockdale, R. <rf...@bu...> - 2008-12-15 16:00:33
|
Hello,
I have checked in my changes and some new tests for:
http://rt.cpan.org/Public/Bug/Display.html?id=38024
--
Bob Stockdale
Administrative Computing Services
University at Buffalo
(716) 645-5334
rf...@bu...
> From: Jonas Brømsø Nielsen <jo...@gm...>
> Date: Tue, 9 Dec 2008 05:06:12 -0500
> To: Workflow development list <per...@li...>
> Subject: [Perl-workflow-devel] Fwd: Workflow patch
>
> Hello All,
>
> Robert have now been added to our little group of developer - YAY!.
>
> Which mean that his patch will be added to the branch dedicated for
> this. A development release will be made as soon as he gives me a
> heads up.
>
> We have received some additional patches from Ivan Paponov (see
> below), who has also joined this list.
>
> If anybody has the time to evaluate the patches, please feel free. We
> can discuss them openly here and I am sure Ivan will be happy to
> answer any questions. If a preliminary review of the patches goes
> through, I will create a branch for inclusion and test of the patches.
>
> My $work TODO list is getting shorter, so I think I will be able to
> dedicate a lot of time over Christmas for Workflow.
>
>
> jonasbn
>
> Begin forwarded message:
>
>> From: Ivan Paponov <iva...@gm...>
>> Date: 8. dec 2008 21.59.04 GMT+01:00
>> To: jo...@cp...
>> Subject: Workflow patch
>> Reply-To: Ivan Paponov <iva...@gm...>
>>
>> Hi Jonas,
>>
>> My name is Ivan. I'm developing request management system, and the
>> base of it is Workflow framework. This module is really flexible and
>> powerful, it's really a pleasure to work with it.
>>
>> But I found one detail that I'm missing in Workflow.
>> Here is the situation.
>> We created request, and placed it into Submitted state.
>> In submitted state we have following actions: terminate, place on hold
>> and approve.
>>
>> <action name="terminate" class="MyApp::Action::Terminate" />
>> <action name="place on hold" class="MyApp::Action::OnHold" />
>> <action name="approve request" class="MyApp::Action::Approve" />
>>
>> First two should be available on page as simple links, and third is
>> approval form, with comment box and approve button. And it's clear
>> that
>> first two action links have to be placed at the one part of page (in
>> header near request title), and approval form at the other.
>> Also I want to use $wf->get_current_actions(); function, but how
>> should I distinguish where I should place current action, so I decided
>> to add additional property to the action tag. It's - block.
>>
>> <action name="terminate" block="state change" class="..." />
>> <action name="place on hold" block="state change" class="..." />
>> <action name="approve request" block="approval" class="..." />
>>
>> And modified get_current_actions(), so now I can call
>> my @actions = $wf->get_current_actions("approval");
>> or
>> my @actions = $wf->get_current_actions("state change");
>> And I get only actions that are members of specified block.
>>
>> Patches are in the attachments, in case if you'll find this idea
>> interesting.
>>
>> Thank you.
>>
>> --
>> Best regards,
>> Ivan Paponov
>> iva...@gm...
|