How to take human task values and store them in DB table

Hi, I have a workflow and when I assign the task to someone I want to store some info in a database table that I created.
I have checked the box allow task and routing customization in bpel call backs.
And under the on Assign message, I put an assign bpel construct and an invoke.
in the assign construct I am trying to copy some of the elements from my humantasks_globalvariables to certain columns in my database table.
I have found out you can't copy them directly because the humantasks_globalvariables are of type string and my database columns are anonymous. So I tried using parseEscapedXML(), when I do this I get the error that
oracle.fabric.common.xml.xpath.XPathFunctionException: parseXML() expects the argument to be either a string or an XML element.
The humantasks_globalvariable I am using says it's of type string but it gives me this error.
I am obviously doing something wrong. If anybody know how to take values from a human task and store them in a database table any help would be greatly appreciated.

In the actual database the column types are varchar2. But when I drag an invoke from the bpel constructs I associate it with by DBadapter partner link and click the button automatically create input variables. It creates an xsd and this is what one of the elements looks like.
<xs:element name="anyvalue">
    <xs:simpleType>
        <xs:restriction base="xs:string">
             <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
</xs:element>When I do an assign and try to assign the values from the humantasks_globalvariables xsd there types look like this.
task:title string
and the input variable I automatically generated look like this.
ns7:anyvalue <anonymous>

