On Sun, Jun 03, 2012 at 10:42:44PM -0400, Danny Fullerton wrote:
>
> In the following process I'm trying to create a concurrence where both
> participant can modify the workitem but only administrator participant
> can complete the segment (concurrence). I believe the :wait_for
> attribute should do the trick but for some reason I can't get it working
> properly. I have to close the evaluator participant in order to get out
> of the concurrence. What I'm I doing wrong?
>
> ---8<---
> RuoteKit.engine.variables['issue_management'] = Ruote.process_definition do
>   concurrence :wait_for => 'first' do
>     sequence :tag => 'first' do
>       administrator :timers '1m: reminder_soon, 2m: reminder_final, 3m:
> reminder_late'
>     end
>     sequence :tag => 'second' do
>       evaluator
>     end
>   end
>   third_participant
> end
> --->8---
>
> To get around the issue I'm using :count => 1 and do not permit
> evaluator to reply which is obviously not optimal.

Hello Danny,

I've added this test case to the ruote suite:

  
https://github.com/jmettraux/ruote/commit/05dd683cd901457e895c810a1d9404f711dc5632

But it works fine for me. It's on the ruote master. I've tried with
1.8.7-p249, 1.9.2-p290 and 1.9.3-p125 on SnowLeopard. I have tried with a
NoOpParticipant and a NullParticipant for the evaluator.

Do you have more details? What do you mean by "not working properly"?


Best regards,

--
John Mettraux - http://lambda.io/jmettraux

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to