While I was experimenting with subprocesses, I ran into a problem with
getting information on the state of the subprocess through ruote-rest.
If I submit a (relatively) simple process:

class Test0 < OpenWFE::ProcessDefinition
  sequence do
    subprocess :ref => "http://locahost/test_process2.rb";
    participant :ref => "alpha"
  end
end

where http://localhost/test_process2.rb is:

class Test1 < OpenWFE::ProcessDefinition
  sequence do
    participant :ref => "bravo"
  end
end

and alpha and bravo are active participants, the process submits fine
(for this example, we'll call the resulting process 20090710-
kikenapaju).

Checking GET /processes/20090710-kikenapaju, I get information on
Test0, but there doesn't seem to be a way to see what's going on
inside Test1.  If I check GET /workitems, I can see there is a
workitem named 20090710-kikenapaju.0/0_0_0 (which I assume is the one
inside Test1 for this process), but when I try GET /workitems/20090710-
kikenapaju.0/0_0_0, I receive the following message:

File not found: /workitems/20090710-kikenapaju.0/0_0_0

Because the participant in Test1 is an active participant, if I can't
GET/PUT to it, the process just waits indefinitely.  Is there a way to
do the GET/PUT I need, or can subprocesses not have active
participants in them?

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