How to associate a string value to the enumeration type in the binding of data under the direction of BPM Oracle 11 g

I have the status value that is a string I have to map to the enum type STATUS in the linking of data, either through simple expr Editor, xpath


Association of source data must be Xpath mode and destination in singles

being supported your value in the source similar to the value of your Enum

Tags: Fusion Middleware

Similar Questions

  • How to use setViewportBounds (Bounds value) to the ScrollPane?

    How to use setViewportBounds (Bounds value) to the ScrollPane? This method is, visually, what for? I tried to put a specific Bounds.minY to have a precise scrolling in the axis Y in vain. I use the setVvalue() method to scroll, but it is not convenient to exactly locate a position in the coordinates of the node content listed in the scroll pane.

    The viewportBounds are the limits of the viewport (i.e., the visible part of the content) in the scrolling pane itself, if I understand correctly. The way to access programmatically is by setting the vValue property.

    I have not tried, but if you do something like

    scrollPane.setVmin(0);
    DoubleBinding vmax = new DoubleBinding() {
         { super.bind(scrollPane.viewportBounds(), content.heightProperty()); }
         @Override
         public double computeValue() {
            return content.getHeight() - scrollPane.getViewportBounds().getHeight() ;
         }
    };
    scrollPane.vmaxProperty().bind(vmax);
    

    to configure your component to scroll, then you can call setVvalue (...) and just pass a location of coordinates for your content node. This assumes that your content node is a region or a control; you will have to perhaps a little logic in the method computeValue() to deal with the cases where the display window is greater than the additional content.

  • What is the value of the PublicKeyToken for managed Oracle Driver 4.121.2.0

    What is the value of the PublicKeyToken for managed Oracle Driver 4.121.2.0?

    For version 1, it was

    type="""Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"" " / >

    Well the token seems to always work for ODAC 12cR3 worm 4.121.2.0

    Type = "Oracle.ManagedDataAccess.client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

  • How to store the query string value in the scope of the session in webcenter spaces?

    Hello

    I want to store the query string value (which is given from URL) in the sessionScope variable. According to the value of sessionScope beacause I went some components inside my taskflow. Can someone help me how to store this value in the scope of the session. I use webcenter spaces for my application development.

    Thank you

    Ashok.

    Please see the article below

    How to pass a parameter of argument the query URL to a parameter input workflow? (Doc ID 1545808.1).

  • Pass a string value to the dialogue

    Hello

    I have a dialog box in a pop-up window. In the dialog box, I text with messages hardcoded as "are you sure you want to delete this item? However, I want to make the most significant message passing a string value, while she reads "Are you sure you want to remove the 'New York' from your database?" My guess is to set up the Group of resources such as:

    MESSAGE = are you sure you want to remove {0} from your database?

    But how I pass 'New York '?

    Thanks a bunch!

    Bones Jones

    You can set the value read from the resource group in a variable as the value for the outputText and pageFlowScope in the dialog box

    {} public void onClick (ActionEvent actionEvent)

    Read the value of the resource as in your code and put the result in the PageFlowScope
    String confirmDelete = resourceBundle.getString ("CONFIRM_DELETE");
    Object [] args = {"New York"};
    String result = MessageFormat.format (confirmDelete, args);

    Map = pageFlowScopeMap
    AdfFacesContext.getCurrentInstance () .getPageFlowScope ();
    pageFlowScopeMap.put ("ConfirmationMessage",
    * "Do you want to delete'); *

    DISPLAY THE CONTEXT MENU
    Tips RichPopup.PopupHints = new RichPopup.PopupHints ();
    Popup.Show (Hints);
    }

    . JSPX Page:



    actionListener = "#{ContainerPageBean.onClick}" > "
    contentDelivery = "lazyUncached".
    Binding = "#{ContainerPageBean.Popup}" > "

    *
    ID = "ot1" / >


    Thank you
    Nini

  • issues of scope: verification of string values in the upper levels of Foreach loops

    We have problems with a RTF model. How can you check a string value in a loop for each higher level? Here is a trivial example, the RTF does not appear anything.

    < LEVEL1 >
    < LEVEL1_NAME > ANN < / LEVEL1_NAME >
    < LEVEL2 >
    < LEVEL2_NAME > BOB < / LEVEL2_NAME >
    < / LEVEL2 >
    < / LEVEL1 >

    RTF:

    <? for-each: LEVEL1? >
    <? for-each: LEVEL2? >
    <? If: LEVEL1_NAME = "ANN"? >
    <? LEVEL2_NAME? >
    <? end if? >
    <? end foreach? >
    <? end foreach? >


    Thanks for any help, we were faced with this days.
    Mike W.

    Or navigate between them using file.., use... to move up a level

    
    ANN
    
    BOB
    
    
    

    RTF:

    
    
    
    
    
    
    
    

    or can be implemented, without if statement.

    
    
    
    
    
    
  • How to read a counter value for the separation of the two edge before meter is stopped by the second edge (6602 Council)?

    I use a timer/counter with DAQmx 6602. I use the separation of two - available via DAQmx cash edge. Count between the two edges works properly, however I do not know how to read the value of the counter during the counting operation (i.e. after the first edge triggered the beginning of the count, but before the second edge triggered the end of the counting). I'll have to wait for the second goes off the edge of the end of the countdown until I can get a counter value. I need to be able to access the current value of the County during the count operation. This was possible in traditional DAQ. How can it be accomplished using DAQmx?

    Ah shoot - I was afraid that this might be the case (for what it's worth, my series of X returned intermediate values, but the material and the underlying driver are quite different)...

    You just need to take one measure at a time or you are buffer several measures of separation of the two edges at the same time?  So just to take one measure at a time, you can set a task of edges of count using the database internal time as the source using an arm start trigger (first edge) and a sample of clock (second Board) to work around the problem.

    Best regards

  • comparing string values in the same table

    I have a table with ID (14 digit string values) starting with "A". Ex: A21849B1020792. There may be a different ID with the same substring 'B1020792' in the same table, example: A12349B1020792. If this happens, the ID of the last creation date of must be returned in the result. In other words, comparison is done on the same table. "In the example provided, say A12349B1020792 has the date of 1 January 2015 'and A21849B1020792 has date February 1, 2015", since A21849B1020792 has the most recent date, the result must contain only A21849B1020792.

    ID create_date

    ---                              ------------------

    A21849B1020792 02/01/2015

    A12349 B1020792 01/01/2015

    A12345B1234567 01/03/2015      

    A43567B1234567 01/04/2015      


    Here's the query I used:

    substr (a.id, 7) select sc, max (a.create_date) cd1

    of table a, table b

    where a.id! = b.id

    and substr (a.id, 7) = substr (b.id, 7)

    and a.id like 'A %' and b.id like 'A %' / * (I used a % because I am interested only IDs that begin with A) * /.

    and a.id ('A12349B1020792', 'A21849B1020792','A12345B1234567 ','A43567B1234567')

    Group of substr (a.id, 7);

    Result:

    ---------

    sc                    cd1

    ---                    ------

    B1020792 02/01/2015

    B1234567 04/01/2015

    There is one thing that I'm not able to do with my request, that is, be able to get real IDs list and not list of substrings. If I added a.id column in the select clause and the group by clause, the query includes both by substr (a.id, 7) and a.id and as a result, the query returns four lines as below:

    substr (a.id, 7) select sc, max (a.create_date) cd1, a.id ID

    of table a, table b

    where a.id! = b.id

    and substr (a.id, 7) = substr (b.id, 7)

    and a.id like 'A %' and b.id like 'A %' / * (I used a % because I am interested only IDs that begin with A) * /.

    and a.id ('A12349B1020792', 'A21849B1020792','A12345B1234567 ','A43567B1234567')

    Group by substr (a.id, 7), a.id.

    Result:

    ---------

    sc                    cd1                      ID

    ---                    ------                   ---------

    01/01/2015 A12349B1020792 B1020792

    B1020792 01/02/2015 A21849B1020792

    B1234567 01/03/2015 A12345B1234567

    B1234567 01/04/2015 A43567B1234567


    My goal is to retrieve a list of all the unique identifiers that have the later dates.


    ID:

    ---

    A21849B1020792

    A43567B1234567


    Thanks for your time in advance!

    Hello

    user11951344 wrote:

    I have a table with ID (14 digit string values) starting with "A". Ex: A21849B1020792. There may be a different ID with the same substring "B1020792" in the same table, example: A12349B1020792. If this is the case, the ID of the last creation date must be returned in the result. In other words, comparison is done on the same table. "In the example provided, say A12349B1020792 updated 1 January 2015 ' and A21849B1020792 a date February 1, 2015", as A21849B1020792 has the most recent date, the result should contain only the A21849B1020792.

    ID create_date

    ---                              ------------------

    A21849B1020792 02/01/2015

    A12349B1020792 01/01/2015

    A12345B1234567 03/01/2015

    A43567B1234567 01/04/2015

    Here's the query I used:

    substr (a.id, 7) select sc, max (a.create_date) cd1

    of table a, table b

    where a.id! = b.id

    and substr (a.id, 7) = substr (b.id, 7)

    and a.id like 'A %' and b.id like 'A %' / * (I used a % because I am interested only IDs that begin with A) * /.

    and a.id ('A21849B1020792', 'A12345B1234567', 'A12349B1020792', 'A43567B1234567')

    Group of substr (a.id, 7);

    Result:

    ---------

    sc                    cd1

    ---                    ------

    B1020792 02/01/2015

    B1234567 01/04/2015

    There is one thing that I am not able to do with my request, that is, the ability to retrieve the list of IDs real and not a list of substrings. If I added a.id column in the select clause and the group by clause, the query groups according to the two substr (a.id, 7) and a.id and as a result, the query returns four lines as below:

    substr (a.id, 7) select sc, max (a.create_date) cd1, a.id ID

    of table a, table b

    where a.id! = b.id

    and substr (a.id, 7) = substr (b.id, 7)

    and a.id like 'A %' and b.id like 'A %' / * (I used a % because I am interested only IDs that begin with A) * /.

    and a.id ('A21849B1020792', 'A12345B1234567', 'A12349B1020792', 'A43567B1234567')

    Group by substr (a.id, 7), a.id.

    Result:

    ---------

    sc                    cd1                      ID

    ---                    ------                   ---------

    B1020792 01/01/2015 A12349B1020792

    B1020792 02/01/2015 A21849B1020792

    B1234567 03/01/2015 A12345B1234567

    B1234567 01/04/2015 A43567B1234567

    My goal is to retrieve a list of all the unique identifiers that have the later dates.

    ID:

    ---

    A21849B1020792

    A43567B1234567

    Thanks for your time in advance!

    If it makes sense to treat the first 6 characters of the ID separately from the rest of the id in this problem, maybe it makes sense to store those two parts of the id in two different columns.  Relational databases work best when each column of each row contains 1 single piece of data (at most).  It is so fundamental to the design of table that he called the first normal form.

    Given that the two parts are stored in column 1, so you can something like this Request Top - N:

    WITH got_r_num AS

    (

    SELECT r.id

    r.create_date AS cd1

    , RANK () OVER (PARTITION OF SUBSTR (r.id, 7))

    ORDER BY r.create_date DESC

    ) AS r_num

    FROM table_x g - g for data values

    JOIN table_x r - r for related values

    ON SUBSTR (r.id, 7) = SUBSTR (g.id, 7)

    WHERE g.id IN ('A12349B1020792'

    , "A21849B1020792".

    , "A12345B1234567".

    , "A43567B1234567".

    )

    - AND g.id LIKE 'A %' - if necessary.   The above condition ensures already g.id start with "A".

    AND r.id LIKE 'a % '.

    )

    SELECT id, create_date

    OF got_r_num

    WHERE r_num = 1

    ;

    If you would care to post CREATE TABLE and INSERT instructions for the sample data, and then I could test this.

  • Find and replace the delimited string value by the

    Hi all

    I have a requirement where I need to find and replace the delimited string values.

    For example, the string is "GL ~ 1001 ~ 157747 ~FEB-13~ CREDIT ~ A ~ N ~ US ~ NULL ~". The 4th column gives the month and year. I need to replace it with the name of the previous month. For example: "GL ~ 1001 ~ 157747 ~JAN-13~ CREDIT ~ A ~ N ~ US ~ NULL ~". I need to do the same thing for the past 12 months.

    I thought initially divide the values and store it in a variable and then after him substituting the value required, join the return.

    I just wanted to know if there is a better way to do it?

    Like this:

    with a model like

    (select "GL ~ 1001 ~ 157747 ~ FEB-13 ~ CREDIT ~ A ~ N ~ $ ~ NULL ~' double UNION ALL data")

    Select ' GL ~ 1001 ~ 157747 ~ JAN-13 ~ CREDIT ~ A ~ N ~ US ~ NULL ~' double data)

    Select

    REPLACE (DATA, TO_CHAR (to_date (substr (data, 16.6), "MON-RRRR"), 'MON - RR'), TO_CHAR (to_date (substr (data, 16.6), "MON-RRRR")-1, 'MON - RR'))

    modeling;

    GL ~ 1001 ~ 157747 ~ JAN-13 ~ CREDITS ~ HAS ~ N ~ US ~ NOTHING ~

    GL ~ 1001 ~ 157747 ~ DEC-12 ~ CREDITS ~ HAS ~ N ~ US ~ NOTHING ~

    Ishan

  • Question about the transition from string values to the Partition clause in a merge statement

    Hi all

    I use the code to update the data of specific secondary partition using oracle merge statements below.

    I'm getting the name of the secondary partition and pass this string to the secondary partition clause.

    The Merge statement is a failure, indicating that the specified secondary partition does not exist. But the partition under do exists for the table.

    We use a server Oracle 11 GR 2.

    Here is the code I use to fill in the data.

    declare
    ln_min_batchkey PLS_INTEGER;
    ln_max_batchkey PLS_INTEGER;
    lv_partition_name VARCHAR2 (32767).
    lv_subpartition_name VARCHAR2 (32767).
    Start

    FOR m1 IN (SELECT (year_val + 1) AS year_val, year_val AS orig_year_val)
    FROM (SELECT DISTINCT
    To_char (batch_create_dt, 'YYYY') year_val
    OF stores_comm_mob_sub_temp
    ORDER BY 1)
    ORDER BY year_val)
    LOOP
    lv_partition_name: =.
    () scmsa_handset_mobility_data_build.fn_get_partition_name
    nom_table_p = > 'STORES_COMM_MOB_SUB_INFO ',.
    p_search_string = > m1.year_val);

    FOR m2
    IN (SELECT DISTINCT
    'M' || To_char (batch_create_dt, 'MM') AS month_val
    OF stores_comm_mob_sub_temp
    WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val)
    LOOP
    lv_subpartition_name: =.
    () scmsa_handset_mobility_data_build.fn_get_subpartition_name
    nom_table_p = > 'STORES_COMM_MOB_SUB_INFO ',.
    p_partition_name = > lv_partition_name,
    p_search_string = > m2.month_val);

    DBMS_OUTPUT. Put_line (' lv_subpartition_name = > ' | lv_subpartition_name |' and lv_partition_name = > ' | lv_partition_name);

    IF lv_subpartition_name IS NULL
    THEN
    DBMS_OUTPUT. Put_line ("to the INTERIOR of FI = > ' |") M2.month_val);
    INSERT INTO STORES_COMM_MOB_SUB_INFO (T1)
    T1.ntlogin,
    T1.first_name,
    T1.last_name,
    T1.job_title,
    T1.store_id,
    T1.batch_create_dt)
    SELECT t2.ntlogin,
    T2.first_name,
    T2.last_name,
    T2.job_title,
    T2.store_id,
    T2.batch_create_dt
    OF stores_comm_mob_sub_temp t2
    WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val
    AND'M '. To_char (batch_create_dt, 'MM') =
    M2.month_val;
    ELSIF lv_subpartition_name IS NOT NULL
    THEN
    DBMS_OUTPUT. Put_line (' INSIDE ELSIF = > ' | m2.month_val);
    MERGE (SELECT *)
    OF stores_comm_mob_sub_info
    SUBPARTITION (lv_subpartition_name)) T1
    USING (SELECT *)
    OF stores_comm_mob_sub_temp
    WHERE TO_CHAR (batch_create_dt, 'YYYY') =
    M1.orig_year_val
    AND'M '. To_char (batch_create_dt, 'MM') =
    M2.month_val) T2
    WE (T1.store_id = T2.store_id
    AND T1.ntlogin = T2.ntlogin)
    WHEN MATCHED
    THEN
    GAME UPDATE
    T1.postpaid_totalqty =
    (NVL (t1.postpaid_totalqty, 0))
    (+ NVL (t2.postpaid_totalqty, 0));
    T1.sales_transaction_dt =
    LARGEST)
    NVL (t1.sales_transaction_dt,
    T2.sales_transaction_dt),
    NVL (t2.sales_transaction_dt,
    T1.sales_transaction_dt)),
    T1.batch_create_dt =
    LARGEST)
    NVL (t1.batch_create_dt, t2.batch_create_dt),
    NVL (t2.batch_create_dt, t1.batch_create_dt))
    WHEN NOT MATCHED
    THEN
    INSERT (t1.ntlogin,
    T1.first_name,
    T1.last_name,
    T1.job_title,
    T1.store_id,
    T1.batch_create_dt)
    VALUES (t2.ntlogin,
    T2.first_name,
    T2.last_name,
    T2.job_title,
    T2.store_id,
    T2.batch_create_dt);
    END IF;
    END LOOP;
    END LOOP;

    COMMIT;

    end;
    /



    Really appreciate your input here.

    Thank you
    MK.

    Hello

    You can use "immediate execution" what works.

    Thank you

  • How to get 3table of values in the row of acronym in 11g

    Hi all
    I have 3 tables,
              Tab1
    Ck_no   amt
    1     2000
    
    
              Tab2
    
    Ck_no          Line        amt
      1              1         1000
      1              2         1000
    
    
             Tab3
    
    Ck_no         Line          sub        amt
    1               1            1          500
    1             1            2          500
    1               2            1          100
    1               2            2          200
    1               2            3          700
    In all ck_no tables is common.
    Since the 3 tables above, I need the output in the following format,

    Amt1    amt2      amt3     amt4   amt5     amt6    amt7        amt8     amt 9
    2000    1000    1000      500     500        500     100        200       700
    Can someone help me in this?

    Thank you


    Kind regards
    Gurujothi

    Published by: Gurujothi on July 9, 2012 20:46

    Published by: Gurujothi on July 9, 2012 20:47

    Gurujothi wrote:
    I know how to get the values in a row for a single column,
    ...
    but I get the error,

    Too Many values
    

    How do I change this?

    Please post your data in the example, the expected results of these data and explain the logic so that we can understand how the data relate to each other.

    In your original post, it is not clear how amt4, amt5 abd amt6 therefore show them all 500 when there are only two 500 values in the source data.

    SQL> ed
    Wrote file afiedt.buf
    
      1  with Tab1 as (select 1 as ck_no, 2000 as amt from dual)
      2      ,Tab2 as (select 1 as ck_no, 1 as line, 1000 as amt from dual union all
      3                select 1, 2, 1000 from dual)
      4      ,Tab3 as (select 1 as ck_no, 1 as line, 1 as sub, 500 as amt from dual union all
      5                select 1, 1, 2, 500 from dual union all
      6                select 1, 2, 1, 100 from dual union all
      7                select 1, 2, 2, 200 from dual union all
      8                select 1, 2, 3, 700 from dual)
      9  --
     10  -- END OF TEST DATA
     11  --
     12  select ck_no
     13        ,max(decode(rn,1,amt)) as amt1
     14        ,max(decode(rn,2,amt)) as amt2
     15        ,max(decode(rn,3,amt)) as amt3
     16        ,max(decode(rn,4,amt)) as amt4
     17        ,max(decode(rn,5,amt)) as amt5
     18        ,max(decode(rn,6,amt)) as amt6
     19        ,max(decode(rn,7,amt)) as amt7
     20        ,max(decode(rn,8,amt)) as amt8
     21        ,max(decode(rn,9,amt)) as amt9
     22  from (
     23        select ck_no, amt, row_number() over (partition by ck_no order by ord, line, sub) as rn
     24        from (
     25              select 0 as ord, ck_no, 0 as line, 0 as sub, amt from tab1 union all
     26              select 1 as ord, ck_no, line, 0 as sub, amt from tab2 union all
     27              select 2 as ord, ck_no, line, sub, amt from tab3
     28             )
     29       )
     30* group by ck_no
    SQL> /
    
         CK_NO       AMT1       AMT2       AMT3       AMT4       AMT5       AMT6       AMT7       AMT8    AMT9
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
             1       2000       1000       1000        500        500        100        200        700
    
  • How do I default sysdate value in the input message text column

    Hello

    In the area of research start date and end date, two columns are there. These two columns are columns of text message entry. Each property of the column, I gave sysdate in the initial value and the type of data selected as Date. When I run the OAF page I can't see the value of default todays. Could you please help me on this?

    Thank you
    Sri

    Hi Sri

    You can use pageContext.getCurrentUserDate in the PR method and then set the attribute corresponding to this value VO.

                  java.util.Date sysdate = pageContext.getCurrentUserDate();
                  String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
                  OAMessageDateFieldBean  bean = (OAMessageDateFieldBean)webBean.findChildRecursive("StartDate");
    
                  if(bean != null)
                  {
                 bean.setValue(pageContext, convSysDate);
                  }
    

    AJ

  • Table of ring to string value for the creation of a table

    I want to convert an array of chain ring and generate a picture of him.

    But by using the node property to convert each ring is changing the value in the table.

    each table represents various registers. so to change different picture!

    hereby I enclose a Vi!

    I think this will help you.

    See attached extract VI.

  • How to pass a prompt value to the RPD.

    Hi all, I have a unique requirement.

    I need to create a quick Date.
    After have created you, I need to move to the physical layer of the repository.
    I need to create a view in the physical layer in the view has a function that takes the fast values.

    This view would be my dimension with a single record date, based on the value quickly past.
    and I would join this point of view (table Date, date dimension) to all the other tables.

    Please guide me in this issue. It is very crucial and urgent.

    I didn't know where to start...

    Hello

    Try to create a Server Variable or the Session Variable in RPD and use it in your level of content where you actually bring the table.
    So, whenever you make this table by default you will pass the variable, select guest... and you must set the value of the variable through confirmation.

  • How to check an ascii value of the character in the string

    Hi all
    I have a string that contain alphanumeric values.
    I want only numeric values in this string.
    FRO this purpose.
    I created a varry
    TYPE tab IS VARRAY(10) OF VARCHAR2(10) ;
       var tab
    ;
    variable var of type varray contain this string

    and now I want to check each character in this string at end of validation

    How can I check this particular string

    can I use loop?

    Hello

    If str is a string, then

    REGEXP_LIKE ( str
                , '^[[:digit:]]+$'
                )
    

    Returns TRUE if and only if str contains digits (0 ith 9) and nothing else.
    Here's a way you can use REGEXP_LIKE in PL/SQL:

    SET     SERVEROUTPUT     ON
    
    DECLARE
        str          VARCHAR2 (10)     := '123.4';
    BEGIN
        IF  REGEXP_LIKE ( str
                      , '^[[:digit:]]+$'
                  )
        THEN
         dbms_output.put_line (  str
                        || ' is all digits.'
                        );
        ELSE
         dbms_output.put_line (  str
                        || ' contains something besides digits, or is NULL'
                        );
        END IF;
    END;
    /
    

    Published by: Frank Kulash, December 12, 2011 09:13
    Added PL/SQL example

Maybe you are looking for