How can I assign attribute value?

Hi all

I have 2 variables - vari1 and vari2
I have a requirement where if vari2 = 'abc', the value of vari1 must vari1 = 1234
If vari2 = "pqr", the value of vari1 must vari1 = 5678

How can I achieve this? As I m new to OPA.

Thank you.

Fragmentation of the rule is not appropriate for this situation. Use a Table of rules in Word (or Excel if you prefer).

Your rules in Word table might look like:

------------------------
| vari1                |
------------------------
| 1234 | vari2 = "abc" |
------------------------
| 5678 | vari2 = "pqr" |
------------------------
| 0    | otherwise     |
------------------------

It's very basic features of OPA. I highly recommend training.

Kind regards

Anthony Bettanin | OPA & RCMP Partner Enablement | Oracle global alliances & channels | [url http://www.oracle.com/partners/en/knowledge-zone/applications/policy-automation-042908.html] Area to OPA knowledge

Tags: Oracle Applications

Similar Questions

  • Please how can I insert a value of richinputtext in the database string attribute

    Please how can I insert a value of richinputtext in the database string attribute

    If you can get its value at the bean and then call your insert statement to put it in the DB table

    and if you want to know about the execution of SQL query

    then check - Ashish Awasthi (Jdev/ADF) Blog: SQL to run in an ADF Application using DataSource DBTransaction & JDBC query

    Ashish

  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    
  • I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:

    Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;

  • How can I assign access to 950 members?

    How can I assign access to 950 members of the dimensions to different groups of users by using a method not GUI?

    I'm working on Hyperion Planning 11.1.2.3 and tried to attribute access for 950 members in a dimension for different groups of users.

    I tried the method of GUI (size section-> assign access->...) after 190 members I abandoned it and thought there must be a better way.

    So here's my question... y at - it another way-(prompt orders, LCM, third party utility...) - I can assign access to 950 members user group?

    Use ImportSecurity.cmd

    Import access permissions

    -Doug

  • ICF custom connector; How can I get the values of the parameters of the recon calendar task?

    I'm trying to create a custom connector icf with progressive reconciliation. My recon schedule a task, I have the settings "attribute of Date additional Recon ' and 'last token" that should be used for gradual reconciliation.

    How can I get the values of the parameters ' attribute of Date additional Recon ' and 'last token "?

    ICF should handle this for you.

    The value of "attribute of Date additional Recon ' must be filled in the OperationOption (e.g. executeQuery() and PROCESSES of FilterTranslator has this as a method parameter).

    For the "last counter", you need to implement ' createGreaterThanExpression (GreaterThanFilter, filter, is not Boolean) ' in your filter translator class. You can get the attribute of the filter object. Look for a description here: http://docs.oracle.com/cd/E37472_01/apirefs.1112/e28159/oracle/iam/connectors/icfcommon/recon/SearchReconTask.html

  • How can I assign a browser to a specific office in El Capitan?

    How can I assign a browser to a specific office in El Capitan?

    You can change your default browser by following these steps:

    1 from the Apple menu, choose System Preferences, then click general.

    2 click the 'Default web browser' dropdown and choose a web browser, such as Safari.

  • How can I change the value of a control on front panel?

    On the front panel, I'm doing a complex control that consists of a Slider control and control of the digital inputs. Both controls display the same information and either may be used for entry. When changing value, I want the other control to display the same value.

    How can I change the value of a control on front flap when another control changes the value? I know how to use a structure of the event to detect value has changed, but I do not know how to impose control on front panel to change its value in the block diagram.

    Why do you not use a digital display on the slider, and no code is required:

    EDIT: Yes, he said. ***

  • How can I write the value of floats Unitronics vision230 PLC with modbus Ethernet

    How can I write the value of type Float in unitronics PLC Vision230 modbus ethernet (Ethernet Master Query.vi MB) usinsg I read and write register 32 bits, for example, I want to write the value 23.45 2nd Add. MF. And registry MF is the 32-bit registry. I read and write register 32-bit.

    Narendra.

    Narendra,

    Two characters can type cast into a uint16 you VI supports.

    To summarize. Take one (4 bytes). Flatten it to a string (4-byte) divided this string into two parts of 2 bytes each. Cast in u16 (16 x 2 = 32-bit).

    However, if you really want to follow the IEEE standards then you will need refer this KB. His is not that simple, but seems closer to what you are looking for.

    Amit

  • How can I set default values to set the Mode in the config of the AO?

    Hi, how can I set default values to allocate mode in the config of the AO. To be precise, in the attached vi, I need to set the Mode allocate in the AO Config to ' use FIFO memory (6) ' if the value inside the structure of my case is false and 'no change (0)' if the value inside the strusture case is true.

    Create two constants for Mode allocate input (right click > create > constant). A place in the real case of the structure of the case and place it in the case of false. Their son in the same tunnel (border of the structure of the case), then the tunnel of wire to the pole to allocate the AO Config Mode. I do not have traditional DAQ installed, but who should do it.

  • How can I change the value of a print job in Visio 2003. It is for 1 or 2 pages, I want that he 9 printing pages. Thank you.

    How can I change the value of a print job in Visio 2003.  He is currently configured to print pages 1 and 2, but I want to print all 9 pages at a time.  Thank you

    You can remove 1-2 and type 1-9? All HP and Epson printers I have worked this way.

    That's all I can offer as I'm not familiar with your printer.

  • When I replaced a hard drive, I wanted the same drive letter, but he wants me to take another. How can I assign the drive letter, I replaced?

    When I replaced a hard drive, I wanted the same drive letter, but he wants me to take another. How can I assign the drive letter, that I replaced. The letter is now used by another device?

    Open disk management, find the drive using the drive letter you want to use, change the drive letter of this to 'Z', find the new drive, change the drive letter that you want, and then change the drive letter of the drive you have labeled it 'Z' to a drive letter of your taste.

    Jim

  • How can I pass a value to a variable binding in a report query?

    I did a query of report to print a PDF report, with a dinamyc source query that has a connection variable, like this:

    SELECT EMPNO, EMPNAME, EMPDEPT

    FROM EMP

    WHERE EMPNO =: PARAMETER;

    I want to call the report print directly from a page, by using the url print showed by apex:

    f? p = & APP_ID.:0 : & SESSION. : PRINT_REPORT = MYREPORT

    How can I pass the value of the variable binding: PARAMETER using this URL?

    I don't think you can use the url parameter passes in a report query.

    the binding variable: PARAMETER must be a page element or an element of the application.

    use the "include session information and application" in the defination of report query to bind the value when the report is run

  • How can I assign / manage a user in company with a student on a single account user?

    I licensed student CC for my son and a license for my work.  I am able to assign to a user on the business section, but have not found a way to affect the student son version.  Currently, when I log on my user (my desktop and my laptop) and it attempts to open its student programs on his laptop at the school, we receive a notification forcing me to close the session. It was my understanding that each license would work on 2 devices, and I bought license 2-1 student and 1 companies. How can I assign license student of my son to his own user?

    Hello

    I checked the account details and you have subscribed to two plans under your Adobe ID only.

    As you mentioned that you purchased the plan student for your son, I advise you get it canceled your account and buy under your son's account.

    You can create an Adobe Id for your son and subscribe to the terms of this.

    Please see cancel your membership creative cloud for cancellation.

    Kind regards

    Sheena

  • How can I use a value of jQuery in my project of edge animate?

    I use jQuery to obtain a query string value and I am able to display the value with an alert. However, I would actually use it in my project of edge animate. How can I get this value?

    Add the Javascript file as an external Javascript file in the dashboard Interface and add a variable.

    For example,.

    AdobeEdge.myVar1 = "a Variable"; It is a chain called myVar1

    and you can easily just call this variable to the edge like that.

    AdobeEdge.myVar1;

    Or use in an alert or whatever.

    Alert (AdobeEdge.myVar1);

    I did something like this some time ago is an example file of it

    http://www.mediafire.com/download/68tcf6s8i2084m2/Untitled-1.zip

    I hope it helps.

Maybe you are looking for

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I

  • Problem for me sending emails

    In the past I sometimes check incoming emails, but adding additional information before filing. The only way I found it is possible to do is to forward the message to myself (otherwise I can't edit a received message). Have done so for years. However

  • Driver TSST Corp CDDVDW TS - L633L ATA Device will not load. The problem code is 19 / how to fix?

    HP Pavilion dv4TSST Corp CDDVDW TS-L633L ATA Device Control Panel / problem report and solutionsProblem: Could not load software driver status: sent report DescriptionWindows was able to successfully install device driver software, but the driver has

  • X 220: driver technology Intel Rapid Storage Technology

    "evening. continuing my experience so far-so good with a crucial mSATA ssd in my x 220: http://forums.Lenovo.com/T5/X-series-ThinkPad-Laptops/mSATA-SSD-for-my-beloved-X220/m-p/816771#M3993... I work through all the windows and the driver updates and

  • Adobe reader stops

    I am trying to open attachments or when I try to see a cd to help with the software adobe reader installation ceases to function, I also try to update with the new version of adobe custom pc I want what solution or help is here and would be so much a