Communicating between two process (BPM 6.2)

1
+1
-1

Hi,

The ask is I have two process, once Process 1 is finished I need to start Process 2 and pass some data from Process 1. Process 1 & Process 2 are in different diagrams & Pool. Is that possible.What I tried is as below

In Process 1 I have defined a throw message as my last step & in Process 2 I have Start message, but for some reason Process 2 doens't start once I am done with Process 1.

Any ideas?

2 answers

1
0
-1

I get this now, the throw and catch/start message works across Processes if both process are already running. I can't instantiate process 2 in a catch message, it has to be already running for a catch message to work.

So I am looking for more of a synchrnous process like Process1->Process2->Process3... and we also pass along data from preciding steps.

I was alternatively achieve this is using Call activity. I called up Process 2 from Process 1 and also passed along data using message data.

Hope in am heading in right direction.

1
0
-1

I'm not sure If I have correctly understood your problem.

Try to execute the Process1. To do it the actor of Process1 have to log in platform and perform the step. At end of Process1 there is a end message that send a message to Process2.

In Process2 there is a start message that captures the message from Process1. Process2 doesn't automatically start; the actor of Process2 have to log in the platform and here he will find the ste of Process2. If the messagge from Process1 has got data, in the Process2 you find those data.

It's important the consistency ofa data: in example in Process1 you use a variable, Let's it is "string Ida". In Process2 you capture the contents of that data in the variable that you call Idb. You can't define in Process2 Idb as "int Idb". You necessary have to define "string Idb".

To automatically start the Process2 I think it's possible using a connector in Process1 I have read it in other post of forum, but I'm not sure as I can It.

Comments

Submitted by dhananjay.manohar on Fri, 03/14/2014 - 16:16

I get this now, the throw and catch/start message works across Processes if both process are already running. I can't instantiate process 2 in a catch message, it has to be already running for a catch message to work.

So I am looking for more of a synchrnous process like Process1->Process2->Process3... and we also pass along data from preciding steps.

I was alternatively achieve this is using Call activity. I called up Process 2 from Process 1 and also passed along data using message data.

Hope in am heading in right direction.

- See more at: http://community.bonitasoft.com//answers/communicating-between-two-proce...

Notifications