Skip to Content
author's profile photo Former Member
Former Member

BPM process failing from PI --> NW BPM in mapping

Hi Experts,

We have a PO installation on PI 7.31 SP 03. We developed a BPM process in NWDS 7.31 SP 03 and deployed on PI server.

Scenario -- SOAP --> PI --> BPM

Problem -- BPM process fails and in Log viewer (NWA) we see that PI Operation Mapping that is called inside BPM and fails with error: RuntimeException during appliction Java mapping com/sap/xi/tf/ Cannot create target element /ns0:Messages/ns0:Message1/ns1:MT_Standard/SelectionCriteria/Primavera/QueryElement/attribute. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD.

The problem is the xml from UI (SOAP) to PI has this value and data in it. This is also mapped in the event trigger of the BPM. However, inside the BPM the value seems to be lost.

The data type of "attribute" is string as with other elements in the xml which have the value and pass through the mapping.

Attached is the screenshot of xml before reaching BPM. and screenshot of context data in BPM which does not contain the value.

It may be something very small that we are overlooking but this has become a show stopper for now.

Any help regarding this will be much appreciated.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2014 at 08:28 AM


    Looks strange...

    What I Can advise here is to take some intermediate variable and map the data to that variable to see at which step of BPM data is lost...or data itself is not sent to BPM process..

    Also check the data types of that variable.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hello,

      I am using PI7.31 SP09 and i have seen above error in BPM Process Monitoring.

      NWA -> Availability and performance -> BPM System overview -> filter ur BPM process and select the same -> extreme below u will find a "History" tab, so click on that-> and from "Show" dropdown select "Advanced".


      Amit Srivastava

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2014 at 07:50 AM

    Hi Latika

    Everything looks good. The only problem may be during your trigger event step.Make sure that the local variable has the field name 'attribute' and it has a proper mapping in the output mapping in trigger event.

    If needed do the output mapping once again and re-deploy the BPM and then test.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.