Conditional branching and breadcrumbs?

Hi all,
What is the best way to do conditional "back/cancel" branching, as well as conditional breadcrumbs? I seem to remember seeing a blog posting somewhere, but can't find it now that I need it.
I have multiple ways to enter a certain page. For instance, pages 3, 5, and 7 all can branch to page 10. I have a cancel button on page 10, and breadcrumbs. On page 10, I'd like the cancel button to branch back to whichever page called it, as well as have the breadcrumbs properly show the page taken to get to page 10. I'm not quite sure of the best method to do this.
Any thoughts/help is greatly appreciated!
Thanks
David

Lee McCann wrote:
Dmetri's blog. See this blog: http://dgielis.blogspot.com/2008/03/dynamic-breadcrumb-in-apex.html
For a branch, you can just specify a page item - like &ITEM_NAME. - to branch to.
Ta,
Trent

Similar Messages

  • Follow-up on Conditional Branching

    Good day!
    I was able to add conditional branching as per Lily's(biri) instructions (please refer to this thread) but I noticed that it no longer works for one of the buttons AFTER I added a rollover caption, even after I removed the captions. Any thoughts on this please?
    Please advise. Thanks!

    Thank you for replying Lily.
    Here's what I have - the menu slide where I applied the conditional branching:
    And this is how the other slides look like:
    Before I applied the rollover captions, it worked as intended: learner clicks either buttons and is returned to slide_menu. If the learner has viewed both, it jumps to the activity (slide #36).
    After I applied the rollover captions, the button 1's behavior does not follow the conditions, i.e. I start with button #2 > slide 35 > slide_menu > button #1 > slide 34 > slide 35 > slide 36. It should not go to slide 35 a second time.
    Does this help? Much obliged!

  • Count of assignments, conditions,branches...

    Hi there,
    i've got following sourcecode :
    String s;
    int tmp;
    tmp=(int) data & 0xff;
    s = Integer.toHexString(tmp).toUpperCase();
    if ( data > 31 && data < 128 )
    ascii += (char)data;
    else
    ascii += ".";
    if ( tmp < HEXADEZIMAL )
    System.out.print("0");
    My Task is finding out how much conditions, branches and assignments
    there are in this code.
    1. st I tokenized this source code by condition "=", then i got a lot of tokens to compare with possible conditions.
    2. now I try to find out how to identify conditions or assignments in tokens like this : "ascii +=".
    Any idea ?
    greetings
    Bastian

    Bastian:
    I assume that your task is writing a program to answer the question, so just counting is out.
    Start by creating a FileReader to open your file. Then feed this to a StreamTokenizer. Create a loop that displays one token at a time and prints its ttype, nval and sval. Get comfortable with this one by fiddling with the various StreamTokenizer settings and watching what you get. That's about 80% of the work.
    Now its time for your own nextToken() method. It should first ask the StreamTokenizer for its nextToken(), but it then has to look ahead at the next token to see if "+" is followed by "=", for example. If it gets a compound token (check the Java Language Specification's operator table - there aren't many) it should combine the characters into a single token.
    Finally, your ttype should have a few more types: TT_ASSIGN for an assignment operator is one example. Would this be from a compiler course?

  • OSB conditional branches

    Hi,
    I have problem with conditional branches in OSB.
    I have 2 business services and 1 proxy service which route message to one of 2 business services.
    Conditional branch look like this:
    XPath: ./ter:process/ter:provider
    In Variable: provider
    TerminalKingBranch look like this:
    Label: TerminalKing
    Operator: =
    Value: "King"
    Message is never routed by TerminalKingBranch even message is <ter:process><ter:provider>King</ter:provider></ter:process>
    I try repalce double quotes with single quotes without effect.
    Message is always routed by Default route node.
    Please help.
    Thanks.

    <?xml version="1.0" encoding="UTF-8" ?>
    <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/project/TerminalService/TerminalService"
    xmlns:tns="http://xmlns.oracle.com/project/TerminalService/TerminalService"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="process">
    <complexType>
    <sequence>
    <element name="provider" type="string"/>
    <element name="serviceId" type="decimal"/>
    <sequence>
    <element name="param1" type="string"/>
    <element name="param2" type="string"/>
    <element name="param3" type="string"/>
    </sequence>
    </sequence>
    </complexType>
    </element>
    <element name="processResponse">
    <complexType>
    <sequence>
    <element name="status" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    This is View Stage Configuration      : Route Node
    Route to [ TerminalService ] invoking [ process ]
    Request Actions:
    Assign [ XQuery Resource... ]
    XQuery Resource: Project/Processes/TerminalService/TerminalServiceRequest Variable Names And Bindings: source - $body/ter:process
    to [ transformedRequest ]
    Replace [ node contents ] of [ . ]
    in [ body ] with [ $transformedReq... ]
    $transformedRequest
    Response Actions:
    Assign [ XQuery Resource... ]
    XQuery Resource: Project/Processes//TerminalService/TerminalServiceResponse Variable Names And Bindings: sourceProcessResponse - $body/ter:processResponse
    to [ transformedResponse ]
    Replace [ node contents ] of [ . ]
    in [ body ] with [ $transformedRes... ]
    Edited by: Peter551059 on Jun 9, 2011 11:34 PM

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Unable to customize condition branch

    Hello,
    I'm having a strange issue where I want to put some content in Starter Edition "Virtual Server Post-provisioning" process which sould be allowed as this process has the "workflow" customizable flag.
    I've been able to add some activities but when it comes to a condition branch, I can add it but not configure it, see screenshot below:
    Any hint on what I'm doing wrong ?
    Regards,
    Pierre

    Hi Julio,
    Thank you for your answer.
    I am running Starter Edition 3.0.1 with CPO 2.3.0 and fololowing patches :
    - 2.3.0 Hotfix1
    - 2.3.0 Hotfix2
    - 2.3 Content Update 1
    Which gives this:
    Which patches do you suggest I apply ?
    Thank you.
    Regards,
    Pierre

  • Conditional Branch after an service callout

    Hi All
    I am new to configuring services in OSB.What i want to do is first call a service and depending upon the returned value ,route to other services.But the result of the service callout is availabe in a variable ,say responseBody,and for conditional branch we need only xpath/xquery to test conditions.
    Please Help.
    Regards,
    Chinmay

    Hi All
    I am new to configuring services in OSB.What i want to do is first call a service and depending upon the returned value ,route to other services.But the result of the service callout is availabe in a variable ,say responseBody,and for conditional branch we need only xpath/xquery to test conditions.
    Please Help.
    Regards,
    Chinmay

  • Conditional Branch Execution?

    OK, Newbie here (and a bit frustrated). First application in the works.
    I have 2 ways to get to a page. When I click on the "Create" button, I want to return to the page that called the current page.
    Call them pages 1, 2 and 3.
    The default branching (unconditional branch) is 1 to 3 back to 1. This is a report to form back to report. This is the structure generated when I added the page when I initially generated the application.
    The secondary branching (conditional branch) is 2 to 3 back to 2.
    I set the sequence of the branches to do the conditional branch 1st then the unconditional branch 2nd.
    The "back to 2" is the problem.
    When I set it to "Unconditional" it works. When I set a condition it doesn't work.
    I tried "Request = Expression 1". I set the REQUEST in the button on page 2 to a specific value ("RETURN_TO_2"), but I suspect that when I click the "CREATE" on page 3 the REQUEST value is set to something else.
    So I tried saving the value of the REQUEST from page 2 in a page item on page 3 (P3_X) and used "Value of Expression 1 = Expression 2".
    I tried "P3_X", ":P3_X", "&P3_X", "v('P3_X')" in Expression 1 and RETURN_TO_2, "RETURN_TO_2" in Expression 2 (I think all possible combination of the to expressions).
    None of the combinations does the conditional branch!
    Any suggestions as to where I should go next?
    Thanks - JR

    John:
    I have found it helpful to use the 'Branch to Page Identified by Item (Use Item Name) ' type of branch in such cases.
    I specify the the page to return to in an application_item. The application_item itself is populated by a before header application_process. So if 'G_DEST' is the application item then the application_process simply is
    :g_DEST:= :app_page_id;In your case the branch defined in page 3 will be of the 'Branch to Page Identified by Item (Use Item Name) ' type and use the application_item 'G_DEST' as the item that holds the page-number that is to be the destination for the branch.
    Varad

  • Conditional Branching in Oracle Service Bus

    Can anyone help me to find one sample project on Conditional Branch in OSB.
    The main difficulty I am facing is to fetch the plain text value (which will be used to choose the branch) from an xml node using XPath.
    I think one example project on Conditional Branching in OSB will be very much helpful.
    Can anyone help me please.

    No, there is no such constraint to implement Service Key Provider while using HTTPS call, We can also use Username and Password (basic Authentication) method.

  • Conditional Branching with quiz slides not working

    Attempting to use conditional branches with quiz slidescauses
    the other quiz slides in my presentation to not work correctly. I
    am attempting to create a 'test-out' pre-quiz for a segment of
    slides in the presentation. I followed the instructions to add
    conditional branching per page 46 of the Breeze Presenter User
    Guide to obviously no avail. Is there a simple straightfoward
    manner in which someone has successfully used conditional branches
    with their quiz slides in their presentation?

    Hi,
    I had the same issue.Apparently as of now PDF templates do not support conditional formatting for XML Publisher.
    See Tim Dexter's response to my query at the bottom of this thread...
    Re: Using the '%' operator in microsoft word template builder for XMLP
    I could get some conditional formatting to work on the pdf template but only for the form field font,size and styles using Javascript, but I don't think there is a way to display values for the form field based on an if condition...
    Lavina

  • Conditional Branch Node in OSB

    Hi There,
    I'm trying to set a Conditional Branch in the beginning of my Proxy Service, i'm trying to compare to fields of the body, but when i build the xpath to compare this 2 fields i'm obtaining a compilation error.
    My xpath line is :
    fn:compare(./cre:Trace_PM/trac:Trace_PM/trac:traceLevel/text(), ./cre:Trace_PM/cre:Level/text())
    And the error is :
    XPath expression invalid, not a selection: declare namespace trac = 'http://www.ferrovial.es/XSD/Trace';
    declare namespace cre = 'http://www.ferrovial.es/XSD/CreateTrace_PM';
    declare namespace jca = 'http://www.bea.com/wli/sb/transports/jca';
    declare namespace wsp = 'http://schemas.xmlsoap.org/ws/2004/09/policy';
    declare namespace jms = 'http://www.bea.com/wli/sb/transports/jms';
    declare namespace wsa05 = 'http://www.w3.org/2005/08/addressing';
    declare namespace tp = 'http://www.bea.com/wli/sb/transports';
    declare namespace jejb = 'http://www.bea.com/wli/sb/transports/jejb';
    declare namespace xs = 'http://www.w3.org/2001/XMLSchema';
    declare namespace sftp = 'http://www.bea.com/wli/sb/transports/sftp';
    declare namespace flow = 'http://www.bea.com/alsb/flow/transport';
    declare namespace soap-env = 'http://schemas.xmlsoap.org/soap/envelope/';
    declare namespace wsu = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd';
    declare namespace dsp = 'http://www.bea.com/dsp/transport/sb';
    declare namespace ejb = 'http://www.bea.com/wli/sb/transports/ejb';
    declare namespace wsa = 'http://schemas.xmlsoap.org/ws/2004/08/addressing';
    declare namespace bpel-10g = 'http://www.bea.com/wli/sb/transports/bpel10g';
    declare namespace tuxedo = 'http://www.bea.com/wli/sb/transports/tuxedo';
    declare namespace file = 'http://www.bea.com/wli/sb/transports/file';
    declare namespace ctx = 'http://www.bea.com/wli/sb/context';
    declare namespace fn = 'http://www.w3.org/2004/07/xpath-functions';
    declare namespace soap12-enc = 'http://www.w3.org/2003/05/soap-encoding';
    declare namespace soap12-env = 'http://www.w3.org/2003/05/soap-envelope';
    declare namespace fn-bea = 'http://www.bea.com/xquery/xquery-functions';
    declare namespace ws = 'http://www.bea.com/wli/sb/transports/ws';
    declare namespace soa-direct = 'http://www.bea.com/wli/sb/transports/soa';
    declare namespace http = 'http://www.bea.com/wli/sb/transports/http';
    declare namespace email = 'http://www.bea.com/wli/sb/transports/email';
    declare namespace ftp = 'http://www.bea.com/wli/sb/transports/ftp';
    declare namespace sb = 'http://www.bea.com/wli/sb/transports/sb';
    declare namespace xsd = 'http://www.w3.org/2001/XMLSchema';
    declare namespace soap-enc = 'http://schemas.xmlsoap.org/soap/encoding/';
    declare namespace xsi = 'http://www.w3.org/2001/XMLSchema-instance';
    fn:compare(./cre:Trace_PM/trac:Trace_PM/trac:traceLevel/text(), ./cre:Trace_PM/cre:Level/text()).
    I was checking in the forum and i found a similiar issue but i saw that it was not answered. Do you know which is the reason to this issue in conditional branchs on OSB?
    Regards
    Yuri

    Hi Yuri,
    From the OSB documentation -
    Conditional branching is driven by a lookup table with each branch tagged with a simple, but unique, string value. A variable in the message context is designated as the lookup variable for that node, and at run time, its value is used to determine which branch to follow. If no branch matches the value of the lookup variable, the default branch is followed. You should design the proxy service in such a way that the value of the lookup variable is set before reaching the branch node.Does your case fulfill above criteria? Please let us know your use case in detail.
    Regards,
    Anuj

  • Conditional branching in OSB

    Hi,
    I wan to use conditional branching in OSB for a WSDL WS.I am not able to use operationl branching because the method names and request message names are different.
    I want to do conditional branching based on operations or request messages.
    For example if operation name and request msgs are as below,
    add , addRequest
    minus , minusRequest
    What should I give for the "Selected path" and "variable" in the condtions?
    Thanks.

    Can you paste the Message section please, where you are defining the Part of request and response.
    The part should be element based and not type based for Operational Branching to work.
    I did a test and its working correctly, Find the WSDL I used below:
    <definitions
      name="Test"
      targetNamespace=
        "http://tempuri.org/OTN.wsdl"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:tns=
        "http://tempuri.org/OTN.wsdl"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:wsx=
       "http://tempuri.org/OTN">
      <types>
        <xsd:schema
          targetNamespace=
            "http://tempuri.org/OTN"
          xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <xsd:element name="AddRequest">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand1"
                 nillable="true" type="xsd:decimal"/>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand2"
                 nillable="true" type="xsd:decimal"/>
            </xsd:sequence>
          </xsd:complexType>
         </xsd:element>
    <xsd:element name="MinusRequest">
          <xsd:complexType >
            <xsd:sequence>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand1"
                 nillable="true" type="xsd:decimal"/>
              <xsd:element maxOccurs="1" minOccurs="1" name="operand2"
                 nillable="true" type="xsd:decimal"/>
            </xsd:sequence>
          </xsd:complexType>
         </xsd:element>
        </xsd:schema>
      </types>
      <message name="addRequest">
        <part name="addRequest" element="wsx:AddRequest"/>
      </message>
       <message name="minusRequest">
        <part name="minusRequest" element="wsx:MinusRequest"/>
      </message>
      <message name="Response1">
        <part name="Result" type="xsd:string"/>
      </message>
        <message name="Response2">
        <part name="Result" type="xsd:string"/>
      </message>
      <portType name="Test">
        <operation name="add">
          <input message="tns:addRequest"/>
          <output message="tns:Response1"/>
        </operation>
        <operation name="minus">
          <input message="tns:minusRequest"/>
          <output message="tns:Response2"/>
        </operation>
      </portType>
      <binding name="Test" type="tns:Test">
        <soap:binding style="document"
          transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="add">
          <soap:operation soapAction="add"/>
          <input>
            <soap:body use="literal" />     
          </input>
          <output>
            <soap:body use="literal"/>
          </output>
        </operation>
        <operation name="minus">
          <soap:operation soapAction="minus"/>
          <input>
            <soap:body use="literal" />     
          </input>
          <output>
            <soap:body use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="Test">
        <documentation>Test</documentation>
        <port name="Test" binding="tns:Test">
          <soap:address
            location="http://localhost:8090/Test"/>
        </port>
      </service>
    </definitions>

  • OSB 11g: Conditional Branch value will not accept string Value

    OSB 11g 11.1.1.3.0 (OSB11_MAIN_GENERIC_100418.1323885)
    When I edit a message flow and create a conditional branch I:
    1. Enter an Xpath expression
    2. Name the variable containing the XPath expression
    3. Select an operator (=)
    4. Enter a string value for Value: 'true'
    5. Give the label a name (isMember)
    6. Save my work
    7. When I go back into the branch the 'true' value is gone and the Value field is blank.
    If I enter a number it saves fine - only when I enter text with single quotes
    is this a known bug?

    Thank you, however I still think this is a bug because:
    1. Version 10g training materials has this example as a lab exercise and says in particular 'make sure to place single quotes around the text string: 'true')
    2. The documentation for 11g says to enter a value but does not say it cannot be a 'string'
    3. If I don't enter any value for the value field, when I click Save it indicates an error -the field cannot be empty. When I place a numeric in the field(unquoted) I can save it and return to it and the numeric value is still there. If I enter a 'quoted string' I can save it but when I return to it, it is gone
    4. If I enter the same information using the eclipse IDE I can see the 'quoted string' is saved and when I view it (not edit but view) in the web IDE (sbconsole) I can see the 'quoted string'. If I edit it the string disappears.
    I will continue to test. While you may be correct and the intent is to accept only numerics, that does not make sense to me. Why not allow simple and fast conditional branching based on text string values in a message? I know I can use other mechanisms to achieve the same goal: a routing table would work also.
    My point was the behavior of the UI implies a bug.
    Edited by: jo**** on Nov 21, 2010 8:44 AM

  • OSB 11g - Conditional Branch Problem using attribute selection

    Folks,
    Came across a problem using OSB Conditional Branch using attribute selection, it fails & is most likely a bug. It was bug in ALSB2.5 but read in forums was fixed in ALSB 2.6
    things I am doing -
    1. In the Msg Flow, Conditional branch is @ the start of the flow
    Xpath :- ./cm:processLineItem/cm:lineItem/@actionCode
    In-Variable: - body
    Label: - MODIFY
    Operator:- =
    Value:- 'Modify'
    It fails with BEA-382000 error Code
    <con:errorCode>BEA-382000</con:errorCode>
         <con:reason>
         com.bea.wli.sb.stages.StageException: {bea-err}TYPE003: Runtime Type Mismatch
         </con:reason>
    What could be wrong with Xpath or is it a Bug ?
    Thanks,
    Abhijeet

    Hi Abhijeet,
    Your case is re-producible. It may be a bug.
    BTW, I have noticed a strange behaviour -
    1. If there is only one attribute then it works fine (<cus:lineItem actionCode="Modify")
    2. If the attribute which you want to refer in selection, is in the last then also it works fine (<cus:lineItem priorityRanking="201" quantity="1"> actionCode="Modify")
    So I will suggest you to raise a case with support and meanwhile as a workaround I would suggest you to use actionCode attribute in the last of lineItem node. So your XML should be like -
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <cus:processLineItem xmlns:com="http://vodafone.com.au/ebo/vha/CommonComponents" xmlns:cus="http://vodafone.com.au/cm/ocv/ebm/CustomerOrder" xmlns:cus1="http://vodafone.com.au/ebo/vha/CustomerManagement">
    <com:header>
    <com:createDateTime>2008-09-29T11:49:45</com:createDateTime>
    <!--Optional:-->
    <com:webUser>test</com:webUser>
    <com:channel>string</com:channel>
    <com:applicationName>string</com:applicationName>
    <com:businessIdentifier>string</com:businessIdentifier>
    <!--Optional:-->
    <com:entityIdentifier>string</com:entityIdentifier>
    <!--Optional:-->
    <com:sourceIdentifier>string</com:sourceIdentifier>
    <!--Optional:-->
    <com:statusCode>Success</com:statusCode>
    <!--Optional:-->
    <com:messageIdentifier>string</com:messageIdentifier>
    </com:header>
    <cus:lineItem priorityRanking="201" quantity="1" actionCode="Modify">
    <!--You have a CHOICE of the next 3 items at this level-->
    <!--Optional:-->
    <cus1:product ID="string">
    <!--Zero or more repetitions:-->
    <cus1:attribute>
    <com:name>test</com:name>
    <com:value>test1</com:value>
    </cus1:attribute>
    </cus1:product>
    </cus:lineItem>
    </cus:processLineItem>
    </soapenv:Body>
    Regards,
    Anuj

  • Conditional branches

    Hi,
    I have two buttons on a page one called P3_ADMINBUTTON and the other P3_BUTTON. There are two branches which are both conditional - The P3 admin button takes the user to the administration page and sets some variables on that page, it has a sequence of 10 (so is computed first). The other button is supposed to take the user to a different page - however never works as it also takes the user to the admin page as it has a sequence of 20.
    The conditions used in the branches are the 'when button pressed' ones. And I have quadruple checked that they are different from each other and both don't refer to the same button being pressed.
    If I change the sequences then the same situation occurs but in reverse (i.e. both buttons only go to the next page and not the admin page)
    It seems to me that the buttons are ignoring the condition and the branches are just being computed in order regardless of which button is pressed.
    Any assistance would be much appreciated,
    Thanks

    Try this. Change the "Request" that the button uses. For instance, change it from "Go" to "Admin" or "Next" then go to the branch and change the Request to match the corresponding button. That fixed it for me. Now I can have multiple buttons going to multiple different places.
    It took me a while to figure out to change the Request, but it has saved me a lot of hassle in the long run.

Maybe you are looking for