hello folks,

i experimented a little with ruote and found the following miss-
understanding:
When i ask for a budget value within one "cursor" into one
"concurrence", so i can't access to this variable within an other
curson in the same concurrence.

My Structure is the following:

 sequence do
        concurrence do

            cursor do # c1
                participant 'askForBudget'
                echo 'budget: ${f:budget}'
                participant 'sayMyBudget'
            end

            cursor do # c2
                participant 'sayMyBudget'
                rewind :unless => '3 < 1'
            end

        end

    end
end


engine.register_participant :sayMyBudget do |workitem|
         puts "globale Budget-Variable: #{workitem.fields['budget']}"
end


"sayMyBudget" only works into curso #c1. why?

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