cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if message is empty in Integration Process

Former Member
0 Kudos

Hi!

I have Integration Process with container object OUT_CR This type of message I get from another message using xsl-mapping. The point is that result message can be empty (only message header - "<MT_1C_BXY_CR/>").

In Integration Process I place the step Switch where I use condition to determine if my message is empty and if it's not - to send it to receiver system.

I'm beginner in PI and it's the first time I try to use Condition Editor. I tried to put condition like "EX OUT_CR./p1:MT_1C_BXY_CR/ONE" but it doesn't work.

Could you advise me how can I check If the message is empty using Condition Editor in IP? Or may be any tutorial on working with Condition Editor in PI?

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

you might have to try the XSL function exists - http://www.w3schools.com/xpath/xpath_functions.asp

Try the EX operator as shown in this blog