cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Integration Processes (ccBPM)

Former Member
0 Kudos

Please help me to understand Process Container variables and "instance of process". I don't quite have a handle on the concepts. Thanks.

When a message is sent to an Integration Process and it is a reciever/start message, is a new process instance instantiated to process the message?

Say another message is sent to the same Integration Proces, is another instance created (ignoring correlating)?

My last question is whether the Process Container variables are Process Instance specific?

Thank you for any help.

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Chris,

If u have an active process and a new message is correlated to that process there is not a new instance. If no correlation to the active process, u will get a new instance.

Of course one value for a variable is only valid for one instance. It is like in a ABAP program. So if u have more instances u have for every instance seperate variables.

Regards,

Udo

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Chris,

>><i>Please help me to understand Process Container variables and "instance of process"</i>

For an integration process to be able to process data such as messages or counters correctly, you must first define the data as container elements. <b><i>Container elements are similar to variables in a programming language.</i></b>

Container elements hold the message interfaces, as the data flow takes place via messages in and out of Integration server (XI), so effectively they are containers that hold data while a Business Process is executing.

>> <i>When a message is sent to an Integration Process and it is a reciever/start message, is a new process instance instantiated to process the message?</i>

You use a receive step,to receive a message. By receiving a message, you are transferring the data it brings into the process. <b><i>You can use a receive step to start a process or within a process that is already running</i></b>

In case of receive step, a new process instance is not instantiated because every receive has a particular message to look for, so there can be many receive steps in a single excuting Business Process.

Whereas in case of receiver determination step, if you choose <i>parforeach</i>then yes a new process instance is created for each message.

>><i>Say another message is sent to the same Integration Proces, is another instance created

(ignoring correlating)?</i>

No,

Receive steps arranged one after the other,

The first message that arrives is assigned to the first receive step, the second message is assigned to the second receive step, and so on. Therefore, the first message is not assigned to all receive steps that are waiting for a message from this message interface.

If you are using a <i>Fork</i>step, then you can have multiple receive step

>><i>My last question is whether the Process Container variables are Process Instance specific?</i>

No, Container variables are not process instance specific, there may be single line or multiline process containers.

Also, Please go through these links:

BPM- BPM in practice modeling Business Process:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/nw/a-c/bpm251 - bpm in practice modelling business processes.pdf

BPM from modeling to monitoring,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-... from modeling to monitoring.pdf

I hope this helps, you'll give me points )

Thanks & Regards,

Varun Joshi

Former Member
0 Kudos