[jBPM] New message: "Re: can i fork and then join up an end-user specified number of"
by M M
User development,
A new message was posted in the thread "can i fork and then join up an end-user specified number of":
http://community.jboss.org/message/530638#530638
Author : M M
Profile : http://community.jboss.org/people/gubespam
Message:
--------------------------------------------------------------
I have this same problem, and I am implementing a solution in the same way you have described.
I have two special custom activities - one that is able to spawn multiple new processes based on some runtime criteria and another that does the join, waiting until all the spawned (child) processes are finished. I have some special process variables that I keep in the child processes that gives me information about which parent process it belongs to (ie. execution id).
When the child process finishes, I keep track of this and if my parent process is currently in the "join" step, I also signal the parent execution. My signal() method catches these signals and either continues waiting (if more child processes are still running) or take a transition (if all child processes are finished).
Using a scheme like this, you'd only need one swimlane definition in the child process definition, since you would be spawning multiple instances.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530638#530638
16 years, 1 month
[JBoss Tools] New message: "Tutorial for BPEL simple-invoke"
by Peter Johnson
User development,
A new message was posted in the thread "Tutorial for BPEL simple-invoke":
http://community.jboss.org/message/530628#530628
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
I am looking at the BPEL tools and having a difficult time using the GUI editor to recreate the simple-invoke example from RiftSaw. I have successfully followed the video and PDF for creating a simple echo BPEL process. But the neither the docs nor the video cover how to use the GUI to define a wrok flow that invokes an external web service. And needless to say, the steps to incorporate the invoking of an external web service are not obvious.
Is there a tutorial that shows how to create simple-invoke, or something like it, using the GUI editors? I have googled and even on the Eclipse web site the only tutorial I found showed the bpel text being edited durectly (no GUI involvement).
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530628#530628
16 years, 1 month