How to skip a train step on the basis of field value set by the user

Hi,
I am working with JDev 11.1.1.2.0 and ADF 11g.
I am using Taskflow with train steps. I have a requirement that, say, in 1st step I am showing a screen with many fields.
One such field is a dropdown. On the basis of the selected value of the drop down I want to skip say steps 2 and 3 and jump to step 4. When on step 4 if user click 'back' then it should go back to step 1 rather than 3.
Can this be achieved? If so can anyone pls share a small sample OR send a link?
Thanks in advance.

Here a task flow with the skip properties used to evaluate a value that was selected in a lov components in the first page (radio button). Note the use of the attributeValue method to get the attribute from the binding (using inputValue caused a type mismatch when executing the comparison).
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
  <task-flow-definition id="task-flow-newFlexStandard-definition">
    <default-activity id="__1">CreateInsertStandardFlexParameter</default-activity>
    <transaction id="__41">
      <requires-transaction/>
    </transaction>
    <data-control-scope id="__42">
      <shared/>
    </data-control-scope>
    <task-flow-reentry id="__43">
      <reentry-allowed/>
    </task-flow-reentry>
    <view id="createNewStandardFlexParameter">
      <description id="__22">Saisir le code d'identification interne et les éléments descriptifs du nouveau paramètre standard.</description>
      <display-name id="__21">Edition du nouveau paramètre</display-name>
      <page>/pages/standardFlexParameter/createNewStandardFlexParameter.jsff</page>
      <train-stop id="__2">
        <display-name id="__19">Edition de nouveau paramètre standard</display-name>
      </train-stop>
    </view>
    <view id="selectSingleTreeFlexParameter">
      <page>/pages/standardFlexParameter/selectSingleTreeFlexParameter.jsff</page>
      <train-stop id="__17">
        <display-name id="__28">Classe de paramètres unique</display-name>
        <outcome id="__44">initializeFlexStandardTreeRow</outcome>
        <skip>#{bindings.FsClasscardinality.attributeValue !='1'}</skip>
      </train-stop>
    </view>
    <view id="selectMultipleTreeFlexParameter">
      <page>/pages/standardFlexParameter/selectMultipleTreeFlexParameter.jsff</page>
      <train-stop id="__18">
        <display-name id="__29">Classes de paramètres multiples</display-name>
        <skip>#{bindings.FsClasscardinality.attributeValue != '*'}</skip>
      </train-stop>
    </view>
    <view id="selectSingleFlexParameter">
      <page>/pages/standardFlexParameter/selectSingleFlexParameter.jsff</page>
      <train-stop id="__24">
        <display-name id="__27">Sélection d'une occurence de paramètre</display-name>
        <skip>#{bindings.FsItemcardinality.attributeValue !='1'}</skip>
      </train-stop>
    </view>
    <view id="selectMultipleFlexParameter">
      <page>/pages/standardFlexParameter/selectMultipleFlexParameter.jsff</page>
      <train-stop id="__25">
        <display-name id="__26">Sélection de plusieurs occurence de paramètre</display-name>
        <skip>#{bindings.FsItemcardinality.attributeValue !='*'}</skip>
      </train-stop>
    </view>
    <view id="summaryNewStandardFlexParameter">
      <description id="__4">Présentation des éléments saisis ou modifiés. Confirmation ou annulation de l'opération.</description>
      <display-name id="__3">Résumé des changements</display-name>
      <page>/pages/standardFlexParameter/summaryNewStandardFlexParameter.jsff</page>
      <train-stop id="__9">
        <display-name id="__23">Résumé des changements et confirmation</display-name>
      </train-stop>
    </view>
    <task-flow-return id="commitNewStandardFlexParameter">
      <outcome id="__10">
        <name>commitNewStandardFlexParameter</name>
        <commit/>
      </outcome>
    </task-flow-return>
    <task-flow-return id="rollbackNewStandardFlexParameter">
      <outcome id="__11">
        <name>rollbackNewStandardFlexParameter</name>
        <rollback/>
      </outcome>
    </task-flow-return>
    <method-call id="CreateInsertStandardFlexParameter">
      <method>#{bindings.CreateInsert.execute}</method>
      <outcome id="__48">
        <fixed-outcome>createInsert</fixed-outcome>
      </outcome>
    </method-call>
    <method-call id="createInsertFlexStandardTree">
      <method>#{bindings.CreateInsert.execute}</method>
      <outcome id="__32">
        <fixed-outcome>CreateInsert</fixed-outcome>
      </outcome>
    </method-call>
    <train/>
    <control-flow-rule id="__12">
      <from-activity-id id="__13">summaryNewStandardFlexParameter</from-activity-id>
      <control-flow-case id="__15">
        <from-outcome id="__16">commit</from-outcome>
        <to-activity-id id="__14">commitNewStandardFlexParameter</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__49">
      <from-activity-id id="__50">CreateInsertStandardFlexParameter</from-activity-id>
      <control-flow-case id="__51">
        <from-outcome id="__53">createInsert</from-outcome>
        <to-activity-id id="__52">createNewStandardFlexParameter</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__6">
      <from-activity-id id="__5">*</from-activity-id>
      <control-flow-case id="__7">
        <from-outcome id="__20">cancel</from-outcome>
        <to-activity-id id="__8">rollbackNewStandardFlexParameter</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__30">
      <from-activity-id id="__31">*</from-activity-id>
      <control-flow-case id="__33">
        <from-outcome id="__35">initializeFlexStandardTreeRow</from-outcome>
        <to-activity-id id="__34">createInsertFlexStandardTree</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__36">
      <from-activity-id id="__37">createInsertFlexStandardTree</from-activity-id>
      <control-flow-case id="__39">
        <from-outcome id="__40">CreateInsert</from-outcome>
        <to-activity-id id="__38">selectSingleTreeFlexParameter</to-activity-id>
      </control-flow-case>
    </control-flow-rule>
    <use-page-fragments/>
  </task-flow-definition>
