How to run interface based on the value of the variable?

Hi gurus!

Is it possible to run one or the other of the interface based on the value of the variable?
For instance I refresh the value of variable A and you want to call the interface I1 if the value is 1 or call interface I2 f value is 2.

Thanks in advance!

Step 1. Update the Variable
Step 2 evaluate Variable
Step 3. Providing OK if variable is 1 Interface 1 another DO KB not the interface 2.

I hope this helps.

Tags: Business Intelligence

Similar Questions

  • How to case statement based on the array of values of 3 or more?

    I'm trying to figure out how to do a comparison or case structure... based on the creation of an array of boolean 3 (or maybe more).

    I have a table (it's from a serial connection, and I am conversion back to a table to work with) [t, F, F] in this case I would like to display on a status indicator "STBY".

    If the array is defined on [F, T, F] I want to display in this indicator "ON".

    If the array is defined on [F, F, T] I want to display in this "EMPTY" indicator

    I can not understand how to compare combinations of things... I read in an array of bytes, and the first 3 bits in this example, determine what to display in a status... I can't figure out how to do with structure case... or without some channels to research and/or bad comparison...

    Any suggestions?

    Thanks in advance,

    Cayenne

    You can use search 1 d array and find the first real.

    Or you could convert the table of Boolean integer U8 and integer that results to determine which cases to run.  (4, vs, vs 1-2)

  • How to render components based on the value selected in a list of values

    Hello
    I created a form of the ADF. I have a drop down that is a list of values. I want to toggle certain fields based on the values selected in the menu drop-down. Could you please let me know how to do it in the ADF?

    Kind regards
    Murielle

    Hello

    It should work. It is important to note that in case you use a component selectOneChoice for category then the value returned by #{bindings. Category.inputValue}
    is the index of the selected value in the list and not the value auto. To get the value, you must use ' #{bindings. " Category.attributeValue}"in the disabled state.

    If the problem is no display of code in your page to take a look.

    Gabriel.

  • How do I format based on the value of the @status attribute?

    Example: I use the @status attribute to indicate that a step in a procedure is new or a paragraph in a new concept.

    For review purposes, I want to format new text in Green - Green preference the highlight, but the green text will do.

    Example: I use the @status attribute to indicate that a step in a procedure has been deleted or that a paragraph in a concept has been removed.

    For review purposes, I want to format new text as a bar.

    Is this possible? If Yes, where can I configure the formatting in attribute values?

    Thanks in advance.

    Marsha

    Hi Marsha,

    If you want the formatting to be "locked in", which is led by ESD, then advice from Lynne is the way to go. If instead, there would be enough temporarily color the items you want as a substitute format, you can use the AXCM plugin:

    http://www.weststreetconsulting.com/WSC_AXCM.htm

    This plugin can do any character coloring, bar, etc., based on attribute values and other markup. Colouring is applied as an alternative format and removed easily by a refresh of the ESD. The characteristics of color were mainly intended for purposes of conditional text, but it would work in this case too.

    AXCM is totally free. Warning... I am owner of West Street Consulting and this plugin.

    Russ

  • How to run an application when the cell phone is power on

    I want to run an application when the cell phone is power on. It runs in the background, how so, please give me a code, I don't know, thanks

    It is enough to set project properties in JDE as shown on the attached photo (check below: screenshot.png).

  • How to run under Linux of the CGF 11 g 10 g (AS)

    I'm the developer of oracle 11g on windows forms.

    My application server is on Linux (10g) platform


    How to run the application server of the CGF 11 g to 10g?

    Published by: Naeem Akhtar, July 13, 2011 10:43

    You cannot run a form 10g with a length of 6i, and you can't run a form 11g with a length of 10g. If you want to run forms 11g, you have to install an application server in 11g.

    see you soon

  • How to run a script in the idle task

    Hi all

    Successfully, I wrote and performed a routine of idle task that periodically executes a simple method. now, I need to add a feature to this method so that it performs a simple javascript.

    Here is my code:

    ...

    UInt32 myTestIdleTask::RunTask)
    UInt32 appFlags, IdleTimer * timeCheck) {}
    If (appFlags &)
    (IIdleTaskMgr::kMouseTracking
    | IIdleTaskMgr::kUserActive
    | IIdleTaskMgr::kInBackground
    | IIdleTaskMgr::kMenuUp))
    {
    Return kOnFlagChange;
    }

    This-> runTestScript();

    Return kmyTestFvExecInterval;
    }


    void myTestIdleTask::runTestScript() {}

    This is the test script

    PMString myTestScript ("app.activeDocument.exportFile (ExportFormat.pdfType, File(\"/Users/testuser/testing.pdf\"),false);" ');

    I think that I should call CScriptRunner::RunScript()
    somewhere here but without success

    }

    Any help on how to run the Javascript code for myTestScript from the runTestScript() method?

    Thanks in advance,

    Halin

    Already, I solved my problem by using "IExtendScriptUtils".

    For those who are interested, here is my solution:

    void myTestIdleTask::runTestScript() {}

    This is the test script

    PMString myTestScript ("app.activeDocument.exportFile (ExportFormat.pdfType, File(\"/Users/testuser/testing.pdf\"),false);" ');

    PMString engineName ("myengine");

    Int32 errorCode is Utils()-> RunScriptInEngine (engineName, myTestScript);.

    }

    Good luck.

    halin

  • How to run a procedure with the object as OUTPUT parameter

    Hello

    I have a procedure and it composed of 2 parameters, there is an input parameter and it's some ID (NUMBER datatype) and 2nd parameter is an output parameter and it an object type. I want to run this procedure, but not able to do the same thing. Can someone please suggest me how to run a procedure that got the object as output parameter.

    Thank you very much in advance for your support.

    Example:

    SQL> create or replace type t_obj as object (ename varchar2(10), deptno number);
      2  /
    
    Type created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  create or replace procedure myproc (p_empno in number, obj out t_obj) is
      2  begin
      3    select t_obj(ename, deptno)
      4    into obj
      5    from emp
      6    where empno = p_empno;
      7* end;
    SQL> /
    
    Procedure created.
    
    SQL> set serverout on
    SQL> declare
      2    v_obj t_obj;
      3  begin
      4    myproc(7788, v_obj);
      5    dbms_output.put_line(v_obj.ename||','||v_obj.deptno);
      6  end;
      7  /
    SCOTT,20
    
    PL/SQL procedure successfully completed.
    
  • How to run a package on the calendar or automatic

    Is it possible to run a package on the calendar?

    For example, all our outgoing pdf to send by post mail must obtain a watermark. Doing so by hand for each lot is a lot of work.

    If I can save files in a particular folder in which Adobe running a lot on the schedule (for example, every 2 minutes), this could save a lot of work.

    Acrobat cannot be automated in this way. You will need to use other

    request to do it, or do it (execute the Action in Acrobat) manually.

  • How can I put more than one value in a variable?

    Hi, very new for PLSQL, but someone could please help with this problem?

    If I do the following, it works fine:

    Select salary, the name of employers where salary = (select max (wages) of employers);

    But if I do it in PLSQL im stuck in how you allocate 2 values in a variable.

    I can do the following using fair pay:

    declare

    v1 varchar2 (30);

    Start

    Select salary in v1 of employers where salary = (select max (wages) of employers);

    end;

    However, if I try to select salary, name in v1 of employers where salary = (select max (wages) of employers);

    I get the following error:

    ORA-06550: line 65, column 31:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 65, column 4:
    PL/SQL: SQL statement ignored


    Thank you very much


    Thank you very much this is the answer - incredibly fast response!

    Edited by: 882839 01-Sep-2011 08:51
    select salary,name into v1 ....
    

    You cannot select two columns and put them in a variable. You must have two variables to store two values.

    Like this:

    declare
    
    v1 varchar2 (30);
    v2 employers.name%type;
    begin
    
      select salary,name into v1, v2 from employers where salary = (select max (salary) from employers) ;
    
    end;
    
  • How to hide indicators based on the values of the case?

    I'm trying to show some of the indicators only if necessary - the derivative graphic when you test a resistance and the semi-log graph extracted to test a diode.  I'm not too sure that I extracted the characteristic part of the diode with precision.  (The few cases of structure is completely turned off to the right, everything else works.)

    Thank you!

    Here is an example:

    the function of visibility is a simple bool

  • How to run terminal console of the CRIO output rtexe

    Hello

    I want to run the rtexe application in CRIO (9014) from the console output terminal. In my application the availabe lan port is connected to any other device using cross-over cable. That's why I want to change application console using the console terminal. I tried the taskspawn command but the crio restarts. Is there a command so that I can run the terminal console application.

    ... I don't know how to get any input from keyboard (the new path of application) of the console terminal...

    You can use the interface for RS232 communication standard series. If for example you send 1, 2 or 3 as a string to the cRIO and then you change by program the ni - rt.ini to change the path of access between a startup2.rtexe and startup1.rtexe, startup2.rtexe.

    Moreover, I have to restart the controller every time I change the path.

    When you use the method with the executable and then one more, then Yes.

    IAM cannot use the Subvi because I need to change code fpga also to different instances.

    I don't understand why using SubVIs on the RT does not give you the ability to change the fpga code.

    If the second method example would be Sub1.vi, Sub2.vi and Sub3.vi. When you get the 2 interface command series, you close the reference to the FPGA1.vi that is used in Sub1.vi and stop Sub1.vi. Then, you start by program Sub2.vi where you open and run the FPGA2.vi.

    Christian

  • How to run repair downloads when the local disk (c) is bad, system32, rundll

    I am home with one leg broken, broken arm, a broken jaw and having my left shoulder replaced, my question, can I me pls someone, anyone, to come and go in my store and get my sled 5lb.hand, I have six kids and they will get no money, in any case, my snowmobile accident, me in front of this infernal thing two months ago. So you can surmise I don't know anything about computers, but I managed to eek exist on this subject, now all I get is not a valid windows, system32, rundll rasapi32 image, I tried to download stuff to repair, but everything on the local drive (c :)) how that will help its just put more wood on the fire I can say) , and I can't get one, that is running. signed, broke and in maine.thanks. PS.it all started after I lost the sound on my speakers.

    Hello

    ·         Are you able to boot to the desktop normally?

    If you are not able to boot to the desktop then, I suggest to do a restore of the system from the recovery console and check if you're able to start on the system or not.

    How do I recover from a corrupted registry that prevents Windows XP startup

    http://support.Microsoft.com/kb/307545

  • Close an interface based on the CRC errors

    We have 4510 with double 10 gig links to 6509.  When one of our interfaces begins to accumulate the crc errors its impact on latency and availability of our users behind the 4510.  Either the interface err - disable or manually stop us it and the other link 10 gig is unlocked by spanning tree and the traffic starts to flow as usual.  Is it possible to use the EEM to detect these errors and entry of the crc and stop the interface?

    I'm looking at the below as resolution:

    Te5/1 trap to bypass authorization event manager applet

    "event TenGigabitEthernet5/1 setting input_errors_crc entry-op name interface entry-val 0 entry value output-comb type or output-gt exit-val 0 exit value type op - the exit time 5000 output-event-polling interval of the true 100 maxrun 10000.

    action 1 cli command "configures terminal.

    Action 2, command cli "te5/1 interface.

    Action 3 cli command "shutdown".

    An EEM applet will work for you, but the way you have it designed could not do what you want.  Try this:

    authorization of monitor_te51 event handler applet work around

    event interface name TenGigabitEthernet5/1 setting input_errors_crc entry-op gt entry-val 0 increment type entry exit-val 0 out of operation eq output-type increment

    command action 1.0 cli 'enable '.

    Action 2.0 cli command "config t.

    Action 3.0, command cli "int DUREE5/1.

    action 4.0 'closed' cli command

  • How to run a script using the OMB tcl

    I'm trying to run a tcl script using the following syntax in cmd

    D:\app\Username\product\11.1.0\db_2\owb\bin\win32 > ombplus.bat c:\t.tcl

    and I get the error

    OMB01001: Not connected to the repository.

    The tcl script was basically accompanied by a tutorial and I can't continue the OWB tutorial, unless I run it first

    Departure ombplus.bat

    You can then start the script with the source command such as

    source C:/t.tcl
    

    Be careful with the backslash (he is not C:\t.tcl)

    You must also add a connection before your script to OWB with the OMBCONNECT

    OMBCONNECT $UserLogin/$UserPassword@$DBHostName:$DBHostPort:$ServiceName USE REPOSITORY '$RepositoryUser' USE MULTIPLE_USER_MODE
    

    Replace the parameters $ with your own value.

    And then your script, you can disconnect:

    OMBDISCONNECT
    

    Success
    Nico

    Documentation is here for the 11g OMBCOMMAND
    http://download.Oracle.com/docs/CD/B28359_01/OWB.111/b31279/TOC.htm

Maybe you are looking for