Hello,

I just began to work with cursors, but I found a problem with the
ubication of the cursors when I try to jump from a participant that is
defined within a block of a Workflow Pattern to other block, and I
also need to jump to a participant that is defined within the same
block.

I'll try to explain it better with the next example:

I got something like:

1. pdef = Ruote.process_definition :name => 'test' do

2.               cursor do

3.                  participant :ref=>'AAA'
4.                  _if '${f:flag}' do
5.                         sequence do
6.                              cursor do
7.                                participant :ref=>'BBB'
8.                                participant :ref=>'CCC'
9.                                jump :to => 'AAA'

10.                               _if '${f:flag1}' do
11.                                    sequence do

12.                                         jump :to => 'BBB'

13.                                    end
14.                               end
15.                         end
                          end

16.                 end

17.              end

18.  end

As you can see at line 9, I'm trying to jump to participant 'AAA', but
it doesn't work because of the cursor at line 6, but if I dont define
that cursor (at line 6) in that block, then the jump to the
participant 'BBB' (at line 12) doesn't work.

So, I dont know how to manage the cursors within different blocks. Is
it possible to use a global cursor or something like that for all the
blocks within the process?

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

Reply via email to