Skip to Content
1
Former Member
Jun 28, 2007 at 06:30 AM

XPATH does not work in ccBPM

19 Views

Hi,

I have a problem using XPATH expressions in a ccBPM.

I'm using an XPATH-expression in a fork step, but although the payload of the relevant message is correct, it doesn't seem to work. The XPATH expression is as follows:

IDOC_TO_ISU./ZE_ISU_VDEW_UTILMD_V40/IDOC/ZE1_E1VDEWIDE_1/OBJECT_TYPE EX

I also tried

IDOC_TO_ISU./p1:ZE_ISU_VDEW_UTILMD_V40/IDOC/ZE1_E1VDEWIDE_1/OBJECT_TYPE EX

IDOC_TO_ISU is the name of the container, ZE_ISU_VDEW_UTILMD_V40 ist the root tag of the message, an p1 the namespace of the message.

Further, I used the following expression in a container operation to count the number of elements within a message:

count(/p1:ZE_ISU_VDEW_UTILMD_V40/IDOC/ZE1_E1VDEWIDE_1)

Although there are several ZE1_E1VDEWIDE_1 elements in my message, the result is '0'

Are my XPATH expressions wrong or do XPATH expressions not work in ccBPM in general?

Regards,

Torsten