cancel
Showing results for 
Search instead for 
Did you mean: 

BPM handle empty message in send step

Former Member
0 Kudos

Hi, Friends:

I have a following BPM sceario(PI7.1 EHP1)

It mainly has following steps:

Receive -> Transformation (Multi-Mapping) -> Fork (4 branches: one send step each branch)

The multi-mapping result is to generate 4 types of messages based on logic.

Sometimes all 4 types of message generated, and sometimes only one type of message generated.

When there is a message not generated, the send step generate error which is not caught in exception branch.

I searched forum, so far not lucky to find solution.

Any idea how to handle empty message (do not send it) in send step?

Regards

Liang

Edited by: Liang Ji on Dec 7, 2010 8:42 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Is there a specific requirement to use Fork? If not then you can consider the use of Switch Block having one Send Step in each of its condition branch. Now check condition for each branch (message exists or not)....then execute the branch only when the message exists.

Regards,

Abhishek.

Former Member
0 Kudos

Hi, Abhishek:

The reason to use Fork is that all the branches can be reached.

By using switch, it only judge one input value and only one condition turns true.

Actually in most cases, the number of my input value is more than one, saying two or more message types generated.

And this is not multi-line situaion, because the messages generated are different types.

Your reply remind me to add switch inside fork.

Regards

Liang

Edited by: Liang Ji on Dec 8, 2010 5:32 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Scenario changed to others, not applicable anymore