cancel
Showing results for 
Search instead for 
Did you mean: 

BPM counting node in switch condition

pohian_koh
Explorer
0 Kudos

Hi Experts,

I'm working on a BPM with switch condition where I need to check the number of node for a particular segment:

Cond1 = /p2:ZDELVRY03EXT/IDOC/E1EDL20/count(E1EDL24) > 1

EX Cond1

I've even tried with Cond1 > Cond2 where my Cond2 is defined as an integer with value 1, it's not working either.

The mapping(2) @ the otherwise branch is always being executed, in case I switch the mapping(2) to the main branch and mapping(1) to otherwise branch, the message could be processed successfully.

That's why I'm suspecting the condition in the switch is not working as expected.

Could you please give me some hint how could I fix this?

Accepted Solutions (1)

Accepted Solutions (1)

pohian_koh
Explorer
0 Kudos

This issue has been solved.
referring to Michal's suggesstion: https://archive.sap.com/discussions/thread/39463

Answers (0)