on 03-19-2008 5:49 PM
Hi XIrs!
Can someone help me?
I have a switch in my BPM with the following condition:
(UnfinalizeResponse./d:DeliveryRoute/@status = unfinalized) OR (UnfinalizeResponse.//DeliveryRouteStatus = beingPlanned)
The message is like this:
<?xml version="1.0" ?>
<DeliveryRoute persistent="1" status="notUnfinalized_FoundErrors" xmlns="http://blabla.com/XMLSchemas/DeliveryRoute/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://blabla.com/XMLSchemas/DeliveryRoute/2.0 DeliveryRoute.xsd" requestCorrelationID="549110220080319175903494">
<DeliveryRouteStatus>beingPlanned</DeliveryRouteStatus>
</DeliveryRoute>
Why the switch evaluates false? (exception branch)
I have tried several alternatives in XPATH condition, like the absolute path ( /d:DeliveryRoute/DeliveryRouteStatus ) and XPath variants. No one works for me.
Any idea?
Other thing:
Why when I click en Task Id (inside Workflow log) and so in the Navigation area of the Workflow builder I click in the "problematic" switch, and after on Condition, I see an apparentily old version of my condition ( &UNFINALIZERESPONSE.PAYLOAD.STATUS& = 'unfinalized'{TYPE=SWFXST_STRING} or &UNFINALIZERESPONSE.PAYLOAD.DELIVERYROUTEDELIVERYROUTESTATUS& EX ). But when I go directily to transaction SWF_XI_PBUILDER I see the actual condition ( &UNFINALIZERESPONSE.PAYLOAD.STATUS& = 'unfinalized'{TYPE=SWFXST_STRING} or &UNFINALIZERESPONSE.PAYLOAD.DELIVERYROUTESTATUS3& = 'beingPlanned'{TYPE=SWFXST_STRING} ) ???
Thanks
Software Build information of DXI - REPOSITORY
SP-Number: 09
I have read these posts:
[http://help.sap.com/saphelp_nw04/helpdata/en/01/c45e05e6b14571b1c797f053fdff2b/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/01/c45e05e6b14571b1c797f053fdff2b/frameset.htm]
[http://www.w3schools.com/xpath/xpath_examples.asp|http://www.w3schools.com/xpath/xpath_examples.asp]
Hi,
please delete the entry of BPM in SXI_CACHE
and reactivate the BPM to get the fresh entry
may be it is a cache problem
Ranjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for you answers!
The condition is working now. I have changed the Xpath condition again.
The one that works is:
(UnfinalizeResponse./d:DeliveryRoute/d:DeliveryRouteStatus = beingPlanned)
This one not works for me:
(UnfinalizeResponse./d:DeliveryRoute/DeliveryRouteStatus = beingPlanned)
I put the extra reference to namespace after reading this:
http://xmlbeans.apache.org/docs/2.0.0/guide/conSelectingXMLwithXQueryPathXPath.html
Thanks!
hi
check the below links for reference
regards
chandrakanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.