Skip to Content
0
Former Member
Jul 31, 2007 at 03:24 PM

checking the node counts inside ccBPM

16 Views

All,

We have a requirement where we need to check the number of nodes on the input message with the number of "successful" output messages. If there is a mismatch we need to raise an error. (in the following sample xml - we need to check the count of <input> nodes to the count of <output> nodes with <status> = 0)

<inputmessage>

<input>1</input>

<input>2</input>

<input>3</input>

</inputmessage>

<outputmessage>

<output><status>0</status><result>sssds</result></output>

<output><status>0</status><result>sssdsssss</result></output>

<output><status>1</status><result>ssdfsds</result></output>

</outputmessage>

Thanks,