</adfc-config>

Similar Messages

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • HT204053 I bought the iPhone 5 today.  I have 2 apple IDs.  I entered the wrong one when I set up the phone.  How can I change it to the other ID?

    I bought the iPhone 5 today.  I have 2 apple IDs and I entered the wrong one when I set up the phone.  How can I change it to the other one?

    Start Over...
    ERASE / Clear All Data
    See  Erase your device  Here  >  http://support.apple.com/kb/HT4137
    Go to Settings > General > Reset > Erase all content and settings

  • HT4527 My ipod died and my computer is old, so I bought a new one of each. I want to transfer my music from my old computer to the new one before I set up the new Ipod. how do I do this?

    My ipod died and my computer is old, so I bought a new one of each. I want to transfer my music from my old computer to the new one before I set up the new Ipod. how do I do this?

    Go back to the article you asked this question from and pick the option which is the best in your situation.
    (93470)

  • How to set the where clause of a value set on the basis of a form field

    I am using a DFF(Descriptive FlexField), which needs to display the value of a certain column(say columnA) on the basis of the value of another column(say columnB).
    So i have created a value set which points to the table which has both these columns, and the DFF uses this value set. However, the problem is that I have not put any where clause in the value set, because of which i cannot handle the exact fetch returns more than one rows error.
    The query has to be as follows:
    select ColumnA from tbl where ColumnB = [ a form value ];
    What I want to know is how can i get the value of a certain field of a certain block of the form in the above query.
    Edited by: 981615 on Jan 14, 2013 12:48 AM
    Edited by: 981615 on Jan 14, 2013 12:48 AM

    Just have a look over these two statements if it solves your problem
    one time where clause
    Set_Block_Property('BLOCK_NAME',ONETIME_WHERE,your form item);
    dynamic where clause
    set_block_property('BLOCK_NAME'default_where, your form itme)
    you can where clause at run time from any procedure or some triggers

  • How to get the object class field value in CDHDR table for vendor

    hi
    how to get the object class field value in CDHDR table for vendor

    Try KRED/KRED_N as object class in CDHDR for Vendor.

  • HT201269 I got a new iphone but the laptop I used to set up the old phone died, so now all I have is an iPad. How do I get my apps, contacts etc on to my new phone?

    I got a new iphone but the laptop I used to set up the old phone died, so now all I have is an iPad. How do I get my apps, contacts etc on to my new phone?

    sign in with your apple id on the new phone, then go to app store - update - purchase - all/not on this phone and hit the cloud next to the app to downlaod.

  • How to fetch the Business area field value from MIRo into report

    Hi,
    I want to create a report for MIRO with payment details.
    How to fetch the business area field value in to report.
    What is the table name. I verified it is storing in structure. Which is the right table for fetching that value with reference to MIRO.
    After that, how to find the accounting document for payment and check details.
    What are the table names and field names. What we can get from PAYR table.
    With regards
    Lakki

    Dear,
    For Bussiness area
    RKPF-GSBER

  • How to restore to an earlier time mac if you didn't set up the time machine

    how to restore to an earlier time mac if you didn't set up the time

    Unless you have Time Machine setup of were using some other backup method such as creating a bootable clone you cannot restore to an earlier time.

  • How to check radio button as default on the basis of database value?

    Hi Friends,
    I have one jsp, in which I am having a field of radio button, which have two boolean values of 0 & 1. I want to check the radio button as default on the basis of database value, kindly help me out.
    Thanks a lot in advance. Please help me out.

    probably, when using struts you should do all your calculations in action class it self
    Eg. in jsp
    <html:radio name="myForm" property="myProperty" value="0">0</html:radio>
    <html:radio name="myForm" property="myProperty" value="1">1</html:radio>
    in Action class
    if (databaseValue == 0)myForm.setMyProperty(0);
    else if (databaseValue == 1)myForm.setMyProperty(1);
    rest will follow
    whatever be the value it will come selected

  • How can we hide the non key field values in the sm30 display

    hello experts,
    I have to protect the non key field values in the sm30 display , can u help me out wat changes i have to do in the layout.

    Hello Gopal,
    What do you mean by 'protecting' your non-key field value?
    1) You want to display it, but make it non-changeable
    A - Make the field as output-only in screen, as already answered by a preivous collegue
    2) You do not want to display this field at all
    A - Goto the DDIC definition of the view (not possible for a table directly), and maintain the required field as a Hidden. After activating, remember to re-generate the maintenance dialogue. Also, please maintain Event 21, in case you want to access/change the value of this field in background.
    3) You want to maintain special validations/checks for the field
    This can be easily done by introducing your modules within the CHAIN-FIELD commands in the PAI of the generated screens.
    Best Regards,
    Rekha

  • How can I choose the photo I like to set as the icon?

    Hi, is there a way that allows me to choose the photo I like to set as the icon for an album (I mean the little square on the left side of the album's name)in Photos?
    Thanks.

    Okay...missed that Windows thing.
    Try this: open iTunes, and right-click the album in question. That should open a dialogue box.
    Select "Get Info" and left click that. Double click the big box that says "Artwork." That should open another dialogue box, that allows you to choose pictures from that particular folder.
    You should be able to change folders at this point. Do so to whatever folder your pic is in.
    Select the picture name and left click that. iTunes should as you to select or choose. Click that and you should have the picture you want.
    Doc

  • MissingFieldException[ The following required field is missing from the lau

    Hi, I'm new to this forum so please put this thread in the right place if I have made a mistake.
    But here's my problem:
    I'm using jre 7 with the latest version.
    I downloaded and wanted to launch a Java based .jar game, which runs perfectly for the other users but my JRE gives the following error:
    Application error - unable to launch the application.
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main.access$000(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    On the forum where is the game developed i got the following answer:
    ''+it seems your OS/jre installation tries to start the jar as an applet which fails, because it's a regular application and not an applet. is there any way you can convince your jre to start LS as an application? i would like to give better/more detailed advice, but i'm not running windows, so i can't check for myself/try to work out a step-by-step guide.+ ''
    As I have browsed the internet for hours and haven't come up with a solution I'm asking for some help.

    That error seems to indicate that the JNLP file is broken because it is missing the starting starting <jnlp> XML tag; I'll take a guess and just say that it is completely empty. Since it works for other users, apparently somehow when you download it on your computer you end up with a broken file. No idea why, no way for me to know why either. I don't have access to your computer. All I can say is: try in another browser and if that doesn't work, try on another computer. If it works there, well then you may have to face the fact that your computer might need a clean install.
    And PS: this is a Java programming forum, not technical support for whatever game you want to play that just happens to use Java.

  • Error: The following required field is missing from the launch file: jnlp

    PLEASE help me.
    I was at Starbuck's today trying to install new software for my new wireless internet card and when I finished I could no longer access any of my applications that require java... I have a macbook pro dual platform computer. When I try to access www.bayphoto.com to download my application it says: (see below) (which I think is strange because it's all about Starbuck's and it should be my java code- I think...). Like I said - I have no idea what's going on or how to fix this. Please help me or at least tell me whom to call- I feel so stupid- I just need help- ATT? Starbuck's? Sun?
    Error: The following required field is missing from the launch file: <jnlp>
    Under the "exceptions" tab it says:
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:88)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:72)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:214)
         at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:127)
         at com.sun.javaws.Launcher.launch(Launcher.java:95)
         at com.sun.javaws.Main.launchApp(Main.java:305)
         at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
         at com.sun.javaws.Main$1.run(Main.java:108)
         at java.lang.Thread.run(Thread.java:613)
    Under the "launch file tab" it says:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>AT&T Wi-Fi Service @ Starbucks</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Starbucks Entertainment presented by AT&T Hotspot" />
    <meta name="keywords" content="AT&T, Starbucks, Wi-fi, Wifi, Hotspot, coffee, music, books, games, fresh sheet, third place, online" />
    <meta name="author" content="Starbucks Entertainment" />
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <script type="text/javascript" language="javascript" src="/dhtml/master.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_core.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_event.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_xhr.js"></script>
    <script type="text/javascript" src="/dhtml/att/dhtml.js"></script>
    <style type="text/css">
    copied from starbucks master.css
    body {
         background:#200D06 url("/graphics/att/themes/sbux/hotspot_bkgd.jpg") repeat-x scroll;
         color:#555555;
         font-family:Arial,Helvetica,sans-serif;
         font-size:small;
         line-height:1.5em;
         margin:0pt;
         padding:0pt;
         text-align:center;
    #wrap {
         font-size:95%;
         margin:0pt auto;
         text-align:left;
         width:980px;
    #starbucksframe {
         margin:15px 0pt 0pt;
         padding:0pt;
    /*our addendae*/
    div#header {
         height:95px;
         width:980px;
         background-image:url("/graphics/att/themes/sbux/header_bg.jpg");
         background-repeat:no-repeat;
         margin:0px;
         background-top:0px;
         background-left:0px;
         background-color:transparent;
    div#btn_ctti {
         position:absolute;
         top:10px;
         margin-left:388px;
    div#sbux_lfrm {
         display:inline;
         font-size:10px;
         color:#FFFFFF;
         margin-left:245px;
         top:49px;
         position:absolute;
         line-height:10px;
         font-family:verdana,arial,helvetica,sans-serif;
    div#sbux_lfrm form {
         margin:0px;
    div#sbux_lfrm a, div#sbux_lfrm a:link, div#sbux_lfrm a:hover, div#sbux_lfrm a:active, div#sbux_lfrm a:hover {
         color:#FFFFFF;
    div#sbux_lfrm form label {
         display:none;
         visibility:hidden;
    div#sbux_lfrm form input, div#sbux_lfrm form select {
         font-family:verdana,arial,helvetica,sans-serif;
         vertical-align:middle;
    div#sbux_lfrm input.example {
         color:#656565;
    #sbux_lfrm_row1, #sbux_lfrm_row2 {
         margin:0px;
    #sbux_lfrm input#username, #sbux_lfrm input#password, #sbux_lfrm input#password_pw {
         width:136px;
         margin-right:6px;
         font-size:10px;
    #sbux_lfrm select#roamRealm {
         width:130px;
         font-size:10px;
         color:#656565;
         margin-right:6px;
    #sbux_lfrm_row2 {
         position:absolute;
         top:21px;
         left:-4px;
    div#aupAgree_row {
         margin-top:4px;
         position:relative;
         left:-4px;
    div#aup_box {
         float:left;
         position:relative;
         top:-3px;
    div#aup_text {
         float:left;
         line-height:10px;
    div#tm_badge {
         width:115px;
         height:94px;
         float:right;
         margin-right:0px;
         margin-top:0px;
    div#password_value {
         display:inline;
    div#hidden_pw_field {
         display:none;
         visibility:hidden;
    div#sbux_lfrm.css_form {
         margin-top:0px;
    </style>
    <style>
    /* IE specs */
    body {
         font-size: x-small; /* IE5 Win */
         voice-family: "\"}\"";
         voice-family: inherit;
         font-size: small;
    html>body { /* be nice to Opera */
         font-size: small;
    /* self-clearing floats
    /* trigger hasLayout and target ie5+6/win only */
    *:first-child+html #header,
    *:first-child+html #login_wrapper {
         height:95px;
    #ny_legal {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    #ny_legal a:link {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    </style>
    </html>
    TOO LONG TO INCLUDE ALL CODE

    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="file:///C:\eclipse\workspace\studentconverter\webroot" href="studentconverter.jar" >two things wrong here -
    first codebase is not legal URL, File.separator (backslash on windows) needs to be converted to forward slash in URL's.
    second, the href is not to the jnlp file, it is to the jar !
    href="studentconverter.jar" - should this be href="studentconverter.jnlp" ?
    /Dietz

  • Tracking the changes made to the custom table  field value

    Hi all,
           can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
    Example: if i changed the  value of field  'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.

    -> try TA: SCU3
    regards Andreas

Maybe you are looking for

  • Parsing XML and Storing values in instance variable

    hi, i'm new to XML. here i'm trying to parse an XML and store their element data to the instance variable. in my main method i'm tried to print the instance variable. but it shows "" (ie it print nothing ). i know the reason, its becas of the the end

  • Cannot open nef files of nikon d800 in my cs5 photoshop and cannot download the update

    How can I update a compatible update to photoshop cs5 to open nef fies taken by nikon d800

  • Disk Utility Shows Incorrect Free Space

    I've had this problem for a while now, and I've been unable to figure out why. I can't even remember when it started, but it has become quite a nuisance. The Finder window shows that I have 302GB of harddrive space remaining, out of 500GB. The Activi

  • Export/Import Issues

    FYI, I recently exported my app to a different workspace and noticed the following: - My calendar day link was gone. - The return values in one of my Static LOVs had become character instead of number. Bill

  • Transport stalled

    HI,,                Request was transported a week back but still the request is showing import running(truck symbol). please suggest how to solve this issue.