Skip to Content
avatar image
Former Member

BPM counting node in switch condition

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 06, 2017 at 06:34 AM

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

    Add comment
    10|10000 characters needed characters exceeded