Underlying components of Service of Workflow Oracle table?

Hi all

Does anyone know what are the underlying tables to obtain information about components of Service especially the Workflow Mailer? Basically, I need to get the value of the Test address / address override.

Thank you
Allen

PL see this Doc MOS

How to set a different "Test E-mail address" for Notification of workflow without connecting to OAM [ID 459932.1]

HTH
Srini

Tags: Oracle Applications

Similar Questions

  • generate the xml to oracle table

    Hello

    I want to generate xml form an oracle table and using the sql express oracle developer 10 g, forler xdk is decompressed also under folder oracle express, still getting the following error: code used
    var g_clob clob;
    
     declare
         l_ctx  dbms_xmlquery.ctxHandle;
         l_clob clob;
        begin
          l_ctx := dbms_xmlquery.newContext('select * from scott.emp');
          dbms_lob.createtemporary(:g_clob,true,dbms_lob.session);
          :g_clob := dbms_xmlquery.getXml(l_ctx);
        end;
        /
    ORA-06550: line 2, column 14:
    PLS-00201: identifier ' DBMS_XMLQUERY. CTXHANDLE' must be declared

    Thanks in advance

    Hello

    DBMS_XMLQUERY is a wrapper for the methods in the Java class "oracle.xml.sql.query.OracleXMLStaticQuery".
    The problem is that Oracle 10 g XE is not a JAVA virtual machine, you can not use this package.

    Use DBMS_XMLGEN instead, it provides similar functionality and is more effective (C-based):

    SQL> var g_clob clob
    SQL> DECLARE
      2    l_ctx    dbms_xmlgen.ctxHandle;
      3  BEGIN
      4    l_ctx := dbms_xmlgen.newContext('select * from scott.emp');
      5    :g_clob := dbms_xmlgen.getXML(l_ctx);
      6    dbms_xmlgen.closeContext(l_ctx);
      7  END;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> set long 5000
    SQL> set pages 1000
    SQL> print g_clob
    
    G_CLOB
    --------------------------------------------------------------------------------
    
    
     
      7369
      SMITH
      CLERK
      7902
      17/12/80
      800
      20
     
     
      7499
      ALLEN
      SALESMAN
      7698
      20/02/81
      1600
      300
      30
     
     
      7521
      WARD
      SALESMAN
      7698
      22/02/81
      1250
      500
      30
     
     
      7566
      JONES
      MANAGER
      7839
      02/04/81
      2975
      20
     
     
      7654
      MARTIN
      SALESMAN
      7698
      28/09/81
      1250
      1400
      30
     
     
      7698
      BLAKE
      MANAGER
      7839
      01/05/81
      2850
      30
     
     
      7782
      CLARK
      MANAGER
      7839
      09/06/81
      2450
      10
     
     
      7839
      KING
      PRESIDENT
      17/11/81
      5000
      10
     
     
      7844
      TURNER
      SALESMAN
      7698
      08/09/81
      1500
      0
      30
     
     
      7900
      JAMES
      CLERK
      7698
      03/12/81
      950
      30
     
     
      7902
      FORD
      ANALYST
      7566
      03/12/81
      3000
      20
     
     
      7934
      MILLER
      CLERK
      7782
      23/01/82
      1300
      10
     
    
    

    Or, using the SQL/XML functions:

    SELECT XMLElement("ROWSET",
             XMLAgg(
               XMLElement("ROW",
                 XMLForest(empno, ename, job, mgr, hiredate, sal, comm, deptno)
               )
             )
           ).getClobVal()
    FROM scott.emp
    ;
    
  • Formate LKM support of Oracle (TABLE EXTRENAL) data LENGTH FIXED files?

    Hi all

    I'm working on a simple test to create an external table using the "LKM to Oracle (TABLE EXTRENAL)" file to load a data file of fixed length (no separator/delimiter). After running, the error is as follows:

    2009-11-23 07:26:02 PM (DwgCmdExecutionThread): SnpSessTask.treatSqlException: 29913: 99999: java.sql.SQLException: ORA-29913: error in executing ODCIEXTTABLEOPEN legend
    ORA-29400: data cartridge error
    KUP-00554: error occurred when parsing the access settings
    KUP-01005: syntax error: found 'colon': expected an of: "asterisk, number.
    KUP-01007: in the column of the row 12 28

    java.sql.SQLException: ORA-29913: error in executing ODCIEXTTABLEOPEN legend
    ORA-29400: data cartridge error
    KUP-00554: error occurred when parsing the access settings
    KUP-01005: syntax error: found 'colon': expected an of: "asterisk, number.
    KUP-01007: in the column of the row 12 28


    The external table creation code generated is:

    «"createTblCmd = r»»»
    create the table ODI_WORK_SCHEMA. C$ _0PARTIAL_SHPT_TMP
    (
    C1_RECORD_TYPE VARCHAR2 (2),
    C2_ISN VARCHAR2 (8).
    C3_AWB_UID VARCHAR2 (11),
    C4_FLIGHT_ID VARCHAR2 (7).
    C5_FLIGHT_DATE VARCHAR2 (8).
    C6_AIRCRAFT_FLOW_TYPE VARCHAR2 (1).
    C7_PORT_CODE VARCHAR2 (3),
    C8_SHPT_BD_PIECES VARCHAR2 (5).
    C9_SHPT_BD_WEIGHT VARCHAR2 (9).
    C10_SHPT_MAN_PIECES VARCHAR2 (5).
    C11_SHPT_MAN_WEIGHT VARCHAR2 (9).
    C12_SHPT_MAN_VOLUME VARCHAR2 (12)
    )
    EXTERNAL ORGANIZATION
    (
    TYPE ORACLE_LOADER
    Dat_dir default DIRECTORY
    ACCESS SETTINGS
    (
    RECORDS DELIMITED BY 0 x '0D0A '.
    CHARACTERSET "WE8ISO8859P1".
    STRING SIZES ARE IN CHARACTERS
    BADFILE "PARTIAL_SHPT_FIXED_NHF.dat_%a.bad."
    LOGFILE "PARTIAL_SHPT_FIXED_NHF.dat_%a.log".
    DISCARDFILE 'PARTIAL_SHPT_FIXED_NHF.dat_%a.dsc '.
    SKIP 0

    FIELDS
    MISSING FIELD VALUES ARE NULL
    (
    C1_RECORD_TYPE POSITION (:),
    C2_ISN POSITION (:),
    C3_AWB_UID POSITION (:),
    C4_FLIGHT_ID POSITION (:),
    C5_FLIGHT_DATE POSITION (:),
    C6_AIRCRAFT_FLOW_TYPE POSITION (:),
    C7_PORT_CODE POSITION (:),
    C8_SHPT_BD_PIECES POSITION (:),
    C9_SHPT_BD_WEIGHT POSITION (:),
    C10_SHPT_MAN_PIECES POSITION (:),
    C11_SHPT_MAN_WEIGHT POSITION (:),
    C12_SHPT_MAN_VOLUME POSITION (:)
    )
    )
    LOCATION ("PARTIAL_SHPT_FIXED_NHF.dat")
    )
    PARALLEL
    REJECT LIMIT UNLIMITED
    """

    # Create the statement
    mystmt = myCon.createStatement)

    # Run the trigger creation
    myStmt.execute (createTblCmd)

    myStmt.close)
    mystmt = None

    # Commit, just in case
    myCon.commit)

    1. How can I solve this problem?
    2. If my data file have no record separator and the field delimiter, how do I configure in sub ODI?

    Remarks:

    1. the format of file under the "files" is "fixed".


    Thank you very much!!

    Tao

    Tao,

    Your problem is not LKM(External Table). You will need to set the interface diagram. Select each column in the pane "DataStore target" of the "Diagram" tab when you open the interface.
    Mark "run" for each column to be on the "staging area".
    Currently, you have all the columns marked in 'Source '.

    This will fix the problem.

    Hope that helps.
    PS Don't forget to mark as good/useful solutions if you feel they were.

  • Problem update the payload using the API of Services of Workflow task

    I have problems to update the part of the payload of a task by using the API of Services of Workflow (10.1.3) using the SOAP protocol. Try to use the setPayloadAsElementmethod, it seems, that the element of the payload is deleted rather than being defined.

    The purpose of the payload is constructed as follows:

    DocumentBuilder builder is DocumentBuilderFactory.newInstance () .newDocumentBuilder ();.
    Document document = builder.newDocument ();

    Support useful item = document.createElementNS ("http://xmlns.oracle.com/bpel/workflow/task", "payload");
    Child element = document.createElementNS ("http://xmlns.oracle.com/pcbpel/test/order", "command");
    payload.appendChild (child);

    The following lines are used to retrieve and update the subject of the task:

    IWorkflowContext context = getWorkflowContext (userId);
    Task task = taskQueryService.getTaskDetailsById (context, taskId);

    task.setPayloadAsElement (payload);
    taskService.updateTask (context, task);

    However, for some reason, it seems that the payload is not set correctly and in time updateTask is called on the TaskService object, payload of the task is not available. In turn, this causes an error when the SOAP request must be encoded (since the WorkflowTask schema requires a "payload" element).

    I run the code in a debugger and noticed that the the task object has a field nodeArray, which initially contains an element of payload. After the call to setPayloadAsElement has been run, no element of the payload is present in the field of the nodeArray and the mIsPayloadChanged field has been set to true.

    Code is taken almost directly from one [example in the documentation of the API: http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28985/oracle/bpel/services/workflow/task/model/TaskType.html#setPayloadAsElement_org_w3c_dom_Element _] and I'm completely lost as what to do differently. Could there be a problem with the way the Document object is built?

    Everyone knows about similar problems? Any guidance would be appreciated.

    See you soon,.
    Emil

    P.S. I also tried to spend in an element of payload without child element that does not work either.

    Hi Emil,

    Your code looks ok. However, I use the oracle.bpel.services.common.util.XMLUtil object to generate the document object.

    Document document = XMLUtil.createDocument ();

    was soon Nicolas

  • Simple query in Oracle Table in MS Access causes a full table scan.

    I run a very simple query in MS ACCESS to an Oracle table attached as follows:

    Select *.
    EXPRESS_SERVICE_EVENTS-(EXPRESS is the name of the related table. SERVICE_EVENTS)
    When executed > MyDate()

    or

    Select *.
    EXPRESS_SERVICE_EVENTS-(EXPRESS is the name of the related table. SERVICE_EVENTS)
    When executed > [Forms]! [MyForm]! [Date1]

    We have more than 50 machines and this query works well on more than half of them, using an Oracle Index on the field "run." Exactly the same thing running on other machines results in a full table scan, so regardless of the index (the DB access even access all machines).

    Strangely, if we write the query as follows:

    Select *.
    Of EXPRESS_SERVICE_EVENTS
    When executed > # 2009-09-04 08:00 #.

    It works fast everywhere!

    Any help with this "phenominon" would be appreciated.

    We did the things:
    Check the locale settings of the ODBC driver, MS Access settings (as in tools-> Options), we have the latest XP and Office service packs and re-related all the Access Tables on the slow and fast machines independently).

    All machines use the same version of the ODBC driver?

    If you have access to Metalink, check the following note:
    Note.257828.1 Scan of Table full Ext/Pub while seeking the DATE columns using the ODBC Oracle driver:

    In a Word, try "bind timestamp date" option in the dsn configuration and do not forget to update the links in the table.

    It will be useful,
    Greg

  • How to disable location under the privacy services? My switch is freezed help kindly

    How to disable location under the privacy services? My switch is freezed help kindly

    Try disabling "Find my iPhone" in iCloud settings first.

  • Get the error loading file csv to oracle table

    Hello

    I'm tryitng to load the csv file into oracle db table.

    Source:

    CSV file have account_numbers, customer_names. all the fields, it took as channel.

    Target: Oracle db

    If I took all the fields as varchar, it loads very well. but I want to

    Oracle table fields: digital account numbers or decimal (20.2)

    customer_names as varchar2 format.

    When I'm trying to load csv to oracle table, I am getting following error.

    err7.png

    ODI-1228: fgh1 (integration) task fails on the target odi_user1 ORACLE connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number

    I tried so many times. I am still getting error.

    TO_NUMBER function I also used, getting same error

    Please help me,

    Thank you and best regards,

    A.Kavya.

    Hi, String, CSV file data type have values of amount a 54,356,4657.89 format. Like this. In odi, I took number (30.2) of data types for the target table. When I traced in odi, I get error like invalid number. to do this, I changed the values in csv file format. I removed commas. for example, 543564657.89. Yet once, I traced csv to oracle in odi. executd successfully. Thanks & regards, A.kavya.

  • Remove duplicates from the oracle table using 2 columns

    Hello

    I need to remove the duplicates of an oracle table based on 2 columns in the table.i tried to remove duplicates using the join, but get the error like sql error ora-00933

    Thank you

    Hello

    Here's one way:

    DELETE FROM table_x

    WHERE ROWID NOT IN)

    SELECT MIN (ROWID)

    FROM table_x

    Col_1, col_2

    );

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements), and the results you want from this data.

    In the case of a DML operation (for example, REMOVE) the sample data should show what look like the paintings before the DML, and results will be the content of the or the tables changed after the DML.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

  • Querying the oracle table that has a column with the name of "FILE".

    Hi all

    I need to have an oracle table that has the column with the name "FILE".

    I can query all columns with the query "select * from table".

    But I'm not able to use the query "select the table file.

    This table is converted from ms access to oracle and I need to have this column with the name "FILE".

    Any suggestions?

    Thank you

    Abdellaoui

    Hello

    FILE is a keyword from Oracle, so it's not a good name,

    Use FILEDATE, or DATE_FILED, or something else that is not in V$ RESERVED_WORDS. KEYWORD as the name column.

    If you need to use the FILE, then you must use quotation marks.

  • ODI - read CSV file and write to the Oracle table

    Hello world

    After 4 years, I started to work again with ODI, and I'm completely lost.

    I need help, I don't know what to use for each step, interfaces, variables, procedures...

    What I have to do is the following:

    (1) reading a CSV file-> I have the topologies and the model defined

    (2) assess whether there is a field of this CSV file in TABLE A-> who do not exist in the table is ignored (I tried with an interface joining the csv with the TABLE model a model and recording the result in a temporary data store)

    Evaluate 3) I need to update TABLE C and if not I need to INSERT if another field that CSV exists in TABLE B-> if there

    Could someone help me with what use?

    Thanks in advance

    Hi how are you?

    You must:

    Create an interface with the CSV template in the source and a RDBM table in the target (I'll assume you are using Oracle). Any type of filter or the transformation must be defined to be run in the stadium. (you must use a LKM for SQL file and add an IKM Sql control (it is best to trim them and insert the data when it cames to a file if you want after this process, you may have an incremental update to maintain history or something like that).)

    For validation, you will use a reference constraints in the model of the oracle table: (for this you need a CKM Oracle to check constraints)

    Then, you must select the table that you sponsor and in the column, you choose which column you will match.

    To article 3, you repeat the above process.

    And that's all. Pretty easy. If you do not have the two tables that you need to use your validation that you need to load before loading the CSV file you need valid.

    Hope this can help you

  • Can we create a Unique constraint on DFF attribute of a Standard Oracle Table

    Hi all

    Can we create a Unique constraint on DFF attribute of a Standard Oracle Table.

    There will be problems of integrity of the data in this case?

    Any help will be greatly appreciated.

    Best regards

    gt1942

    You should not. The same field of de FACTO forces might be used beyond business groups/associations causing cross-functional problems. This would be considered a direct customization and may affect Oracle features seeded depending on where you want to add it.

    Kind regards

    Arif.

  • Insert a jquery/ajax oracle table

    Hello.

    I'm new to apex and would like to know if can help me with my question.

    I called you a process demmand javascript jquery to insert data on oracle apex_collection (I do delete and insert in the collection of the apex and works very well), but I need to insert a table from oracle directly from jquery database (through a process demmand on or any other means).

    in fact, I have an html page with a pl/sql anonymus that displays a list of items where user to enter certain values; the use of javascript, I call on demmand - process of javascript that will make the insert on an oracle table, but nothing happens. No data get inserted in my table

    in fact, I'll call the demmand process on using this on javascript and works well, but only on apex_collection, and not on the oracle database table.

    var ajaxRequest = new htmldb_Get (null, &. APP_ID "APPLICATION_PROCESS is ADD_PRODUCTS", & APP_PAGE_ID.);

    ajaxRequest.add ('P1_PRODUCT_ID', html_GetElement('P1_PRODUCT_ID').value);

    ajaxRequest.add ('P1_QTY', html_GetElement('P1_QTY').value);

    ajaxResult = ajaxRequest.get ();

    It is important to mention that I don't SUBMIT or refresh the page at any time, because it will be too slow, I think it has something to do with the problem, but not sure.

    Thanks in advance.

    Anthony.

    No, if you set your action button as "defined by the dynamic action.

    I use a similar setup all the time to update only certain regions on the page.

    Rock of dynamic measurements.

  • Need help for query flat_file type clobdata oracle table data.

    Hi Sir,

    I need help to query oracle table flat file data having given clob type.
    Oracle Version:
    
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    
    
    Source table
    
      CREATE TABLE order_details 
       (     QUEUE_SEQNUM NUMBER(10,0) NOT NULL ENABLE, 
         LINE_SEQNUM NUMBER(10,0) NOT NULL ENABLE, 
         CHAR_DATA CLOB, 
         OPTIMISTIC_LOCK_KEY NUMBER(20,0)
       ) 
    COLUMN FOR CHAR_DATA FLAT_FILE
    EU,6067AT,AT10,000000402004,NexiumGERDManagementProject,Z435,,ZZ29,NIS-GOLD,AT
    EU,6067AT,AT10,000000402038,NIS-OEU-ARI-2007/1,Z450,,ZZ29,NIS-OEU-ARI-2007/1,AT
    EU,6067AT,AT10,000000402039,SymbicortNISinCOPD,Z450,,ZZ29,NIS-REU-DUM-2007/1,AT
    EU,6067AT,AT10,000000402040,D1443L00044SeroquelXRRuby,Z450,,ZZ29,D1443L00044,AT
    EU,6067AT,AT10,000000402041,NIS-GEU-DUM-2008/1,Z450,,ZZ29,NIS-GEU-DUM-2008/1,AT
    EU,6067AT,AT10,000000402042,SonstigeAktivitätenLCM,Z450,,ZZ29,.,AT
    EU,6067AT,AT10,000000402134,D1680L00002Saxagliptin,Z450,,ZZ29,D1680L00002,AT
    EU,6067AT,AT10,000000402199,SeroquelWaveNIS,Z450,,ZZ29,NIS-NEU-DUM-2009/1,AT
    EU,6067AT,AT10,000000402313,SeroquelExtra(D1443L00082),Z450,,ZZ29,D1443L00082,AT
    EU,6067AT,AT10,000000402517,AtlanticD5130L00006(AZD6140),Z450,,ZZ29,D5130L00006,AT
    EU,6067AT,AT10,000000554494,ArimidexSt.Gallen(13+2),Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554495,ArimidexASCO(5delegates),Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554496,ArimidexSanAntonio6delegates,Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554497,ArimidexBreastCancerSummit(13+2),Z130,,ZZ09,,AT
    EU,6067AT,AT10,000000554498,ArimidexEIH(15delegates),Z130,,ZZ09,,AT
    EU,6067AT,AT10,000000554499,ArimidexNIFA(200delegates),Z135,,ZZ09,,AT
    EU,6067AT,AT10,000000554500,ArimidexNIFAworkshops(8x25),Z135,,ZZ09,,AT
    EU,6067AT,AT10,000000554501,ArimidexPraktischeGyn.Fortbildung,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554502,ArimidexAGO,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554503,ArimidexHämato/OnkologieKongress,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554504,ARIMIDEXGYNäKOLOGENKONGRESS,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554505,ArimidexChirurgenkongress,Z147,,ZZ09,,AT
    EXPECTED RESULTS:
    AFFIRM_CODE COMPANY_CODE INTERNAL_ORDER_CODE INTERNAL_ORDER_DESC ENIGMA_ACTIVITY             SUB_ACTIVITY_CODE IN_AFF_IND ORDER_TYPE EXTERNAL_ORDER COUNTRY        
    EU          6067AT       AT10                 000000402004       NEXIUMGERDMANAGEMENTPROJECT     Z435           NULL        ZZ29       NIS-GOLD        AT             
    EU          6068AT       AT11                 000000402005       NEXIUMGERDMANAGEMENTPROJECT     Z435           NULL        ZZ29       NIS-GOLD        AT             

    Sorry, my bad. Without database at hand, I'll try 'baby steps' (borrowed from Frank) so you don't confuse it with errors that I might add (happens far too often already, but at least you won't "swallow" as forum members think is one of the main goals of this fighter - help her learn - providing not only the proverbial fish.)
    Search the Forum - your problem is one of its best sellers. Watching {message identifier: = 10694602} ("split string into" was the key word used in research) you can try something as

    select table_row,
           level clob_row,
           regexp_substr(char_data,'[^' || chr(13) || chr(10) || ']+',1,level) the_line
      from (select to_char(queue_seqnum)||':'||to_char(line_seqnum) table_row,
                   char_data
              from order_details
           )
     connect by regexp_substr(char_data,'[^' || chr(13) || chr(10) || ']+',1,level) is not null
            and prior char_data = char_data
            and prior table_row = table_row
            and prior sys_guid() is not null
    

    to get all the s the_lineall CLOB and after that the use of the example even to get your columns of each the_line.

    Concerning

    Etbin

    Edited by: Etbin on 3.2.2013 09:01

    .. .but I m connected to do things according to the instructions, I can't do something.

    Used to happen to me too and I did as told to the but only after explaining any disadvantages, I was aware of in time. The last sentence is usually: "O.K. now be just and Don't come back with that kind of thing when it turns out that this isn't the right thing."
    rp0428 post - something to remember.

  • Load since excellent data to Oracle Tables

    Hi all

    I want to create a table with the payment year as default sysdate (to_char(sysdate,'yyyy')) and months in the form 'MM' (as default payment_month < (syadate, 'MM') >

    I'm doing it in vain. Help me please, and the other is want to load data from EXCEL to ORACLE table.

    I used to load the load data using SQL * LOADER. can you please let me know is possible to load data without using SQL * Loader? Please give me the solution for this.

    Thank you
    ORA.
  • Load huge data in oracle table

    Hello

    I am using oracle 11g Express Edition, I have formed a .csv file, which includes a 500MB size data that must be downloaded into the oracle table.

    Please suggest which would be the best method to load data into the table. Data are historical employee ticket, i.e. huge data.

    How to make download of mass data in the suggestion of experts need oracle table on this requirement.

    Thank you
    Sudhir

    best way SQL LOADER

Maybe you are looking for