UCCE Unable to mix logical operators in a single step (PQs)

Hi,
I'm trying to configure this expression on a single step  (A&C)||(B&C). After setting the first logical operator the remaining ones get greyed out with the option you chose at the begining (attached). How can you get the result of the expression working then? lets say you want either a sales or support guy that speak Spanish. All attributes would need to go in the first step to have a fair distribution... to my knowledge (which is limited for PQs) if first step is true, call will be delivered to agents matching the condition correct?
I'm using PCCE 9.0
Cheers
Isidro

OK I missed a drop-down on the "add attribute" button which offers you "add expression" and allows you to change the logical operator!...need a coffee!
http://goo.gl/MRuiK5
cheers
Isidro

Similar Messages

  • Multiple logical components for a single step in Business Process Structure

    Question 2 of 3:
    I'd like to hear about how other people have handled Portals transactions and similar items. I.e. when building the Business Blueprint or Business Process Structure, what if a single transaction runs on more than one product or logical component? Solution Manager only allows you to assign one logical component to a process step and transaction in the Business Blueprint Structure. This isn't the ideal solution, since you lose the linear affect of the what transactions take place for the step.
    Your insights and opinions are appreciated.
    Regards,
    Marcel

    Hi Marcel,
    an ABAP transaction can only run or at least be started on one single system. A portal transaction can be assigned using a URL. This doesn't need any logical component.
    Regards
    Andreas

  • Logical operators using "AND" and "OR" operators

    I currently have written code which has two for loops to search a user query. I am able to search user queries entered for a simple and composed query. Eg. Simple query can be "Hello" and composed query can be "Hello World".
    What i would like to do now is be able to use logical operators such as "AND", "OR" when searching e.g. "Hello AND World" or "Hello OR World" Once this is done i would like to score the highest point depending on where the query is found.
    Could someone please help me with either giving me some tips of going about this or some starting code and hints. I have attached some code below which explains what i am currently doing to do the simple query.
    private void SearchButtonActionPerformed(java.awt.event.ActionEvent evt) {                                            
    /* Gets the simple query enterted into the text field. It then looks at the strippedFile in memmory */
    long start = System.currentTimeMillis();
    // long elapsed = System.currentTimeMillis() - start;
    String userQuery = SearchTextField.getText();
    StringTokenizer userQ = new StringTokenizer(userQuery);
    String[] brokenStrings = new String[userQ.countTokens()];
    int counter2 = 0;
    while (userQ.hasMoreTokens()) {
    String moreStrings = userQ.nextToken();
    brokenStrings[counter2] = moreStrings;
    counter2++;
    int Simplematches = 0;
    for (int i = 0; i < strippedFile.length; i++) {
    String LongCurrentLine = strippedFile;
    StringTokenizer st = new StringTokenizer(LongCurrentLine);
    String[] currentline = new String[st.countTokens()];
    int counter = 0;
    while (st.hasMoreTokens()) {
    String moreStrings1 = st.nextToken();
    currentline[counter] = moreStrings1;
    counter++;
    highlighter.highlight(HTMLOutputTextArea, userQuery);
    for (int j = 0; j < brokenStrings.length; j++) {
    for (int k = 0; k < currentline.length; k++) {
    if (brokenStrings[j].equalsIgnoreCase(currentline[k])) {
    long elapsed = System.currentTimeMillis() - start;
    Simplematches++;
    String output = "\"" + currentline[k] + "\" was found on line " + (i + 1) + "." + " At postion " + (k + 1) + " and took " + elapsed + " milliseconds." + " Found " + Simplematches + " matches" + "\n";
    //String output = "\"" + currentline[k] + "\" was found on line " + (i + 1)+ "." + " At postion " + (k + 1) + " Found "+ Simplematches+ " matches"+ "\n";

    jschell wrote:
    london_guy86 wrote:
    jschell wrote:
    Not clear what you search, but....
    First you need to specifically define the syntax. For example what does the following mean?
    a OR b AND c OR d
    Once you do that then you parse the input to create an expression tree. Then you write an interpreter to run the expression tree.Is there any chance you could give me a starter code or soe sources i could look at. I really dont understand how to go about doing what you have mentioned. As in i have declared the syntax at the moment and i am then using the replaceAll() and calling in what i have declared. with empty strings.
    Is this what you mean?Hard to say since I don't understand your statement.
    There are three parts
    1. Parse the expression.
    2. Interpret the expression
    3. Do the "search", this is actually part of 2 however it should be possible to implement some or all of it separate from 1 and 2.
    Do NOT mix the three parts until you are ready to mix them.
    Your posted code is mixing them.
    Presumably what you posted is mostly search. So to start re-write JUST the search code as a class.
    However you can't really do that until you define what the expressions do.After doing everything you mentioned do you think it would be hard to get a score on the best match search found?
    If not could you also give me some tips towards that if you know any.
    Thanks

  • Logical operators in Oracle select query

    Hello all,
    Can i use logical operators in oracle select queries?
    for 1 and 0 =0 ; 1 or 0 =0
    if i have two fileds in a table COL1 have a value of 1010 and COL2 have a value of 0001.
    Is there any way to use select col1 or col2 from table? where or is a logical operator?
    Regards,

    Hi,
    NB wrote:
    Hello all,
    Can i use logical operators in oracle select queries?Sure; Oracle has the logical operators AND, NOT and OR. All the comparison operators, including >, >=, = !=, EXISTS, IN, IS NULL, LIKE and REGEXP_LIKE are really logical operators, since they return logical values. You can use them in SELECT statements, and other places, too.
    for 1 and 0 =0 ; 1 or 0 =0
    if i have two fileds in a table COL1 have a value of 1010 and COL2 have a value of 0001.It's unclear what you want. Maybe you'd be interested in the BITAND function:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions014.htm#sthref1080
    BITAND is the only logical function that I know of. Many other functions, especially numberical fucntions such as MOD, have applications in logic.
    Is there any way to use select col1 or col2 from table? where or is a logical operator?Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements), and also post the results you want from that data.
    Explain how you get those results from that data.
    Always say which version of Oracle you're using.

  • Spatial query w/ logical operators in a subquery on Linux using Oracle 1

    Hello...
    I'm being given XML that I need to parse and create SQL from it. Below my signature is the SQL that I generate (its a simple example) and can be more elaborate due to the logical operators (AND and OR) given in the XML.
    The problem that we're seeing is performance-based: when one of the logical operator queries is Spatial-based, like below. Running it in JDBC, the query never returns.
    The spatial query just by itself returns ~300 rows (takes approximately 0.2 seconds). The "PERCENTAGE" query by itself returns about ~40000 rows (takes approximately ~.8 seconds).
    If we run the query below with 2 non-spatial subqueries, the result returns and performance is very acceptable (~ 0.9 seconds)-- the result set is about 80000 rows.
    Thanks,
    Jim
    =========================
    SELECT
    COLUMN_WE_WANT , RESULTS
    FROM
    TABLE_A
    WHERE
    COLUMN_WE_WANT IN
    SELECT
    COLUMN_WE_WANT
    FROM
    TABLE_A
    WHERE
    SDO_OVERLAPBDYINTERSECT(TABLE_A.MY_SPATIAL_COLUMN,
    SDO_GEOMETRY(2003,
    4326,
    null,
    SDO_elem_info_array( 1 , 3 , 1 ),
    SDO_ORDINATE_ARRAY( lng_1,lat_1 , lng_2,lat_2 , lng_3,lat_3 , lng_4,lat_4 , lng_1,lat_1 )
    ) = 'TRUE'
    OR
    COLUMN_WE_WANT IN
    SELECT
    COLUMN_WE_WANT
    FROM
    TABLE_B
    WHERE
    SOME_PERCENTAGE_RATE_COLUMN < 90
    )

    Its difficult to comment without seeing the execution plan. You should trace this query to get a better idea of exactly what's happening.
    Depending on the complexity of the logical operators, I would look at doing this using set operations. So for an OR you might have...
    SELECT COLUMN_WE_WANT, RESULTS
    FROM TABLE_A
    WHERE COLUMN_WE_WANT IN (
         SELECT COLUMN_WE_WANT
         FROM TABLE_A
         WHERE SDO_OVERLAPBDYINTERSECT(TABLE_A.MY_SPATIAL_COLUMN,SDO_GEOMETRY(2003,4326,
         NULL, SDO_elem_info_array( 1 , 3 , 1 ),
         SDO_ORDINATE_ARRAY( lng_1,lat_1 , lng_2,lat_2 , lng_3,lat_3 , lng_4,lat_4 , lng_1,lat_1 ) )) = 'TRUE'
    UNION
         SELECT COLUMN_WE_WANT
         FROM TABLE_B
         WHERE SOME_PERCENTAGE_RATE_COLUMN < 90)For an AND, you would use INTERSECT.
    Edited by: Reggie to remove the extra INTERSECT

  • Spatial query w/ logical operators in a subquery on Linux using Oracle 10g

    Hello...
    I'm being given XML that I need to parse and create SQL from it. Below my signature is the SQL that I generate (its a simple example) and can be more elaborate due to the logical operators (AND and OR) given in the XML.
    The problem that we're seeing is performance-based: when one of the logical operator queries is Spatial-based, like below. Running it in JDBC, the query never returns.
    The spatial query just by itself returns ~300 rows (takes approximately 0.2 seconds). The "PERCENTAGE" query by itself returns about ~40000 rows (takes approximately ~.8 seconds).
    If we run the query below with 2 non-spatial subqueries, the result returns and performance is very acceptable (~ 0.9 seconds)-- the result set is about 80000 rows.
    Thanks,
    Jim
    =========================
    SELECT
    COLUMN_WE_WANT , RESULTS
    FROM
    TABLE_A
    WHERE
    COLUMN_WE_WANT IN
    SELECT
    COLUMN_WE_WANT
    FROM
    TABLE_A
    WHERE
    SDO_OVERLAPBDYINTERSECT(TABLE_A.MY_SPATIAL_COLUMN,
    SDO_GEOMETRY(2003,
    4326,
    null,
    SDO_elem_info_array( 1 , 3 , 1 ),
    SDO_ORDINATE_ARRAY( lng_1,lat_1 , lng_2,lat_2 , lng_3,lat_3 , lng_4,lat_4 , lng_1,lat_1 ) )
    ) = 'TRUE'
    OR
    COLUMN_WE_WANT IN
    SELECT
    COLUMN_WE_WANT
    FROM
    TABLE_B
    WHERE
    SOME_PERCENTAGE_RATE_COLUMN < 90
    )

    There is a spatial forum. You will likely have a far better experience there.

  • How to use Logical operators in Essbase Studio?

    I want to add a new Dimension Element like
    if ( connection : \'SH'::'SH.CUSTOMERS'.'CUST_GENDER' == "M" ) then "Male"
    else "Female"
    However, there isn't 'if ... then ...' expression in Essbase Studio. I'm puzzled to the usage of logical operators such as '==', '!=', and so on.

    The == and !== are to set conditions for filtering. the ! meand not. In esscense these allow you to get a subset of rows that meet the conditions specified. In your case where Gender == "M" you will only get those rows where the value is "M". What you want to do is transform rows not filter them. I have not looked at studio enough yet to know how to do this, but a few things come to mind. First, you could use text to create the outline menbers instead of values from the tables, you could crete a reference table with the M = Male and F = Female and join to it to get the values or you could use a standard load rule and sql interface to load the data and just build the dimensions and drill through from Studio. I think I would opt for the second option

  • Search format with logical operators in TREX

    We've  activated the index for business object BUS1001006 for material master on SES_ADMIN. The index was created successfully and the two new search help was activated as well. Now testing it in development, I'm trying to figure out how you include logical operators (AND, OR, etc...) inside your search term.
    For example I want to search materials that has ADAPTOR or AMPLIFIER. If I specify exactly "ADAPTOR or AMPLIFIER" (without the quotes) it does not return any search results.
    I'm trying this both on the two new search help and on program COM_SE_SEARCH_IIF_TEST.
    Can you let me know how to do this please ?
    Thanks in advance.

    You have to distinguish between attribute search and full text search:
    In attribute search you can use logical operators by using the generic Select Options just like in any other search help.
    In full text search all entered search words are interpreted with AND conditions.
    If you just press the generic F1 for help on the field "Full Text Search" you will receive the complete standard documentation.
    OR conditions in full text search are not supported because of the restrictions of the generic F4 UI.
    If you want to support OR conditions you should consider installing the SAP product NetWeaver Enterprise Search. The full text search in it's generic search UI contains a query parser that supports the following (and more) features:
    [http://help.sap.com/saphelp_nwes72/helpdata/en/d0/297dfa25a24a57a31e8364ee2ad7eb/frameset.htm]
    Instead of contructing OR conditions it's sometimes much more convenient to browse with NetWeaver Enterprise Search through the distinct value lists of attributes: Read "Narrowing Down Results" in:
    [http://help.sap.com/saphelp_nwes72/helpdata/en/df/f2fb01b6844246b121497b633d83a5/frameset.htm]
    Enjoy! - Klaus

  • Mixed Logic Comes to Smart Playlists in iTunes 9!

    Smart playlists have always been limited in that you could only use AND or OR logic, but not both in the same smart playlist. For example, if you had multiple criteria you had to choose between matching +All the criteria+ (AND), or +Any of the criteria+ (OR), but not both in the same playlist. This meant that to achieve mixed logic, e.g. "A and (B or C)", you had to use more than one playlist.
    With iTunes 9 you can now combine AND and OR logic into one playlist, finally! To add indented criteria, just click the "..." button and the next line of criteria will be treated separately (think parentheses). Give it a try, its really cool!
    So now, for example, let's say you wanted a playlist of top Rock and Blues songs that you haven't heard in the last month. Now in one playlist you can create the logic:
    o Rating is > 3 stars, AND
    o Last Played is Not In the Last 30 Days, AND
    o Genre is Rock, OR
    o Genre is Blues
    Previously this would take three playlists (one for each genre, plus one to combine them). Very, very cool!

    Agreed !!
    This is one of the best feature of iTunes 9 yet no one talks about it.
    Thanks Apple
    Cheers
    Xavier

  • Unable to select logical relations in DataModeler version 4.1.0.866 Build 866 on Mac Yosemite 10.10.1

    Hi Team,
    I can not select logical and physical relations in DataModeler version 4.1.0.866 Build 866 on Mac Yosemite 10.10.1 (Java SDK 1.8). DataModeler does not allow me to select them. I mean the next scenario: I create two entities (or tables) and add a logical (or physical) relation between them. After this I can not select the relation in diagram window. Meantime I still can select the relation in browser window.
    Could you please suggest me is it a bug (maybe a platform specific problem) or did I miss something in software options?
    I found a topic about the same issue. It describes the same problem, though the topic is without an answer and was archived.
    New bug - Unable to select logical relations in version 4.0.2.15 Build 15.21 on Mac
    At the end, if this is a bug (even a platform specific one), where may I publish details about it to ask for a fix from Oracle team someday in future?
    WIth best regards,
    Kostyantyn

    Hi Philip,
    Thank you for the good hint about "default line width and colour".
    Meantime the option does not resolve the problem in my case.
    According to your suggestion I set maximal width for relation lines and I still can not pick (select) it in diagram window.
    I checked behaviour of DataModeler with next display resolutions on MacBook Pro (Retina, 15-inch, Mid 2014) in System preferences Displays: "Best for display"; Scaled "More Space", "Larger Text", and "Best (Retina)"... And the problem takes place in all these cases.
    Please see attached image - this is how I see the relation line. And I still can hit it!
    If I use the DataModler on a casual external monitor, the problem is absent (no matter what a width is). Also I believe the problem takes place only on mac retina displays. Therefore I think this is a platform specific bug.
    I do understand a root cause of the problem may have no direct relation with Oracle DataModeler source code.
    With best regards,
    Kostyantyn

  • Logical operators

    I am trying to run the simple following code:
    import java.util.Scanner;
    public class again
         public static void main(String args[])
              int a;
              Scanner scan = new Scanner(System.in);
              a = 0;
              while (a != 1)&&(a != 5)
                   System.out.print("Informe a:");
                   a = scan.nextInt();
    }and it retrieves me an Illegal start of expression error on the while expression and it is the same when I use ||, so I think it is some error abou logical operators. Can anyone guide me into this?

    while ( (a != 1) && (a != 5) ) // <-- note the enclosing parens...~

  • Logical operators -- convert OR to ||

    Is there anyway to build an if statement from words such as AND,OR?
    I have expression language in xml and I'd like to somehow convert that to a java representation.
    The only way I can think of is auto generating source, compiling, then running. But that's not something I really want to get into.
    Just wondering if anyone has any ideas other than generating source.
    I just thought if I can change the xml to have something like if("myval".equals("test")) or "myval".equals("test1")) and then I can just do the conversion to logical operators and return a boolean if the statement is true or false.

    ForumKid2 wrote:
    Is there anyway to build an if statement from words such as AND,OR?
    I have expression language in xml and I'd like to somehow convert that to a java representation.
    The only way I can think of is auto generating source, compiling, then running. But that's not something I really want to get into.
    Just wondering if anyone has any ideas other than generating source.1. Parse to intermediate form
    2. Write an interpreter to run that form.
    3. Run the interpreter.

  • Using logical operators when creating software groups

    Is there a way to use simple logical operators when using filters for creating software groups?
    An example of what I want to do is to select all updates for the past month - but not include Definition Updates for instance. So all update classifications but NOT definition updates.

    The '-' trick only works for ADRs to my knowledge.
    For searching within the console, anytime you add criteria for the same attribute, it always adds it with an OR. This is a known design shortfall.
    For your question specifically though, you need to reverse your thinking and instead of being exclusive, think inclusively. Thus, you can add an attribute multiple times to the search criteria by selecting and adding it multiple times  -- once for each
    classification that's not definition updates. Then, save the search as pointed out by Torsten.
    Jason | http://blog.configmgrftw.com

  • Using Logical operators in filters

    Hi All,
    I want to filter rows from an XML using AND logical operator.
    <?xml version="1.0" encoding="UTF-8" ?>
    <RowSet>
    <Row>
    <Name>jake</Name>
    <Sem>First</Sem>
    <Score>100</Score>
    </Row>
    <Row>
    <Name>jake</Name>
    <Sem>second</Sem>
    <Score>200</Score>
    </Row>
    <Row>
    <Name>pete</Name>
    <Sem>First</Sem>
    <Score>300</Score>
    </Row>
    </RowSet>
    I want all the results with Name='jake' and Sem='First'.I tried this usig the AND operator but couldnt get the result .
    I tried :
    <?for-each-group: Row/{./Name='jake'} AND Row/{./Sem='Score'}?>
    <?Name?>
    <?Score?>
    <?end for-each?>
    This doesnt seem to work(with flower brackets repalced by square brackets).Although the OR operator works with the '|'(pipe) symbol in the same manner.
    Any suggestion on how to use the logical operators.
    Thanks!!
    Edited by: rick_me on May 23, 2009 2:09 AM
    Edited by: rick_me on May 23, 2009 2:10 AM

    Hi,
    Use:
    <?for-each:Row[./Name='jake' and ./Sem='First']?>
    <?Name?>
    <?Score?>
    <?end for-each?>Regards,
    Colectionaru

  • Query form requires Logical operators and/or Quotes

    In ORACLE 9I Jdeveloper beta I used the BC4J JSP wizard to create a - Query Form. The query form looks nice and runs except I have to also include the logical operators (= > <) and Quotes. For example to query on the name Joe I have to enter it as ="JOE". If I use JOE it gives me a JSP error. The error message shows the generated Select statment with the where clause JOE but is missing the "=" and quotes.
    How do I hard code the "=" and quotes around strings so that the user doesn't have to?

    In ORACLE 9I Jdeveloper beta I used the BC4J JSP wizard to create a - Query Form. The query form looks nice and runs except I have to also include the logical operators (= > <) and Quotes. For example to query on the name Joe I have to enter it as ="JOE". If I use JOE it gives me a JSP error. The error message shows the generated Select statment with the where clause JOE but is missing the "=" and quotes.
    How do I hard code the "=" and quotes around strings so that the user doesn't have to?

Maybe you are looking for

  • Aperture 3 Library can not be opened

    I have a problem with my Aperture 3 Library.I reinstalled my Lion system and for some reason I cannot open Aperture 3.2.2anymore. Just a pop-up window appears in German, which says that Aperture cannotaccess this library. And that I should check the

  • HELP! I want to delete a LOCK item.

    I'm having a problem with uninstalling Window Media Player version 9 (I think). I believe Window Media Player does not come with the uninstall wizard. So I try draggin the Window Media Player folder inside the Application folder to the trash. However

  • Can doc files be saved as jpeg?

    Can doc files be saved as jpeg files on Macbook Pro?

  • Printer compatible with OS X 10.7.5?

    Can anyone help me with a recommendation for a printer that supports OSX 10.7.5? I just returned an HP laserjet that supported 10.5 and 10.6 but not 10.7. I didnt want to spend hours on the phone with HP support and the drivers on their website did n

  • Assignings values to textfields dynamically

    Hi, I am creating table rows & columns containg text fields dynamically as follows: function addRowToTable() var tbl = document.getElementById('tblSample'); var lastRow = tbl.rows.length; // if there's no header row in the table, then iteration = las