Are you sure `remaining` supports :delete? The documentation only talk about :cancel or :forget.

http://ruote.rubyforge.org/exp/concurrence.html

--
Danny Fullerton
Mantor Organization

If I take a letter, lock it in a safe, hide the safe somewhere in New York, then tell you to read the letter, that’s not security. That’s obscurity. On the other hand, if I take a letter and lock it in a safe, and then give you the safe along with the design specifications and a hundred identical safes with their combinations so that the world’s best safecrackers can study it and you still can’t open the safe, that’s security.

On 18.10.2012 10:18, Emili Parreño wrote:
Hi there!

We're having a problem with 2 concurrent tasks, let me show you the
code:

manager :task => 'setup'

concurrence count: 1, remaining: :delete do
 manager task: 'backward_scheduling'
 wait until: '${f:scheduled_starting_date}'

end

user :task => 'task1'
...

The problem appears when scheduled_starting_date is lower than today,
then moves forward to task1, but the task 'backward_scheduling' is not
deleted and is assigned to the manager and the workflow has 2 current
tasks, which is obviously a wrong behaviour.

any ideas?

thanks

 --
 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
[1]

Links:
------
[1] http://groups.google.com/group/openwferu-users?hl=en

--
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