Workflow based on the input parameter

I use JDev 11.1.1.6.

I have an application that uses a workflow with 'ExecuteWithParams' to get the parameter from a URL and display the records on a page.

I have it using a Bind Variable on the VO that corresponds to the InputParameter on the control ExecuteWithParams.
What I would like to make is the flow to another page, depending on the parameter used in the URL.

Example:

If param in the URL is '? TEAM = 1 "then I go to the TEAM page and display records for TEAM 1.

If param in the URL is '? REGION = 3 "then I would go to the REGION page and display records for REGION 3.

Thank you
Ray

This could probably be resolved using a router activity or a custom default activity in the workflow method. Then from the method/router, can easily get to the desired activity of the TF based on an input parameter. For example if the parameter is route 'region' to executeRegionIteratorWithParams, which, in turn, can "go" to view displayRegions activity.

Tags: Java

Similar Questions

  • How to change a region title based on the input parameter?

    Hi all

    I need to change the title of the dynamic region based on the value of a selection list in another region.

    Can someone help me in this?

    Kind regards
    Santini.

    Hello

    You can use & P1_ITEM_NAME. (including the & and the.) the title of region - this string will be replaced by the value of the item page called P1_ITEM_NAME, then change the name according to your order of the day of the page

    Andy

  • Try to get the input parameter of a web service Yanick based on the value of the table

    Hello-

    I am new to ADF and Jdev 11 g (I'm a developer of forms). I had created a web service from a db stored pl/sql package. I can run a function with a parameter of the ADF faces.

    Instead of the input being entrable user parameter, I want to be based on a selected value of ADF table column. How to correlate the value of the selected row in the column as an input function parameter?

    I played with an ADF output text based on the table column ADF PartialTriggers the value set for the ADF... table that updates the output text based on the selected column. Can I use some kind of partial trigger on the input parameter?

    From a point of view of forms, I am looking for ownership of "Copy Item value" :)

    Two options:
    Declarative in tab link, as shown here:
    http://blogs.Oracle.com/Shay/2009/07/java_class_data_control_and_ad.html
    (its a method POJO but should be the same for a Web Service invoke).

    Or via code in your backing bean:
    http://blogs.Oracle.com/Shay/2009/06/setting_parameter_value_for_bi.html

  • SQL * more: how string manipulation on the input parameter?

    Hi people,

    I will be grateful if you could help me create a sql (NOT a bash script!) script that uses a substring of the input parameter to a file name that will be rolled up into stuff.

    example:

    -sample.sql

    which can be used as:

    -$ sqlplus/nolog @sample.sql abcd_efgh

    and the script works similar to the pseudo-code below:

    "...

    file_name = 'test_ ' | substr ("& 1 ', 6)

    name of spool file

    ...

    spool off

    "

    Thank you

    Babak

    Hello

    I found a solution:

    "

    ...

    column new_value filename filename

    Select "test_". filename substr('&1',6)

    Double;

    coil & filename

    ...

    spool off

    ..."

  • The input parameter to pass between 2 maybe bounded task flows a whole list of table or table?

    Hello experts, Im a beginner to ADF dev, currently using Jdev / ADF 12 c.

    I need to move from a table or list of tables of the values of A bounded task flows to delimited the workflow B. How to do in this case, the use of an input parameter?

    I mentioned the following links which have had in the string values as an input parameter, and replaced related fields accordingly with the data type of table list, but it did not work:

    http://docs.Oracle.com/CD/E21764_01/Web.1111/b31974/taskflows_parameters.htm#ADFFD1689

    https://technology.AMIS.nl/2014/01/21/taskflow-InputParameters-explained/

    Oracle JDeveloper 12 c (12.1.2) tutorials - working with stubborn workflows, regions and routers

    The requirement of the business is such that I need 2 different workflow, where the workflow B must be in a popup with train component.

    I thought of using just a stream unique task bounded with pop-up windows on the pop-up windows... which is less elegant... y at - it smoother workaround?


    Thank you very much.

    Even though I know this isn't answering your question, let me stress the design element: in the ADF, view objects are intended to replace beans support / managed in ADF in detention is. It is one of the worst confusion with ADF + ADF BC, where people still use accompanying beans on the scope of the session/view/task flow to maintain user state. Instead of this, you must use display objects, the objects in view transition in case the data does not come directly form DB.

    To finally answer your question: you can pass any type of objects for workflow settings, just make your parameter of type java.lang.Object. Then you can convert it in turn, in the second task flow.

  • Presentation: default value (possible error) based on the input argument at the pre-trial stage partially the value

    Orchestrator 5.5.1 using 1617127. Same results with different JDK of Oracle 1.7.0_55, 1.7.0_60, 1.7.0_65 and 1.8.0_11.

    Create a workflow with two entrances, two channel. Adjust the presentation by adding a new step and place the second entry in the new stage. Add a property to a default value for the second input parameter. Set default OGNL and specify the first parameter of default entry.

    Save and close. Run the workflow. Enter several characters for the first input parameter, and then click Next. The default value displayed for the second input parameter is usually the first character or a few initial characters of the first input parameter.

    Behavior seems to be related to how fast the first input parameter is typed. Typing slow gives only the first default character for the second input parameter. Fast typing usually results in several characters. Paste the value complete for the first parameter usually gives full value as the default value.

    I want to derive from the default values for the following input parameters from of the entries in a previous step. I use an action to create a more interesting default value that above, but I still need the total value for the first parameter to build my default.

    Is there something that I am missing, or is this a bug?

    Thank you

    Bob W.

    Hi Bob,

    This behavior is by design - default values are evaluated only once. What you want is achievable via another property called "data binding".

    I hope this helps.

  • Navigation based on the input textfield value?

    Hi all.

    I use Captivate4. In my project, I would like to navigate from one slide to another slide based on the value entered in the input textfield (as if as a drop down menu).

    slide1.jpg

    The image shows, if the user enters the values, it must navigate to slides respectively. So, I got a tip in this way action.

    actions-dialog.jpg

    Hello

    Welcome to the Adobe Forums,

    In order to reach the workflow that you specified in your post that you need several "check if ' for all defined slides the tip on the button click Action.

    For Ex.

    For "a" TI will look like this:

    Because if "two" will look like this:

    Rest allows you to change the variable, just make sure that these all will be on this same script for a button

    It could be useful!

    Thank you

    Vikram

  • Change the structure of program based on the input file

    I have a program that takes parameters of an input file and then executes a Visual acquisition, using IMAQ, controlling some other hardware at the same time.  The duration of the various stages of this process control settings.

    There is a sequence stacked structure to control the playback of the input file, the initialization of the hardware, and then a while loop on the last image to actual purchase.

    The user of the program now wish to have several games acquisition in the same race, possibly with different time settings.  This would mean different iterations of the final loop, based on the parameters of the input file.  There could be 5 games of acquisition on occasion, 3 on another, etc., in a performance of the program.

    The structure VI already seems a little baroque, and I don't want to make it even more complicated.

    I would appreciate advice on how best to proceed, because I'm really a novice of LabView.

    If you use a "State Machine" architecture, you can do exactly that.

    Instead of having a structure of stacked sequence, it is essentially a case structure in a while loop.

    Each case represents a State.

    So in your case, you would have a State for:

    -reading the input file

    -initialization of hardware

    -data acquisition

    You can have the user controls the number of iterations of the State for the acquisition of data that you want to run.

  • Can you have several lead scoring the workflow based on the type of contact Eloqua?

    Hello!  We are preparing to implement Eloqua 10 and I'm working on lead scoring workbook.  I wonder if you can have different lead scoring evoluted based on the type of contact Eloqua?  My company serves four distinct markets and was hoping that lead workflow notation might be different based on what kind of contact I connect to the.

    Thank you!

    Hi Lucie,.

    Yes you can, I would say at the outset you do not add too many criteria, but rather seek to constantly refine and edit your program (s) that you were going to.

  • Use this.submitForm () to submit e-mail messages based on the input from the user

    I am using the function this.submitForm () in order to allow users to send the form instead of the integrated due to various e-mails depends on the user of a text field input.

    Under work - except that I want the pdf file to send instead of fdf data. I'm trying to make it work using the cSubmitAs: input parameter, but can't seem to get the right syntax...

    if(manufacturer.value == "Manufacturer A") {
     this.submitForm(
      "mailto:[email protected];[email protected]?&[email protected];[email protected]&subject=New Service Request Submittal"
      );
    }
    else {
     this.submitForm(
      "mailto:[email protected];[email protected]?subject=New Service Request Submittal"
      );
    }
    

    After doing a little research, I came with:

    var manufacturer = this.getField("manufacturer");
    var nEmail = "mailto:[email protected];[email protected]?&[email protected];[email protected]&subject=New Service Request Submittal";
    var allEmail = "mailto:[email protected];[email protected]?subject=New Service Request Submittal";
    if(manufacturer.value == "Manufacturer A") {
     this.submitForm({nEmail, cSubmitAs: "PDF"});
    }
    else {
     this.submitForm({allEmail, cSubmitAs: "PDF"});
    }
    

    But I seem to be getting errors JavaScript no matter what I try...

    When you use "{" a "}" in a method indicates you specify the name of the parameter and then the value, and not only the value of positional parameter. If the statements of 'this.submitForm' are the following:

    this.submitForm ({cTo: nEmail, cSubmitAs: 'PDF'});

    and

    this.submitForm ({cTo:allEmail, cSubmitAs: 'PDF'});

  • Dynamic creation of a control based on the input

    Hello

    Is it possible to change a control on the front panel?

    If the entry is a string I want to show a string. If the input is an integer, I want to show a cursor for example.

    I have a plan to implement on the different tabs and display the tab which must be shown, but maybe there's a faster, easier way?

    Thanks for the help!

    Kim

    Hi Kim,

    Thanks for the additional info.

    The dll and its manual to define what can be output and that's why you need to refer to the manual.

    When you call a dll in LabVIEW, you must set the parameters of static output and so data cannot be of a type for example if set it as a table, it will always be a table. This look for the 'node of function call' in the range of functions-> connectivity-> libraries & Executeables.

  • Loop of work based on the input (as if... else) variables

    HI friends,

    This is my first, if I'm not following all the rules excuse and say to those.

    I want to use the loop for based on the variable passed.

    Under code is wrong, but you can understand my intention.

    CREATE OR REPLACE PROCEDURE sp_pins_deactivation)

    pi_prepaidcard_no IN STR2048_TBLTYP, - Table type

    pi_from_range IN VARCHAR2,

    pi_to_range in NUMBERS)

    Start

    IF pi_from_range is not null and pi_to_range is not null

    THEN

    I'm in pi_from_range... pi_to_range

    LOOP

    ON THE OTHER

    I'm in pi_from_range... pi_to_range

    LOOP

    END IF;

    .......................

    .....................

    ..............

    END LOOP;

    end sp_pins_deactivation;

    create or replace procedure nTtest (nT nTable, start_val number: = null, end_val number: = null) is

    Start

    I'm in coalesce (start_val, nT.first, 1)... COALESCE(end_val,NT.) Last, 10)

    loop

    dbms_output.put_line (I |) ': ' || (-case when nT.exists (i) and (i) nt end of another "no entry");

    end loop;

    end;

    /

  • Filling of textfield based on the input of another textfield

    Hi guys,.

    I have a problem.

    I have a textfield and the input of information in which must be completed in antother textfield. It seems easy, but the trick is. For each new entry a new textfield should appear with this information. My problem is that it creates a textfield, but for every letter I type in and not to a string when I press ENTER.

    See attached example.

    I hope you can help me!

    Thank you

    Diana

    This is the code: (I can't reach the example for some reason any) Table_SF._Repeat_SF.addInstance (1); xfa.resolveNode "(Table_SF. ("Repeat_SF [" + (Table_SF._Repeat_SF.count - 1) + ' "] '). TextField1.rawValue = xfa.event.newText;

    Instead of placing the code in the event changes, copy it to the Exit event.

    Table_SF._Repeat_SF.addInstance (1);

    xfa.resolveNode "(Table_SF. ("Repeat_SF [" + (Table_SF._Repeat_SF.count - 1) + ' "] '). TextField1.rawValue = this.rawValue;

    Thank you

    Srini

  • Conditional WHERE clause based on the input of parameter

    When the restriction of data based on a parameter I generally use the following syntax:

    AND p.start_date = NVL (p_start_date, p.start_date)

    so IF the parameter is null, THEN I join only on itself, OTHERWISE we filter on parameter.

    New requirement means greater than or equal to, so I tried this:

    AND THE CASE
    WHERE (p_start_date = NULL) THEN
    p.start_date = p.start_date
    ON THE OTHER
    p.start_date > = p_start_date
    END;

    but, at least, is syntactically incorrect.

    Any suggestions?

    Thank you!

    Do not use = with NULL - change IS null

  • The simultaneous program based on the different parameter values.

    The PO report runs as a concurrent program, but this should launch another program to run after his execution based on his number of purchase order as a parameter to the next competitor program.

    When executing this report IN., it must check for mail electronic vendor id and sends the output of this report to the respective suppliers.

    Any help would be appreciated.

    A very urgent need.

    Thank you
    Atul

    Published by: Atul July 11, 2011 16:10

    Cause: FDPSTP failed due to the ORA-29280: invalid directory path
    ORA-06512: at "SYS." UTL_FILE.

    Search MOS for "ORA-29280: invalid directory path" and "UTL_FILE" and go through the docs.

    Thank you
    Hussein

Maybe you are looking for