Hello, No that wouldn't work as the timer would not be dynamic. I'll rephrase.
When the process is started with a priority level of 'low' the
administrator is only notified 1 day before a 3 weeks limit.
Now, during that time, the evaluator participant can always modify the
priority e.g. 'low->high'. This implies the administrator has now less
time to do the work (e.g. 2 day limit and notified several time within
this period).
---8<---
concurrence :wait_for => 'first' do
sequence :tag => 'first' do
administrator :timers '$timer'
end
evaluator # modify $timer only if the evaluator change the priority level
end
third_participant
--->8---
I tried building a process which was launching static high/medium/low
priority subprocesses and also tried Rufus::decision participant but failed.
Now I'm really not sure I'll be able to translate this in the process
definition itself. I believe I'll have to externalize the notification
system from Ruote process definition but I'm still asking, just in case.
regards,
--
Danny Fullerton
Founder
Mantor Organization
On 12-06-04 02:34 AM, John Mettraux wrote:
> On Sun, Jun 03, 2012 at 10:42:44PM -0400, Danny Fullerton wrote:
>> (...)
>>
>> Secondly, I would like to know if there's a way the evaluator could
>> modify the :timers attribute of administrator dynamically? You see, the
>> job of the evaluator is to ensure the workitem severity is right and
>> modify it if needed. However, the time accorded to fix the issue depend
>> on the severity, hence the desire to modify it dynamically. If the issue
>> was considered low at first but is then evaluated to high by the
>> evaluator, the administrator will have less time to fix the issue.
> Hello Danny,
>
> how about something like
>
> ---8<---
> concurrence :wait_for => 'first' do
> administrator :tag => 'first' do
> sequence do
> evaluator
> wait '${etimeout}'
> cancel 'first', :if => '${etimeout}'
> end
> end
> --->8---
>
> ?
>
>
> Best regards,
>
> --
> John Mettraux - http://lambda.io/jmettraux
>
signature.asc
Description: OpenPGP digital signature
