Xpath condition not working for determining receivers

hello all
am writing a xpath expression for a simple structure
<doc>
   <status>
   <id>
</doc>
status is attribute field.and will have value 'error' and some other value for no error. I want to choose one receiver if error and other receiver if no error
so I wrote an xpath expression
/Doc[@status='Error']   EX    --> Error receiver
count(/Doc[@status='Error']) = '0'   --> no error receiver
it was working couple of days ago but suddenly stopped working
whats going on? thx
mike

But xpath is not working properly..
Are you using this in the condition editor of Interface Determination (it should not be a cause of concern though)
Can you confirm that the condition that you have specified is proper ....does it work when you specify only one condition?
Regards,
Abhishek.

Similar Messages

  • ** XPath condition not work well in Receiver Determination.

    Hi,
    My scenario is having 3 receivers. I have 'Student' is the data type. I use the same data type for Source & Target Message Types. Requirement is I have to send
    1) only records which are having SCOURSE = 'BE' to receiver 1
    2) only records which are having SCOURSE = 'MCA' to receiver 2
    3) only records which are having SCOURSE = 'MBA' to receiver 3
    My Input.xml file contains the following records.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:THIRD_MT_OB xmlns:ns0="http://ganesh_third">
       <STUDENT_INFO>
          <ST_ID>10020</ST_ID>
          <SNAME>Raja</SNAME>
          <SCOURSE>BE</SCOURSE>
          <SFEES>3000</SFEES>
          <SMARKS>1200</SMARKS>
       </STUDENT_INFO>
       <STUDENT_INFO>
          <ST_ID>10021</ST_ID>
          <SNAME>Ram</SNAME>
          <SCOURSE>MCA</SCOURSE>
          <SFEES>3000</SFEES>
          <SMARKS>1200</SMARKS>
       </STUDENT_INFO>
       <STUDENT_INFO>
          <ST_ID>10022</ST_ID>
          <SNAME>Ram</SNAME>
          <SCOURSE>MBA</SCOURSE>
          <SFEES>3000</SFEES>
          <SMARKS>1200</SMARKS>
       </STUDENT_INFO>
    </ns0:THIRD_MT_OB>
    I set the Xpath condition in the Receiver Determination Step and add the 3 receivers for against the conditions.
    Our problem is, If we send the single record in the input file, the corresponding receiver is selected correctly and we get the output file for that receiver. But, if we send the all combination of records (MCA,BE,MBA) 3 receivers are selected and the 3 output files we get. But, the three files are having the all records (MCA,BE,MBA). Instead, we want the first file should only have MCA record,  the 2nd file should only have BE record and finally the 3rd file should only have MBA record. That means each receiver should receive only one record for the above input.
    Friends, I though it will work for the 'XPath Expression' against receivers in the Receiver Determination Step. But, it didn't work. (Records are not split up)
    How do achieve this, friends?
    Could you kindly help me to solve this problem.
    Kind Regards,
    Jeg P.

    If you are trying to split you input msg and send it  to 3 different receivers using conditional receiver determination then it will not work. Once a condition is meet in the receiver determination then the entire msg is forwarded to the corresponding receiver, that is why when you have a single row in your input file which results in a single msg in XI the conditional receiver works. Now when you have multiple rows in your input file still only one msg is being created in XI for all the rows currently so all the conditions are being meet and the msg is forwarded to all the receivers.
    If you are using FCC in the sender side then use the "recordset per msg" parameter to consider each row of your input file as a separate msg in XI and the rest will automatically fall in place.
    Cheer's

  • Fault policies locaton and test xpath conditions not working.

    I cant place fault policies files in a non mds location or the composite directory.
    For example it does not work with an /opt/...... server path in the composite.xml property.
    Also, I can't get working xpath test expressions like this:
    <condition>
    <test xmlns:elem="http://na.telefonica.com/elementoscomunes">$fault.fault0/elem:AREA_ERROR/ErrorType = "F"</test>
    <action ref="reintentos-neon"/>
    </condition>
    In jdeveloper, the part is "fault0", and the subelements are like i've showed, but the condition never matches.
    I saw in a forum that the sintax was $fault.nameofpart/xpathexpression, but doesn't seem to work. I've tried lots of permutations of the syntax, and also with 'F' instead of "F".
    ¿Any Idea?

    This is the exception in the server GUI
    <fault>
    <bpelFault>
    <faultType>1</faultType>
    <OBA_Par_Alta_AveriaFault>
    <part name="fault0">
    <elem:AREA_ERROR>
    <ErrorID>8888</ErrorID>
    <ErrorType>F</ErrorType>
    <ErrorDesc>Afsafds</ErrorDesc>
    </elem:AREA_ERROR>
    </part>
    </OBA_Par_Alta_AveriaFault>
    </bpelFault>
    </fault>

  • Custom Pricing Conditions not working for a PO in SRM

    Hi Experts,
    We are on SRM 5.0, ECC 6.0 , Extended Classic Scenario.
    We configured the pricing conditions in SRM . We defined the our custom pricing condition types as below
    Condition type      ---  Condition Class       ---  Calculation Type
    Frieght(%)            ---       Prices                ---      Percentage
    Frieght Value       ---        Prices                ---  Fixed Amount
    We also defined the Calculation Schema.
    But when we try to define the pricing conditions in SRM during PO creation\change , the standard pricing condition types work but when we input the above defined custom pricing condition type, the value entered gets cleared. Pricing Overview is not calculating the values of the custom Pricing condition types.
    Please assist as where i have gone wrong. Do I need to run any standard report for pricing or do i have to implement any BADI.
    Thanks,
    Addy.

    Hi Sanjeev,
    I have run SM52 and VMC is active with 4 VM's .
    Please suggest.
    Thanks,
    Addy.
    Edited by: Addy1209 on Nov 18, 2010 4:28 PM

  • MN04 not working for free text PO

    Hi All,
    I have maintained a condition record through MN04 in purchase organisation, company code and vendor combination. This condition record is working fine for regular purchase orders. But it is not working for free text PO's. Could you please guide me why is it so?
    I am maintaining same purchase organisation, company code and vendor combination for free text PO also. Question is why it is working for a purchase order with material inside it and why it is not working for purchase order with out material.
    Thank you all in advance

    Hi,
       Seems you are using a custom print program and form. I would suggest to change the program to SAPFM06P, form routine as "ENTRY_NEU" and the form as "MEDRUCK" in NACE transaction for the output type and check the scenario again. Also cross check the settings with the KBA: 1829682 - Output type is not determined in Purchase order
       If its getting triggered, then check the custom program and the form with the help of technical team.
    Regards,
    AKPT

  • XPATH does not work in ccBPM

    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

    Hi,
    thank you for your contributions.
    I had positive experiences with XPATH-expressions in receiver determination, but it seems that it doesn't work in ccBPM.
    Using context objects, I cannot query payload fields, so I also do not see how I can solve the problem with context objects.
    Has anybody an idea or an example about a successful XPATH expression in ccBPM?
    Regards,
    Torsten

  • Additional Fields for ESS-Business Card Not Working for Certain Countries

    Dear Experts,
    We were trying to configure the additional fields to be displayed in Business Card - Overview Screen for all countries. We don't have problem configure and get the new fields display for Malaysia (Molga = 14) but having problem for the field to display for Hong Kong (Molga = 27) and Singapore (Molga - 25).
    The strange thing is I am following the same steps as I configured for Malaysia. Somehow it is not working for Hong Kong and Singapore. As I understand, there is only 1 place to configure in SPRO for this requirement:
    Personnel Management -> Employee Self-Service -> Service-Specific Settings -> Own Data -> Customizing of Personal Information Screens -> Determine Fields for Business Card on Overview Screen
    Please help!

    Hi Siddhart,
    Thank you for the information. We are currently in EhP3 with below Support Components installed.
    Software Component: SAP_HR
    Release: 600
    Level: 60
    Highest Support Package: SAPKE60060
    Software Component: EA-HR
    Release: 603
    Level: 34
    Highest Support Package: SAPK-60334INEAHR
    The note 1159911 provided is within SAPK-60304INEAHR. Thus, I don't think this is the root cause of this inconsistency base on the Highest Support Package installed in our system.
    Anymore hint? Anyone? Please...

  • OR condition not working correctly in SQL

    I am adding the folling condition to a sql statement and
    AND (status_code IS NULL or status_code <> 'T'
    or (status_code IN ('A','B','C','D') and TRIM(order_type) NOT LIKE '%9999')
    or (status_code IN ('A','B','C','D') and order_type IS NOT NULL)
    or (status_code NOT IN ('A','B','C','D')))
    but the or condition work...
    if i change it too
    AND ( (status_code IN ('A','B','C','D') and order_type IS NOT NULL) )
    then this portion of the OR condition work but when I use the OR condition something weird is happening that the condition not working... and i dont see a record that meets that condition...

    Hi,
    It's not the "trim" that implies "not null", but rather the fact that:
    - "not like" operator works only on non-null values and
    - "not like" operator disregards null values.
    Consider this:
    test@ORA92>
    test@ORA92>
    test@ORA92> l
      1  with x as (
      2    select null as y from dual union all
      3    select 'a9999' from dual union all
      4    select 'bxx' from dual
      5  )
      6  select * from x
      7* where y not like '%9999'
    test@ORA92>
    test@ORA92> /
    Y
    bxx
    1 row selected.
    test@ORA92>
    test@ORA92>Here, trim function was not used, but still the first row (that had null for y) was not returned. That's because Oracle disregarded the first row for comparison and out of the next two rows, it returned the third row because it satisfied the condition.
    As for your query, do the following conditions hold true:
    1. if status_code is null      - show the row regardless of order_type
    2. if status_code <> 'T'       - show the row regardless of order_type
    3. if status_code in (a,b,c,d) and order_type is not null and order_type ends with something other than 9999 - show the row
    4. if status_code in (a,b,c,d) and order_type is null                           - do not show the row
    5. if status_code in (a,b,c,d) and order_type is not null and it ends with 9999 - do not show the row
    6. if status_code is anything other than (a,b,c,d)                              - do not show the rowpratz

  • Drill down is not working for Pivot tables,but working for chart

    I have two reports and trying to navigate betwen summary report to detail report. But details report is displaying all the records .The filter condition is not working and displaying all the filters .I have Case statement in my filter.But the summary report column where the filter condition is applied is aggregated in the RPD level. Does this might be the reason ?. Is it passing different type of data type to details report ?. The filter condition is not working for Pivot table .But Chart is working fine and displaying the only selected records based on the filter condition.
    Please help me with the below issue.

    Hi sil174sss,
    Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
    Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
    control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
    I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
    On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
    If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
    can reference to this similar thread:
    lost collapsing columns when export to excel
    Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
    Article below about how to add  Expand/Collapse Action to an Item for your reference:
    http://msdn.microsoft.com/en-us/library/dd220405.aspx
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • I have an hardware issue with my iphone 5 64gb. its lock button in not working. for a fact i know that it can be replaced but my question is this that do they require the bill or anything to replace or they only require the phone in usa

    i have an hardware issue with my iphone 5 64gb. its lock button in not working. for a fact i know that it can be replaced but my question is this that do they require the bill or anything to replace or they only require the phone in usa

    Warranty and support is only valid in the country of origin.  The only exception being the EU where a device bought in any EU country can get warranty or service in any EU country.
    Warranty is determined by device (serial number), no documentation required.
    Apple does not repair devices, they replace them.  For that reason, ensure the device is backed up and any pictures take with the device are copied off the device prior to going in for service.

  • Defaulting Rules Not Working for Repair Orders in OM?

    Hi,
    Defaulting Rules have been setup for return line & standard line based on few conditions and it is working fine if we create a sales order directly from OM (Manual SO)?
    But in our project we are using  Depot Repair(Repair Orders), we tried to create a service request and then converted to a sales order here defaulting rules not working for repair orders?
    Please help me to solve this issue ASAP.
    Thanks,
    Kishor

    Hi,
    You have like this:
    1. Price list
    2.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    You have to make
    1. XXOE_DEFAULT_PVT.custom_code
    2. Price list
    3.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    Did you made own custom code to pick currency?
    Regards,
    Luko

  • I have an event in my calendar that was sent by someone who does not work for the company anymore and I am reminded 2 times a week. How can I remove it?

    I have an event in my calendar that was sent by someone that does not work for the company anymore and I am reminded 2 times a week. How do I delete it?

    Tap on the event to open the event. Click the 'Edit' button in the event bubble, then press the 'Delete Event' button at the bottom of the Edit pop-up. It's a little different for events that come through Microsoft Exchange, you tap the event to bring up bubble and click the 'Details' button, and then press 'Decline' to remove the event.

  • IPhone 6 External Mic not working for Siri/Dictation

    I am finding that the external mic on my iPhone 6 works for phone calls and voice memos, but does not work for Siri/Dictation.  When I plug in the earbuds, they work for everything (including Siri/Dictation).
    Was chatting to Apple support who had me reset all settings.  I thought that worked, but realized that after a reset, Siri is off and I was talking to "Voice control" (which works).  When I turned Siri back on, it does not work.
    I have two questions for the community to see if you can help:
    1- I have been assuming this must be a software problem since the mic does work for non-Siri access.  But is that true?  Is there a hardware component that Siri depends on which could be faulty here?
    2- If it is software, what action should I try to address it?  I have done a reset all settings already and that did not help.
    Doug

    Hi, everyone.  I talked to Apple Genius at Apple Store last week, she said it should be a software issue and I needed to reset my iphone 6 plus as a new device and I can not use the backup restore from my iCloud, it was because the microphone bug or glitch can be in the backup also. Ok, followed her advice, erased all contents and set my iphone as a new device , the microphone worked for an hour, but went bad again.  I used "voice memo" app from Apple to test the microphone. It is the best tool since it doesn't involve any provider's network and it doesn't need another person's phone to listen and test.  If you can hear your voice recording clearly, then the mic works.  I tested it 3-4 times a day for a few days now, half of the time the mic doesn't work.  So, set as a new device isn't working. The issue is intermittent and it comes and goes as it likes, so very annoying. I carry my Apple EarPods with me in these past few days ust in case I need to make important phone calls.  Will need to go back to Apple Genius this weekend for sure.  Will give update after the weekend.

  • CALLER ID not working for International incoming calls

    Hi,
    I've a strange issue where CALLER ID not working for International incoming calls, it shows INTERNATIONAL UNKNOWN NUMBER in the phone display, but the number shows correclty in Verizon Call assistant !!!
    Any clue?

    yashshankar wrote:
    Hi
    I recently  purschased an Online number but the caller id does not work for incoming calls.How do we resolve this problem?.
    Regards
    Yash
    You didn't mention what country your Online Number is in.  Not all of Skype's Online Numbers are eligible for use as Caller ID when calling telephones or sending SMS messages.  If your number is from one of these countries (Chile, Denmark, Estonia, Hong Kong, Poland, Sweden, the UK and the US), then it can be used this way.  Otherwise, you can use a mobile number from countries other than Japan or Mexico as Caller ID with Skype, after the number goes through a verification process where Skype sends SMS messages with codes to that number.
    To get to these settings, log into your Skype account here on the Skype web site using the "Account" link at the top of this page.  You'll see a screen that would include your current Caller ID settings, and a link to change that.  If your Online Number is from one of those countries I referenced above, just select it and you're done. 
    Hope that helps!
    Patrick
    Location/Ubicacion: Arizona USA
    Time Zone/Hora Local: UTC/GMT -7
    If this message has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.
    Si esto mensaje le ha ayudado, por favor haga clic en "Aceptar como solución". Si encuentra un mensaje útil, por favor "Da Kudos" al final del mensaje, por lo que esta información puede beneficiar a otros.
    I am not a Skype employee. No soy un empleado de Skype.

  • Select All in a table does not work for Drag and Drop

    Hi. I am using Jdeveloper 11.1.1.2 but have also reproduced in 11.1.1.3.
    I am trying to implement drag and drop rows from one table to another. Everything works fine except when I do a Select All (ctrl-A) in a table, the table visually looks like all rows are selected, but when I try to click on one of the selected rows to drag to the other table, only the row I click on is dragged.
    I tried setting Range Size -1, fetch mode to FETCH_ALL, content delivery to "immediate" but nothing works.
    I even have reproduced not using a view object but just a List of beans with only 5 or 10 beans showing in the table.
    Does anyone know how to get Select All to work for a Drag Source?
    Thanks.
    -Ed

    Frank-
    OK, thanks for looking into that. I also submitted this service request, which includes a simple sample app to demonstrate the problem:
    SR #3-2387481211: ADF Drag and Drop does not work for rows in table using Select All
    Thanks again for the reply.
    -Ed

