Hello John,

i found a problem with the naming of subWorkflows like the following:

my process-definition:
-------------
  cursor do

    concurrence do
      sub1 :description => 'Welche Situation liegt vor?'
      ...
    end

    sub4 :description => 'ein weiterer task...'
    sub5 :description => 'und noch einer...'

  end
...

  process_definition 'sub1' do
    cursor do
      user_1 :task => 'suche geeignete Erfahrungsberichte'
      #user_1 :task => 'bookmarke Erfahrungsberichte'
      #user_1 :task => 'suche passende textstellen'
    end
  end
...
  process_definition 'sub4' do
    cursor do
      user_1 :task => 'sub4 1'
      #user_1 :task => 'sub4 2'
      #user_1 :task => 'sub4 3'
    end
  end
-------------

if the concurrence-block has finished, i would like to execute sub4,
then sub5 as defined for the cursor.
Since i show a graph tree, where i can chose between all possible
(within one concurrence-block) subWorkflow, i have to show all
workitems for each subWorkflow (like in my last post requested).
I found that within the workitems-hash, is a field called "wf_name"
which points to the  workflow-ref, where the workitem is contained in
(like "sub1").
In my example, it works only for the 1st concurrence block (sub1 to
sub3). If i leave the concurrence block i expect to get possible
workitems only for sub4.
Yes, the net workitem is from within the current sub-process (sub4),
but the wf_name - variable points to an old one (sub1):

workitems:
[#<Ruote::Workitem:0x6149040
  @h=
   {"fields"=>
     {"modelName"=>"b1",
      "params"=>{"task"=>"sub4 1", "ref"=>"user_1"},
      "dispatched_at"=>"2012-06-17 20:51:11.964155 UTC"},
    "wf_name"=>"sub1",

Is it possible for you to fix it please?

Greetings,
Klaus




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