on 05-05-2016 4:20 PM
I have the following message output after I call a B1 Object (atom17):
</Payload><Payload Role="C" id="atom17" system="0010000109" status="success" b1login="Technical User" method="Synchronous Insert" objectid="59" payload="atom18"keyname="DocEntry" keyvalue="" DIresult="failure" DImsg="
Exception : DI Error: (-2028) No matching records found (ODBC -2028)"/>
The xml editor show the following xpath for the DIresult:
/Msg/Body/Payload[10]/@DIresult
I am trying get an expression for conditional processing. The following should be close but B1if tells me the path is invalid:
/*[/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom17']/@DIresult=‘failure’]
Can you tell me what the path should be or look like?
Hi Thomas,
You will need to add a box bracket around your condition. See the bits highlighted in RED below
/*[/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom17']/[./@DIresult=‘failure’]]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.