ADF Bounded Task Flow

I have created a bounded task flow which has the following activities: Method Call (default activity and it calls a custom method in a request scoped backing bean), a controlFlow to a jsf page, a controlFlow to a Task Flow Return.
Here is the xml code for the Bounded Task Flow:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<task-flow-definition id="fromviewprojlist-task-flow">
<default-activity>retrieveProjInfo</default-activity>
<managed-bean id="__5">
<managed-bean-name>backing_ViewProjList</managed-bean-name>
<managed-bean-class>com.dairynet.pts.controller.backing_ViewProjList</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<method-call id="retrieveProjInfo">
<method>#{backing_ViewProjList.retrieveSingleProjData}</method>
<outcome>
<fixed-outcome>toSummary</fixed-outcome>
</outcome>
</method-call>
<view id="summary">
<page>/projectRequest/projSummary.jsf</page>
</view>
<task-flow-return id="tfrViewProjList">
<outcome>
<name>tfrViewProjList</name>
</outcome>
</task-flow-return>
<control-flow-rule id="__1">
<from-activity-id>retrieveProjInfo</from-activity-id>
<control-flow-case id="__2">
<from-outcome>toSummary</from-outcome>
<to-activity-id>summary</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__3">
<from-activity-id>summary</from-activity-id>
<control-flow-case id="__4">
<from-outcome>toViewProjList</from-outcome>
<to-activity-id>tfrViewProjList</to-activity-id>
</control-flow-case>
</control-flow-rule>
</task-flow-definition>
</adfc-config>
I am calling this bounded task flow from a commandLink that is in an ADF table (partial code of the jsf page that has the commandLink):
<af:table value="#{bindings.VProjectlistQryVO1.collectionModel}" var="row"
rows="#{bindings.VProjectlistQryVO1.rangeSize}"
emptyText="#{bindings.VProjectlistQryVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.VProjectlistQryVO1.rangeSize}" rowBandingInterval="0"
filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.VProjectlistQryVO1.collectionModel.selectedRow}"
selectionListener="#{bindings.VProjectlistQryVO1.collectionModel.makeCurrent}"
id="resId1" width="100%">
<af:column sortProperty="#{bindings.VProjectlistQryVO1.hints.ProjShortDesc.name}"
filterable="true" sortable="true" width="169"
headerText="#{bindings.VProjectlistQryVO1.hints.ProjShortDesc.label}"
id="resId1c1">
<af:commandLink action="fromviewprojlist-task-flow" id="cl1"
text="#{row.ProjShortDesc}"/>
Here is my code in the adfc-config.xml file related to the page calling the bounded task flow and the bounded task flow:
<control-flow-rule id="__7">
<from-activity-id>masterList</from-activity-id>
<control-flow-case id="__5">
<from-outcome>fromviewprojlist-task-flow</from-outcome>
<to-activity-id>fromviewprojlist-task-flow</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__6">
<from-activity-id>fromviewprojlist-task-flow</from-activity-id>
<control-flow-case id="__9">
<from-outcome>tfrViewProjList</from-outcome>
<to-activity-id>masterList</to-activity-id>
</control-flow-case>
</control-flow-rule>
When I click the commandLink where the action is the bounded task flow (fromviewprojlist-task-flow), it does not go into the method I am specifying in the Method Call activitiy (the default activity) within the task flow. It does not error out, but it does not go anywhere. My objective is to go to the custom backing bean method so I can get some value of the row in the table I clicked on, then use this value to successfully load the projSummary.jsf page
I am new to this, and I can't figure out what I'm missing. I appreciate any ideas you may have to help me resolve this.
Thanks!

I did as you suggested, but I see nothing in the console that indicates it's trying to run the bounded task flow. It's like it ignores it. No error, just redisplays the page I'm calling the bounded task flow from.
Previously, in another application, I created a bounded task flow with the default activity which was a Method Call activity, but I dragged and dropped a createInsert operation onto the Method Call activity from the Data Control. This worked fine (for creating an inputForm).
With this bounded task flow that is giving me problems, I'm not referencing the Data Control at all, I'm just referencing the method in the request-scoped backing bean. Is there something I don't have "wired up" correctly so that it's not even finding the bounded task flow the action attribute of my commandLink is referencing?
I'm not referencing the model (or an application module) at all, but should this matter? It seems like it should just find my backing bean method, run it, and carry on!