Maybe you are looking for

  • How do I disable Numbers as the default spreadsheet application?

    A couple of days ago I was opening a Microsoft Office Excel spreadsheet, as usual. Unexpectedly, the Numbers application launched without prompting, presented an introductory page (Welcome to Numbers etc.) then asked a question (which I unfortunately

  • Using union operator in discoverer

    Hi All, I have a sql statement which is to be implemented in discoverer: (select ........where user_entered_date='YYYY/MM/DD' ) UNION (select ........where user_entered_date='YYYY/MM/DD' AND (select ........where user_entered_date='YYYY/MM/DD' )) Pro

  • Bootcamp not recognizing legit Vista install disc (says it's a blank disc).

    Through school, I received a copy of Windows Vista Business. I had it installed on bootcamp for over 2 years.Recently, my hard drive crashed. I replaced the hard drive, reinstalled Snow Leopard, and then attempted to reinstall Vista through bootcamp.

  • Acrobat Pro asks for serial number after update while being part of CS4 package

    Hello, frustrating: I installed CS4 on a new Mac as the old one wasn't fast enough anymore. I deactivated the package (Master collection) on the old one, and activated it on the new one. Everything works fine. Then there was Adobe updater, updating A

  • Exception in thread "main" ... ive gone blind.

    Executing: D:\Program\ConTEXT\ConExec.exe "C:\j2sdk1.4.2\bin\java.exe" -cp D:\java\ Kylskap java.lang.NoClassDefFoundError: Kylskap Exception in thread "main" Execution finished.Im helping a friend with a program that should connect to a database and