Hi
I have an error with this process and I don't understand why :
Ruote.process_definition "dcm" do
sequence do
anyone :task => "Define the case"
concurrence :count => 1 do
concurrence :tag => 'main' do
repeat :tag => 'undo' do
anyone :task => "add one task"
add_branches "one more task", :ref => "split_case"
end
sequence do
concurrent_iterator :over_if => '${f:case_completed} ==
true', :on => "first task", :tag => "split_case" do
anyone :task => "${v:i}"
end
undo :ref => 'undo'
end
end
sequence do
anyone :task => "close the case"
end
end
end
end
The error occurs when I proceed the task "close the case".
Error message :
#<NoMethodError: undefined method `locate_var' for nil:NilClass>
Trace :
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.4/lib/
active_support/whiny_nil.rb:48:in `method_missing'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
exp/ro_variables.rb:195:in `locate_var'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
exp/ro_variables.rb:195:in `locate_var'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
exp/ro_variables.rb:111:in `unset_variable'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
exp/flowexpression.rb:231:in `reply_to_parent'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
exp/flowexpression.rb:304:in `do_reply'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
exp/flowexpression.rb:199:in `do_action'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
worker.rb:225:in `process'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
worker.rb:166:in `step'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
worker.rb:73:in `run'
/Users/rousseau/.rvm/gems/ruby-1.9.2-p0/gems/ruote-2.1.11/lib/ruote/
worker.rb:85:in `block in run_in_thread'
It seems that unset_variable method want to unset the tag "split case"
but in ro_variables.rb:195:in `locate_var' h.parent_id exists but
parent doesn't
Thank you if you can help me and thank you for ruote even if you can't
Best regards
Guilhem
--
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