Similar Messages

  • How to Call an ADF Bounded Task Flow Located in Another Web Application

    Hi.
    I'm working in JDev 11G TP3.
    I've read the section from the 11G documentation on Working with Task Flow Activities,
    specifically the section 15.5.3 on How to Call an ADF Bounded Task Flow Located in Another Web Application.
    I've followed the instructions but still can not seem to call another task flow in another application correctly.
    Can someone send a small example specifying how the (TaskFlow Reference) section
    should be filled in, and just a general simple outline of process to set the whole process up.
    Thanks

    Your EL for the remote-app-url needs to return something like this
    "http://www.acme.com:80/myapp/faces/adf.task-flow"
    where "http://www.acme.com:80/myapp/faces" is the root of the url you'd normally use to access the remote application.
    I filed two bugs:
    bug 6944247 to improve the documentation
    bug 6944246 to fix the fact that you currently have to specify the 'adf.task-flow' part. You shouldn't need to do that. But doing so for now will get it to work.

  • Call adf bounded task flow library programatically

    I have a master application where I have one page with a region where all the task flows are going to be aggregated as tabs. Each task flow represents a module and is in a separate application. I add the adf library to the master application for bounded task flow "Module1".
    This is my code that works if the bounded task flow is in the master application:
    TaskFlowBindingAttributes tfAttr = new TaskFlowBindingAttributes();
    tfAttr.setId("Module1");
    tfAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/module1.xml","module1"));
    taskFlowList.add(0, tfAttr);
    List<UIComponent> tabs = this.getPanelTab().getChildren();
    for (int i = 0; i < tabs.size(); i++) {
    RichShowDetailItem tab = (RichShowDetailItem)tabs.get(i);
    tab.setDisclosed(false);
    RichShowDetailItem tab = (RichShowDetailItem)tabs.get(index);
    tab.setDisclosed(true);
    But if bounded tak flow is in separate application the code doesn't work, it shows a blank page and i have defined a page with some panel boxes. So how shoud i call the bounded task flow programatically??.
    I am working with Jdeveloper 11.1.2.3.0, thank you
    Edited by: Miguel Angel on 19/12/2012 05:22 PM
    Edited by: Miguel Angel on 19/12/2012 07:29 PM
    Edited by: Miguel Angel on 19/12/2012 07:43 PM

    Yes I see it in the component palette. I found the problem, I see in the task-flow-registry.xml that the path for the bounded task flow is: "module1.xml" and not "WEB-INF/module1.xml". What sould be the correct path?.

  • WebCenter/ADF Bounded Task Flow Permissions 11.1.1.4

    Hello All,
    I'm seeing some strange behavior related to permission on bounded task flows within a WebCenter Portal Application created with the 11.1.1.4 WC extensions.
    I created a bounded task flow and added a view activity and a return activity to it. I have provided "Administrator", "anonymous-role", and "authenticated-role" application roles with view permissions for the task flow resource in "jazn-data.xml". I also added the page related to the view activity in the bounded task flow to my page hierarchy file "page.xml", and provided users with view permissions there.
    What I'm seeing is that anonymous users can view pages in this bounded task flow just fine, but authenticated "Administrator" role users cannot.
    Am I missing a configuration setting somewhere?
    Thanks

    Certainly... I've uploaded the sample application here: http://rapidshare.com/files/456317758/WebCenterTestApp.zip
    To make this simple, I've used the OOB, pre-configured, Web Center Portal application template with default project files. Run the "home.jspx" page. I've removed the customization panel and added a button command whose action invokes the control flow to the task flow call activity for the bounded task flow. The task flow has a single page, and I have it being displayed as an inline pop-up... just for fun.
    Before you login, click on the button to see how the anonymous user can view the bounded task flow page. After you return from the task flow, login and verify that the admin user sees the app auth error page in the dialog instead.
    I've configured one admin user in jazn-data.xml: myadmin/myadmin1
    Cheers

  • How to pass a parameter to a bounded task flow?

    Hi,
    We are facing issue while passing parameter from a bounded task flow to another bounded task flow and then showing the passed parameter in a jspx page.
    We have a caller task flow with following component:
    1. A jspx page
    - In this jspx we have a text box have its value as #{pageFlowScope.inputvalue}.
    - Also we have a command button which has its "Action" as the control flow that leads to the "called" task flow.
    2. A bounded task flow named "called".
    So, we call the "called" task flow on the button click in the jspx page.
    Also, in called taskflow we have a jspx page where we are using a output label to show the parameter passed from caller task flow to the called task flow.
    We performed the following steps to set the parameter passing from caller task flow to the called task flow.
    1. Select the input text component on the JSF page.
    2. In the Property Inspector, enter a value for the input text component. You can specify the value as an EL expression, for example #{pageFlowScope.inputValue}.
    3. In the Application Navigator, double-click the name of the called task flow to open its diagram.
    4. Click the Overview tab for the called task flow.
    5. Click Parameters and expand the Input Parameter Definition node.
    6. Click the Add icon next to Input Parameter Definition.
    7. In the Name field, enter a name for the parameter, for example, inputParm1.
    8. In the Value field, enter an EL expression where the parameter value is stored and referenced, for example, #{pageFlowScope.inputValue}.
    9. In the Class field, enter a Java class for the input parameter definition. If you leave the Class field empty, its value is by default implicitly set to java.lang.String.
    10. In the editor, open the diagram for the calling task flow.
    11. In the Application Navigator, drag the called ADF bounded task flow and drop it on top of the task flow call activity that is located on the calling task flow. Dropping a bounded task flow on top of a task flow call activity in a diagram automatically creates a task flow reference to the bounded task flow.
    12. In the Property Inspector for the task flow call activity, click Parameters and expand the Input Parameters section.
    13. Enter a name that identifies the input parameter.
    14. Enter a parameter value, for example, #{pageFlowScope.parm1}.
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.
    We even tried to set the to and from parameter of the jspx in called askflow. But no success.
    Can anyone let us know if we are doing smething wrong or exact steps to configure passing of parameters to a bounded task flow and retrieving it in a jspx page will also help.
    Thanks in advance.

    Hi Tushar,
    In step# 14, the value should be "#{pageFlowScope.inputValue}" (should be the same as the value in step#2) .
    tushar wrote:
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.To display the passed parameter, you should use "#{pageFlowScope.inputValue}"<----- should be the same as the value in step#8
    Regards,
    Rommel Pino

  • ADF train task Flow display name comonent value from bundel

    hi
    i have som problem with adf bounded task flow train.
    i build a bounded task flow as fragment and train and i add display name component to each view , but how i can give the display name value from a view controller bundel .
    regards mohammad.j.yaseen

    1). Select the component for which you want to set the attribute to a bundle
    2). In the property inspector, click the context menu next to the attribute you want to pick from a bundle (the thing that looks like a "V" next to the field"
    3). Choose "Select Text Resource..." from the resulting menu

  • UI Shell - how to allow ADF Library Bounded Task Flow to close itself

    Hi Richard
    Further to my other post, we're having lots of fun with the UI Shell, it's making mockups very easy.
    Question for you though based around the functionality defined in the UI Shell whitepaper. Say we've created our UI Shell application, and rather than wanting to create the bounded task flows in the app (ie.first, second, third), we create them as standalone bounded task flows deployed to ADF Libraries, and imported into our app separately.
    In the UI Shell examples bounded task flows are opened & closed via the UI Shell's own components (say the navigation page items or toolbar buttons), that call the methods in the Launcher bean (_launchActivity & closeCurrentActivity). It's fairly simple to rewrite the launcher helper methods in the launcher bean to call an imported ADF Library bounded task flow to open it as an activity, just referencing the correct task-flow.xml file.
    However as you know a bounded task flow has a "Default Activity" entry point and one or more "Task Flow Return" exit points. What I haven't been able to work out is how when the bounded task flow exits via a task flow return, can we call the closeCurrentActivity method in the Launcher bean? The UI Shell code examples demonstrate closing a bounded task flow by menu options/or similar outside the bounded task flow in the UI Shell, but it would seem reasonable if the bounded task flow exited via a "Task Flow Return" we should be also able to close the activity tab too.
    (....and as extension, before we even do that potentially call the checkState/isDirty() method to stop the user closing the activity too, but again driven by the bounded task flow attempting to exit).
    I could imagine inserting code into the bounded task flow finalizer to close the activity tab, but this pushes the UI Shell tab activity management logic into our standalone ADF Library bounded task flows which isn't ideal, especially if we want to later reuse them in another app which doesn't use the UI Shell.
    Any suggestions welcome.
    Thanks & regards,
    CM.

    And we're back again.... what's a couple months between friends?
    So it turns out after testing our app (d@mn, so close) that we've hit a bug with this approach.
    Our current app allows one BTF to be open in the UI Shell at any one time. Our menu options automatically open one BTF at a time by the user (max one open), and close the previous BTF. However we have some "special" BTFs that require the user to explicitly close the BTF, which in turn makes use of the regionNavigationListener solution I described earlier in this post.
    However we discovered a bug when we do a complete cycle of the 15 embedded regions within the UI Shell.
    Say we:
    1) Open a normal BTF in region 0
    2) Open another normal BTF in region 1 (our solution automatically closes the previous BTF)
    3) We then open another BTF (again the previous BTF is closed) in region 2, yet this a "special" BTF requiring the user explicitly to close it. Upon the user closing the BTF - this results in the regionNavigationListener being called and the removeTab() method called to close down the BTF in the UI Shell
    4) The user then open/closes multiple normal BTFs, one by one, rotating through regions 3, 4, 5 .... eventually back to 1 again
    5) Then the bug occurs - on opening any BTF back in region 2 (as part of the complete cycle of all regions), the tab for the region 2 opens, correct title, and via debugging the Tab.class has all the right settings including taskFlowId, but the tab is incorrectly empty
    doh!
    I've managed to track a symptom of the problem down that may explain what's happening.
    Each time a tab is rendered with a BTF, the Tab classes getBinding() method returns a reference to the binding required for the current BTF. However for some reason on the complete cycle, for "r2" it returns the binding for the previously user-closed BTF from step 3 above, even though we called the TabContext.removeTab() method.
    What I haven't been able to work out is how the bindings get turned on/off dynamically for each BTF being invoked. Presumably for some reason on step 3, the BTF's bindings aren't being correctly removed from r2 even though we called TabContext.removeTab().
    If anybody has any brain waves about what's going on and how to fix this problem, your help appreciated.
    Regards,
    CM.

  • ADF : Can we skip the default activity of ADF train in bounded task flow.?

    Hi All,
    I'm a newbie for ADF and JDev. Started learning from the documentation provided for ADF, I'm trying to create a bounded task flow which has a train component and every train stop should be enabled/skipped programmatically. I'm able to skip the train stops after reading the content provided at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf.
    But I'm not able to skip the default train stop which is the first activity call in my case upon initialization.
    Below are the steps I've followed :
    1. Created a viewController project and created a bounded task flow in it with Train component enabled.
    2. Added 4 views with train component marking the first view as default activity call.
    3. As per the document I mentioned above, I added managed bean files to skip the train stop programmatically.
    Now when i run the task flow, I'm able to skip the train stops number 2/3/4 but I'm not able to skip the stop number 1(first stop which is the default activity) on initialization.
    As per ADF documentation, for a bounded task flow there must be a default activity assigned which will always be called first when we enter the bounded task flow. So that means, default activity will always be called upon initialization of that bounded task flow and never be skipped programmatically.? or else if there is a way to skip the default activity, then please let me know the documentation/steps to do this.
    Thanks in advace.
    Edited by: 1004973 on May 9, 2013 2:52 AM

    Thanks Timo. Your idea resolved my issue. :)
    I've created a new page in my bounded task flow which I've made as a default activity for that bounded task flow. Then I applied navigation through router and based on some condition I'm now able to move my control to my desired train stop. By this design I can do other customization on train button(Back/Next).

  • Can ADF Faces Dialog Framework be used in a Bounded Task Flow ?

    Jdev. 11.1.1.4
    I have read chapter "19 Using Dialogs in Your Application" in the Jdev documentation.
    There explains that there are mainly two methods to open dialogs in ADF:
    The first (point 19.2) is calling a bounded task flow from a view activity (for example). This system can only open modal windows.
    The other is using the ADF Faces Dialog Framework and it seems to be more general. In point "19.3.1 How to Define a JSF Navigation Rule for Opening a Dialog" it is explainied the way to achieve this but the explanation begins with "In the adfc-config.xml file, create a page flow for".
    does this mean that I can not use this technology inside a Bounded task flow ?
    I have tried and it seems that it doesn't work.
    Currently we are using af:showpopupbehaviour to open popups, but this doesn't work with task flows and I don't like this.

    does this mean that I can not use this technology inside a Bounded task flow ?ADF Faces Dialog Framework can be used in both unbounded and bounded taskflows.
    I have tried and it seems that it doesn't work.The command commponent outcome must begin with "dialog:" and the command component tag must have useWindow="true", for example:
    <tt><af:commandButton action="dialog:toEdit" useWindow="true" .../></tt>
    Currently we are using af:showpopupbehaviour to open popups<af:showPopupBehaviour> can be used to open inline popups, but it has nothing to do with the Dialog Framework. Inline popups and the dialogs of the Dialog Framework are two different things.
    Dimitar
    Edited by: Dimitar Dimitrov on Jul 27, 2012 3:33 PM

  • Calling bounded task flows imported as ADF libraries

    Hello,
    I have a main application referencing many bounded task flows included in ADF libraries.
    Is there a way to make the application not throwing exceptions if one of these libraries including the called task flow is not found?
    The first question is how to catch the exception "Caused by: oracle.adf.controller.ControllerException: ADFC-02001"
    The second problem is that once an exception is thrown , the only way to make the application work again with that task flow is to redeploy the whole application with the missing library in the proper place.
    It seems it is not possible to just add the library at run-time.
    Redoplying an application also seems to invalidate all the current open sessions.
    Could you give me suggestions or best practice on making the main application more indipendent from the libraries?
    Thanks.

    Hello Frank,
    It seems there's no way to catch the exception thrown when dinamically calling a bounded task flow in a (missing) library. In facts, I added the single page of the main application as default exception handler activity. I also tried to catch ALL exceptions in the Launcher class below, but I had no luck at all. Task flows are called dinamically from this common piece of code (appropriate for the UI Shell template):
    try {
    if (newTab) {
    TabContext.getCurrentInstance().addTab(title, taskflowId);
    } else {
    TabContext.getCurrentInstance().addOrSelectTab(title,
    taskflowId);
    } catch (TabContext.TabOverflowException toe) {
    toe.handleDefault();
    } catch (ControllerException ce) {
    System.out.println("The flow arrives here " + title + ": " + taskflowId);
    } catch (RuntimeException re) {
    System.out.println("The flow arrives here " + title + ": " + taskflowId);
    } catch (Exception e) {
    System.out.println("The flow arrives here " + title + ": " + taskflowId);
    I also tried to call the task flow in a remote application, but TabContext.getCurrentInstance().addTab(title, taskflowId) expects the taskflowid to be part of the main application, not of the remote app, since addTab() always add a "/" before the taskflowid String passes as parameter.
    So again my question: is there a way to profit by the dynamic features coming along with the UI Shell template, where task flows can be really referenced and called each time at run-time, no matter if libraries containing these task flows are present or not when deploying the caller application?
    I also repeat that from the tests I have done it looks like I can deploy the caller application without the referenced ADF libraries in their place (containing taskflows that should be called at run-time on user actions), but the problem in this case is that after that moment there's no way to fix the problem by just adding the missing library, that is you cannot place the library where it is expected to be and expect the caller to work after next call; this will just not work until next deploy of the calling application when libraries are in place . We also don't want completely separate web applications. We need task flows integration with the chance to modify and deploy these taskflows as ADF libraries at run time, separately from the caller of the taskflow, without needing to restart/deploy the caller application everytime a libraries changes or a missing library is added.

  • How to pass request parameter to bounded task flow?

    Hi, this is probably a simple question, but just not sure how this should be done. I have a .jspx that contains an ADF region for a bounded task flow. The task flow has a required input parameter, e.g. objectId. I want to be able to pass a request parameter that's sent into the .jspx page to the task flow. For example, Test.jspx?id=123 should pass 123 for the objectId input parameter of the task flow.
    When adding the ADF region to the page, the Edit Task Flow Binding dialog prompted for a value for the objectId input parameter. I wasn't sure what I can put for the value so I just hard-coded something like 123 for now. So in the page definition file, sometihng like the following got added:
        <taskFlow id="testtaskflow1"
                  taskFlowId="/WEB-INF/taskflow/test/test-task-flow.xml#test-task-flow"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="objectId" value="123"/>
          </parameters>
        </taskFlow>I'm wondering is there some EL expression I can use for the parameter value that gets the value of the id request parameter passed into the .jspx? Thanks.

    you have to use it like.. #{bean.idValue} and in the getter of the id Value use it like
    private int idValue;
    //setter
    //getter
    public int getIdValue(){
              HttpServletRequest request =
                (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
            int id = request.getParameter("id");
           return id;
    }

  • Best Practice - Bounded Task Flows, Regions and Nested Application Modules

    Using JDev 11.1.1.3; understand that it's generally considered good practice to just have 1 root application module servicing model content / services for each page. In our application, we've used a number of bounded task flows and page fragments deployed as af:region's into pages as either a) views targeted in page-flow navigation, b) tab panel content inside a regular jspx, or c) af:popup / af:dialog content. As it stands, we've not engaged nesting of the application modules for this embedded region content, so these regions are no doubt instantiating new AM's if/when invoked. Should the AM's servicing these embedded regions be deployed nested within the root AM's, and then if so, does this change the way that the jsff / fragment content is actually developed (currently as per any other jspx using the DataControl pallete). Or are the best-practice directives talking about a page as being the design-time / declarative composition of content rather than the run-time aggregation of page + fragments ... in which case the fact that our embedded fragments are not using nested AM's is unlikely to concern.
    Thanks,

    Probably a better question for the ADF EMG: http://groups.google.com/group/adf-methodology?hl=en
    CM.

  • ADF Security, Task Flow as a region in a page resource grant

    JDeveloper 12c (12.1.2); Application uses ADF form based security, external LDAP provider (Active Directory)
    After sign-in page (upon successful authentication/authorization) user is forwarded to a page that executes VO method prior to render. I am new to task flow concept and am told to achieve this like:
    - create bounded task flow, with method call activity (execute exposed AM method that calls VO method, runs custom SQL) and view activity as page fragment.
    - then drop the above task flow into a page as a region
    In ADF security setup, I gave resource grant task-flow to certain application role. Started the application, login and got 403 error. Then went back and gave resource grant 'view' to the actual page that contains task flow. It worked fine.
    So the question is, when protecting application (implemented with task flows) with ADF security, I thought it is enough to grant those task flows to whatever application roles (groups) and inherently any page that uses that task flow(s) (as a region) will be protected?
    From this test, it seems that I have to assign each page (that has task flow as a region) to application roles individually?

    Hi,
    any page that is contained in a bounded task flow is protected  by the task flow permission grant, this is correct. If this is not what you see, please file a bug with support or send me a simple reproducible test case please. My mail address (replace all < name > with the described symbol.
    frank <dot> nimphius <at> oracle <dot> com
    The test case will need to be in a ZIP file nemaed to "unzip" and should be able for me to run stand alone (please no database scripts to run prior to try the test case)
    Frank

  • The bounded task flow disappear after exiting

    HI ALL
    i have a simple bounded task flow with fragment with behavior (always begin new transaction)
    this task flow have 2 pages to show emp and update emp then return with commit value
    i drop it on a page registered in asfc-config.xml as a region
    when i run the page the flow start when it exit it is disappear
    best regards

    thank you very much Frank for your reply and umesh too
    relay i tried to resolved but i still can't .
    its very simple bounded task flow and i am still learning ADF .
    as i said up its consist from
    1-view1:listEmp table of employees
    2- control flow case : edit
    3-view2: editEmp form to edit employee
    4- task flow return : commit to commit transaction
    5- task flow return : rollback to rollback the transaction
    if i drop it into adfc-config and add another view with control flow case to call it , this case is working and after i press commit or rollback the main page displayed again
    but if i drop it inside a page as a region it working but after i press commit or rollback the region disappeared and the page become empty
    best regards

  • Error when launching bounded task flows in dynamic tabs from UI Shell templ

    Hello,
    could you tell me what is wrong with launching task flows in new tabs?
    I am using the UI Shell template, the task flow is bounded with one simple page (I tried with both fragments jspf and pages jsp)
    The execption is the following:
    java.lang.ClassCastException: javax.faces.component.UIViewRoot cannot be cast to oracle.adf.view.rich.component.fragment.UIXRegion
    Here's the code I am using to launch the bounded task flow:
    private void launchActivity(String title, String taskflowId, // taskflow is something like "/WEB-INF/mytask_flow.xml"
    boolean newTab) {
    try {
    if (newTab) {
    TabContext.getCurrentInstance().addTab(title, taskflowId);
    } else {
    TabContext.getCurrentInstance().addOrSelectTab(title,
    taskflowId);
    } catch (TabContext.TabOverflowException toe) {
    toe.handleDefault();
    Root cause of ServletException.
    java.lang.ClassCastException: javax.faces.component.UIViewRoot cannot be cast to oracle.adf.view.rich.component.fragment.UIXRegion
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:105)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         Truncated. see log file for complete stacktrace

    Hi Pramod,
    Have you tried setting the Transaction attributes of your task-flow? Open up your task flow definition then go to Overview Tab. Try changing the appropriate attributes like setting the transaction as "Always Begin New Transaction" and/or unchecking the "Share data controls with calling task- flow". Try to mix settings and find the one that suit your needs.
    Regards,
    Pino

Maybe you are looking for

  • Help me get rid of "extra" monitor

    Hi, this is my first apple computer, but definitely not the first computer I've boloxed up. I need help to figure out how to disconnet the Mini DVI to VGA adapter without messing up the mini display port to HDMI basically: Mac Mini 2 ghz intel, 4 gb

  • Can we change customer rec. account after transaction

    Dear Sap Guru, Is it possible for us to change the customer rec. account which we set in company code data. Once we perform transaction from the customer account then later we thought of changing the customer rec account? Waiting for positve reply. P

  • Why can't I get the itunes store to open?

    Why won't the itunes store open?  It appears briefly, then the screen goes white. I can still access my music, see my gift card balance, and play my music.  I just can't buy anything new, and it's making me CRAZY.  I've tried everything...please HELP

  • I can't seem to get my display operating, which is a problem.

    I'm trying to connect a second monitor to my computer, and I am having some issues; Now, due to certain circumstances, my connection is thus: Mini Displayport to DVI-I Dual Link adapter (OWC Brand) DVI-I Single Link to VGA adapter (Likely OWC Brand,

  • Delete button not enabled on Inbox Search List

    We are using CRM 2007 sp4.  In one of our Web Interaction Centers we want to allow certain end users the ability to delete certain transactions from the inbox search list.  At present when an item in the result list on the inbox [Component ICCMP_INBO