Skip to Content
0
Former Member
Jul 25, 2005 at 12:58 PM

BPM payload value reading problem

29 Views

Hi all,

In a bpm scenario, I have a switch that checks an element's attribute and another that checks an element's value. In the former case, the TRUE branch gets executed when the condition is satisfied. However, in the latter the condition is NEVER satisfied (even when it should be). Here's an example message. In my BPM, I have one switch that uses <user action="xxxx"> and another that uses <jobCode>.

<ns1:AccessRequestReply xmlns:ns1="xxxxx">

<ns1:AccessReply type="complete">

<ns1:user action="update">

<ns1:jobCode>1234</ns1:jobCode>

</ns1:user>

</ns1:AccessReply>

</ns1:AccessRequestReply>

During runtime, the integration server can read the <user> attribute "action" with no problems. However, it cannot read the <jobCode> element. From sxi_cache I went into the corresponding workflow and loaded a message into the XML object in question. Sure enough, only the attribute "action" got loaded. The <jobCode> element never gets loaded. I verified the XPath expressions were correct.

Any ideas as to what might be causing this?

Thanks,

--jtb