Skip to Content
0

BPM counting node in switch condition

Mar 02, 2017 at 10:39 AM

38

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Poh Ian Koh Mar 06, 2017 at 06:34 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded