1 Reply Latest reply: May 21, 2013 4:08 PM by Sudipto Desmukh RSS

    BPM Task payload namespace issue while modifying from ADF UI

    1009341
      Hi,

      In my BPM process, I have the below tasks.

      1. Input task - user input form
      2. Review task - to review the user input values

      I have created the UI for the above tasks through Auto-generate forms.

      Before invoking Input task, I have created a transformation to initailize the payload elements, so that in the UI these field elements will be become editable.

      I have an ADF table which is used to insert account details elements which is initialized in the transformation with namespace.

      <ns0:bankAccountsType>
      <ns0:registrationNumber></ns0:registrationNumber>
      <ns0:accountNumber></ns0:accountNumber>
      <ns0:bankName></ns0:bankName>
      </ns0:bankAccountsType>

      I am using the createInsert operation of the ADF command button to insert records for these table in UI. The row is getting inserted with values and clicked "Approve" to go to the Review task.

      Now if i check the flow trace for this instance in EM console. ie "Review Task - Instance entered the activity"

      The payload elements for this account types is coming namespace for first record (becoz the row is intialized in BPM transformation) and the second & third record is not showing namespace.

      <ns0:bankAccountsType>
      <ns0:registrationNumber>111111111111111</ns0:registrationNumber>
      <ns0:accountNumber>1111111111111111</ns0:accountNumber>
      <ns0:bankName>qqqq</ns0:bankName>
      </ns0:bankAccountsType>     

      <bankAccountsType>
                     <registrationNumber>222222222222</registrationNumber>
                     <accountNumber>222222222222</accountNumber>
                     <bankName>www</bankName>
                </bankAccountsType>
           
                <bankAccountsType>
                     <registrationNumber>3333333333</registrationNumber>
                     <accountNumber>3333333333</accountNumber>
                     <bankName>sas</bankName>
                </bankAccountsType>


      Is there any way ADF can keep the namespace while adding new items?

      Jdeveloper

      Studio Edition Version 11.1.1.5.0

      Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013

      Thanks in advance.

      Regards,
      Murali.S

      Edited by: 1006338 on 16 May, 2013 5:18 AM

      Edited by: 1006338 on 16 May, 2013 5:20 AM
        • 1. Re: BPM Task payload namespace issue while modifying from ADF UI
          Sudipto Desmukh
          Before invoking Input task, I have created a transformation to initailize the payload elements, so that in the UI these field elements will be become editable.
          I have an ADF table which is used to insert account details elements which is initialized in the transformation with namespace.
          You can simple use a ADF form to do this. Create ADF editable input fields in a panelFormLayout and wehn user enters values and clicks ona button .. pass those values to BPM payload.
          See - http://andrejusb.blogspot.com/2010/10/initializing-oracle-bpm-11g-process.html