Similar Messages

  • How to Assign a default value and Increement in my Target table ........?

    Hi,
    In my target table I want to Increment a value and store it in the table ........
    the increement shud start frm ...........5001,5002,5003..................etc
    How can I achieve this...........?
    I created an numeric Variable and in assigned the default as 5000 nad action as Historize.........
    In the target Datastore ......I assigned VAR+1.......
    but in the Target column I got 5001 for all the columns........
    Which way is the best way to deal with the Variables.......
    Thanks
    AK
    Message was edited by:
    AK2008

    Hi Gurusank and Micropole,
    Thanks for reply and info.....
    I am trying out one of the solutions first........
    Gurusank,
    I have created a sequence........whether I need to mention the schema and table name ,column.........also ( I gave all the information) and Increement column =1 and saved it .......
    Then I follwed the procedure as u have mentioned .....
    And in the Target field also I gave the same the same.......for tat column I gave choose (target for execution).
    And I directly ran the interface ..........
    I got the folowing Error:
    287 : 42000 : java.sql.SQLException: ORA-02287: sequence number not allowed here
    java.sql.SQLException: ORA-02287: sequence number not allowed here
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:534)
    Could u plz let me know where I am doing the mistake
    Thanks
    AK

  • Good morning, i would like to know how to take pictures from iphoto and put them in a folder on desktop

    Good morning: would like to know how to take pictures from my iphoto and put them in a folder on my desktop

    To take photos from iPhoto and put them onto a folder on Desktop, first create a folder on Desktop. Right-click on Desktop and create a new folder.
    Then, open iPhoto, and you have two ways to export photos:
    1. Select the photos you want to copy to Desktop with Command key (or go to Edit menu > Select All, if you want to copy all photos), and then, drag them to the folder on Desktop.
    2. Select the photos you want to copy to Desktop with Command key, go to File menu > Export, and follow the steps.
    You can choose the one you prefer

  • Download files from the URL and store them in the table

    Hello,
    I want to download files from the URL and want to store them in the table.
    Can I do it using sql/pl-sql.
    Please help me on this.
    Thanks,
    Rajendra Yadav

    Never tried it before...
    Is this what you are talking about?
    http://www.oracle-base.com/articles/10g/file-upload-download-procedures-10g.php
    Cheers,
    Manik.

  • How Calculate more than one value and store it into to different rows and column for each input?

    thx guys.....i have a progress now in LV
    But now i have new trouble here. Ok i attached my LV file (LV 7.0.1/7.1) and excel form. I just could'nt calculate more than one input value. I want a different result for each value that i enter ... and store it into different rows and column. But it just store at one row.
    Attachments:
    My Project.vi ‏31 KB
    rumus motor bakar.xls ‏14 KB

    duplicate post

  • How to retrieve the specific string and store in a seperate table

    hi all,
    i have the following long text store in a internal table field.
    "AAA1"
    "AAA1"*********************************************
    "AAA1"INSTRUCTIONS FOR STAGING TO PRINT PANEL LABEL
    "AAA1"*********************************************
    "AAA1" STAGING TO PRINT THE PANEL LABELS
    "BBB1" (REQUIRED QTY. AS PER LOT TRVELER)
    "BBB1" PANEL LABEL MUST BE A THERMAL LABEL
    "CCC1" USING FOLLOWING SPECIFICATIONS:
    "CCC1" *USE LABEL SIZE:1.25"X0.25"
    "AAA1" *USE ZEBRA PRINTER(MODEL:90XI 11)
    "BBB1" *USE FILE NAME:L:\BARONE\FORMATS\PANEL.lbl
    "AAA1" Staging to apply labels on
    "CCC1" breakaway tab of the panel
    please advise the logic to retrieve only the "xxxx" field for this long text field so that i can store it in a separte field/table. we can do a sorting on the fields accordingly later.
    the " " actually is open and close bracket in the system, i'm not able to get it display in the post here.
    thanks.
    Edited by: Reetha Pitchee Maridas on Jul 15, 2009 10:27 AM
    Edited by: Reetha Pitchee Maridas on Jul 15, 2009 10:28 AM

    Hi ,
    Try using logical expression CA .
    Below is a sample code
    data :index1 type sy-fdpos ,
          g_f_text type char255 ,
          g_f_text2 type char255,
          index2 type sy-fdpos .
    g_f_text = '(AAA1)INSTRUCTIONS FOR STAGING TO PRINT PANEL LABEL'.
    if g_f_text CA '('.
       index1 = sy-fdpos .
    endif.
      if g_f_text CA ')'.
       index2 = sy-fdpos .
    endif.
    index2 = index2 - index1 - 1.
    index1 = index1 + 1 .
    g_f_text2 = g_f_text+index1(index2).
    write g_f_text2.
    Please note that this is with the assumption that we need to take the first string enclosed in ( ).
    Regards,
    Arun

  • How to fetch data from XML and store it in internal table

    Hi All,
    Can anyone help me out, in fetching data from xml and store it in an internal table. Is there any standard function module is there?
    Regards,
    Karthick

    to do this you can either develop a XSLT program and use it with CALL TRNSFORMATION key word to tranform the XML into itab .
    (search the ABAP General forum, i have posted few samples)
    or simply use the following FM which converts your XML into a itab of name value pair (name would holw the element name and value would hold the value of the element) which you can then loop and read it to your itb.
    data:             xmldata type xstring .
    data: result_xml type standard table of smum_xmltb .
    data: return type standard table of bapiret2 .
    CALL FUNCTION 'SMUM_XML_PARSE'
      EXPORTING
        xml_input       = xmldata
      TABLES
        xml_table       = result_xml
        return          = return .
    Regards
    Raja

  • How to Merge two Characteristics Value and store in third characteristics

    Dear All,
    We have a scenario where we have Three Characteristics with different value...
    E.G.
    Char1 = Country  (Values: US, UK, IN etc...)
    Char2 = State      (Values: GE, VA, NY, GU etc...)
    Char3 = Country+State   (Values e.g.: USVA,INGU etc...)
    Please share your expertise for achieving above mentioned scenario...
    Characteristic3 should store combined value assigned to Characteristic1 and Characteristic2
    Regards,
    Akshit Patel

    Ensure that user has to fill in char1 before char2, set a dependency to hide the char2 field until char1 is set
    Then Set a dependency function on char2 characteristic, pass char3 in as an argument to this e.g. FUNCTION zblah (char3 = $self.char3, char2 = char2).
    Function has this interface:
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(GLOBALS) LIKE  CUOV_00 STRUCTURE  CUOV_00
    *"  TABLES
    *"      QUERY STRUCTURE  CUOV_01
    *"      MATCH STRUCTURE  CUOV_01
    *"  EXCEPTIONS
    *"      FAIL
    *"      INTERNAL_ERROR
    Read the characteristic values using the following FMs: CTMS_DDB_HAS_CHARACTERISTICS, CTMS_DDB_HAS_VALUES
    Concatenate char1 + char2 into l_symval
    Set the read-only characteristic value using the following function module:
    call function 'CUOV_SET_FUNCTION_ARGUMENT'
           EXPORTING
                argument                = char3
                vtype                   = 'CHAR'
                sym_val                 = l_symval
           TABLES
                match                   = match
           EXCEPTIONS
                existing_value_replaced = 1
                others                  = 2.

  • How to get the incoming filename and store it to sql table using biztalk server 2013

    HI,
    1)I need to get the incoming EDI filename which is received and save the filename in to the database.
    2)How can i get the EDI Duplicate filename if i set the do not allow duplicate under validation tab in X12 agreement settings in biztalk admin console. In this case since the duplicate file will not come in to orchestration. In this case how
    can i acheive this.
    Thanks,
    Vijayan
    vijayan

    For both cases, the filename can be found on the FILE.ReceivedFileName Context Property.  You can access this Property in a Pipeline Component or Orchestration and take any action you want, such as apply to a database.
    The value is accessed by: MyReceivedMessage(FILE.ReceivedFileName)
    In the case of a duplicate EDI Interchange, you would use the Failed Message Routing feature to capture the error message with either an Orchestration or Send Port.

  • How can take notes from iPhone and add them to iCloud

    I had notes before i had icloud.  once i got icloud the notes stated updating to all other devices. how do i get the note that i have on my iphone before i had icloud to icloud now.

    how do i get the note that i have on my iphone before i had icloud to icloud now
    Please translate into English.

  • HT5622 looking to take off my photo's off my phone and store them on my computer, how does this work with the new update on a iphone 3g

    trying to take photos off my 3G since the upgrade,,,   I am not seeing the popup to take photo's off and store them on my computer

    thanks folks,  I quessed i could do it this way.. Usually the window pops up to transfer the pictures...
    THANKS FOR ALL OF YOUR HELP!!!!!!!!!!!!!!!!!

  • How to parse this kind of XML documents and store in a relational tables

    Can u guys help me out ,..how to parse these kind of XML documents..like under PR there Sr,CreationDate and DoBID.. Again under Sr...there are LD, CID,TID, RID and so on.....
    so how to parse this kind of data..how to create the structure of the table....pls help me out..
    <nk8:PR>
              <nk8:Sr>
                   <nk8:LD>---------</nk8:LID>
                   <nk8:CID>---------</nk8:CID>
                   <nk8:TID>---------</nk8:TID>
                   <nk8:RID>---------</nk8:RID>
                   <nk8:CC>OnError</nk8:CC>
                   <nk8:AID>---------</nk8:AID>
              </nk8:Sr>
              <nk8:CreationDateTime>2002-07-01</nk8:CreationDateTime>
              <nk8:DOBID>---------</nk8:DOBID>
         </nk8:PR>
         <ssm:ER>
              <ssm:PN>---------</ssm:PN>
              <ssm:SN>---------</ssm:SN>
              <ssm:SCt>---------</ssm:SC>
              <ssm:IA>
                   <ssm:NT>---------</ssm:NT>
                   <nk8:LID>---------</nk8:LID>
                   <nk8:CID>---------</nk8:CID>
                   <ssm:AN>---------</ssm:AN>
              </ssm:A>
         </ssm:ER>
         </nk8:PR>

    First, your XML document is not well formatted. Once you're done with that you can extract the values and store it in a table column.
    sql> WITH xml_table AS
      2  (SELECT XMLTYPE(
      3  '
      4  <nk8:PR xmlns:nk8="http://www.w3.org">
      5  <nk8:Sr>
      6  <nk8:LID>LID Value</nk8:LID>
      7  <nk8:CID>CID Value</nk8:CID>
      8  <nk8:TID>TID Value</nk8:TID>
      9  <nk8:RID>RID Value</nk8:RID>
    10  <nk8:CC>OnError</nk8:CC>
    11  <nk8:AID>---------</nk8:AID>
    12  </nk8:Sr>
    13  </nk8:PR>') XMLCOL FROM DUAL)
    14  SELECT extractvalue(t.column_value,'//nk8:LID','xmlns:nk8="http://www.w3.org"') "LID",
    15   extractvalue(t.column_value,'//nk8:CID','xmlns:nk8="http://www.w3.org"') "CID",
    16   extractvalue(t.column_value,'//nk8:RID','xmlns:nk8="http://www.w3.org"') "RID",
    17  extractvalue(t.column_value,'//nk8:CC','xmlns:nk8="http://www.w3.org"') "CC"
    18  FROM xml_table, table(xmlsequence(extract(xmlcol,'/nk8:PR/nk8:Sr','xmlns:nk8="http://www.w3.org"'))) t;
    LID        CID        RID        CC
    LID Value  CID Value  RID Value  OnError

  • 1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    HI Frostyfrog
    CHeck out iTunes Match which has an annual fee of £21 or thereabouts. You can store a maximum of 25,000 songs there and they all become available on your other kit, iPhone, iPad and iPod. I know it works as I have over 23000 songs uploaded of which only a few we're bought through iTunes.
    it works by comparing your music to the whole iTunes music dadata base so you access the same tunes that you could get from iTunes. If you have obscure stuff, it uploads your own music to the cloud as a copy.
    I Find it incredible that on my iPhone with its 16gb memory I can view almost 200 gb of music (ie my 23000 songs) and play any of them. Anything I add to iTunes becomes available via the cloud fairly quickly from a few minutes or a little longer if adding a lot.
    The first time you use it it will take quite a while to match your music if you have a lot, but after that it is all automatic. Read the stuff on the apple site. Your PC needs to be at least running Vista. I recommend it and at less than 50p a week it's good value.
    Good luck

  • How do I create variables and store them?

    How do I create variables and store them?

    As someone already said, we need to know a little more about what you want to do with these variables, but in general, APEX Items are probably what you want. You can create APEX Items at the Application or Page level. Once you set the value of an item, you can reference it anywhere else in the application. So, if you have an item on page 1 called P1_ENAME, you can reference it on page 32 using bind variable syntax :P1_ENAME. If you just want to store but not display some information, you can use either a hidden page item or an Application Level item. Take a look at the 2 Day Developers Guide for more info.
    Tyler

  • How to get the kerning value and set it to back use script?

    hi,guys
    I come back again.
    I encountered a kerning problem.
    how to get the kerning value and set it to back use script?
    Thanks very much!

    For both cases, the filename can be found on the FILE.ReceivedFileName Context Property.  You can access this Property in a Pipeline Component or Orchestration and take any action you want, such as apply to a database.
    The value is accessed by: MyReceivedMessage(FILE.ReceivedFileName)
    In the case of a duplicate EDI Interchange, you would use the Failed Message Routing feature to capture the error message with either an Orchestration or Send Port.

Maybe you are looking for

  • Update from 10.6.8 to mavericks, someone show me a button

    Yosemite seems to come up each time, & won't load

  • Dbms_output.put_line platform issue

    the next code prints the date without the hour when i rum it on pl/sql developer 7 and with the hour when i run it in sql navigator 3. how can i force printing the hour on my machine (i dont think that it has anything with the date format settings) b

  • Webi Report (Drilldown report)

    Hi All, I have created a Webi Drill down report, now my 1st column is 'Supplier Name' when i click on 'Supplier name', it's showing 'Costcenter Name' in a column, but I want when i click on 'Supplier Name' then it's label is also change into 'Costcen

  • Style Table via CSS

    Hi there. It looks like I'm going to need your help again with a vexing table issue. Check this out: http://www.fastventures.co.uk/en/sec_test.html Take a close look at the table that includes the main navigation bar and you will notice that to the r

  • I do not understand the Terminal!

    I have searched through many help topics online and nothing really helps! It is nothing like the normal CLI on Windows. How do I do ping, ipconfig, etc? Thank you!