Use task flow or simple pages in CRUD?

Hello,
using JDeveloper 12c.
In my case I use task flow to create a simple CRUD, i have two task flow, for it in the first I have a employees table and a button to create a new employee, the button has an action to go to another task flow where I have a Method call of CreateInsert which in turn go a view activity that has a form to create an employee.
The problem is, when committing task makes a return to the main flow but the table not refreshes with the new employee, every task flow isolated handled transactions.
I recommend, work the CRUD with task flow or single pages?
thank you very much in advance.

thank you very much, I got the exact answer, thank you very much again.

Similar Messages

  • Using Task Flow in the template page

    Dear all,
    I am beginer and I work with JDev 11.1.1.3.0
    In my application I've got a template page called 'templateDef1.jspx'. In this page on the top facet I've got two commands link: 'Asort' and 'Reports'.
    I've created a new JSF page called 'main.jspx' which is based on the templateDef1 and in the center facet I dropped an ADF Bounded Task Flow as a Region. This bounded task flow contains two pages ('asort.jsff' and 'report.jsff'). When I run the main.jspx page I can navigate from 'asort' to 'report' page fragment using the button inside the page fragments.
    Now I want to navigate to those page fragments using the commands link from 'templateDef1.jspx'. What should I do ?
    I've tried several things but nothing works.
    Any help will be appreciated.
    Regards,
    Wojtek.
    Edited by: kojot on 2011-01-13 03:55

    Thank you a lot for you replies.
    Amit, I tried your solution but something doesn't work. I think the parameter isn't passing into the task flow.
    In my template page, after I added <af:setActionListener> I got two warnings: Reference "PageFlowScope.Flow" not found.
    The ref Center facet is refreshing properly, but it always displays the assort.jsff, because it is marked as default activity in my task flow.
    Here is the fragment of code of template page:
    <af:commandLink id="clAsort">
                      <af:panelGroupLayout id="pt_pgl2" halign="center"
                                           valign="middle" layout="vertical">
                        <af:image source="/ikony/asortyment.jpg" id="pt_i1"
                                  shortDesc="Asortyment"/>
                        <af:outputLabel value="Asortyment" id="pt_ol1"
                                        inlineStyle="color:Blue;"/>
                      </af:panelGroupLayout>
                      <af:setActionListener from="#{'A'}"
                                            to="#{pageFlowScope.Flow}"/>
                    </af:commandLink>
                    <af:spacer width="30" height="10" id="pt_s1"/>
                    <af:commandLink id="clReport">
                      <af:panelGroupLayout id="pt_pgl3" halign="center"
                                           valign="middle" layout="vertical">
                        <af:image source="/ikony/raporty.jpg" shortDesc="Raporty"
                                  id="pt_i2"/>
                        <af:outputLabel value="Raporty" id="pt_ol2"
                                        inlineStyle="color:Blue;"/>
                      </af:panelGroupLayout>
                      <af:setActionListener from="#{'R'}"
                                            to="#{pageFlowScope.Flow}"/>
                    </af:commandLink>And the code of the whole task flow definition:
    <?xml version="1.0" encoding="windows-1250" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="page-frag-task-flow">
        <default-activity id="__1">asort</default-activity>
        <data-control-scope id="__24">
          <shared/>
        </data-control-scope>
        <input-parameter-definition id="__12">
          <name id="__13">Flow</name>
          <value>#{pageFlowScope.Flow}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <view id="asort">
          <page>/fragments/asort.jsff</page>
        </view>
        <view id="raport">
          <page>/fragments/raport.jsff</page>
        </view>
        <router id="router1">
          <case>
            <expression>#{pageFlowScope.Flow == 'A'}</expression>
            <outcome id="__18">asortView</outcome>
          </case>
          <case>
            <expression>#{pageFlowScope.Flow == 'R'}</expression>
            <outcome id="__23">raportView</outcome>
          </case>
          <default-outcome>raportView</default-outcome>
        </router>
        <control-flow-rule id="__2">
          <from-activity-id id="__3">asort</from-activity-id>
          <control-flow-case id="__4">
            <from-outcome id="__6">viewRaport</from-outcome>
            <to-activity-id id="__5">raport</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__7">
          <from-activity-id id="__8">raport</from-activity-id>
          <control-flow-case id="__10">
            <from-outcome id="__11">viewAsort</from-outcome>
            <to-activity-id id="__9">asort</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__14">
          <from-activity-id id="__15">router1</from-activity-id>
          <control-flow-case id="__17">
            <from-outcome id="__19">asortView</from-outcome>
            <to-activity-id id="__16">asort</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__20">
            <from-outcome id="__22">raportView</from-outcome>
            <to-activity-id id="__21">raport</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>In main.jspx page, after I dropped the task flow as region, I left the parametersMap blank and I set the value to the parameter Flow as #{pageFlowScope.Flow}. Am I doing it right ? I have to missed something becuase it doesn't work.
    I also read ADF Handbook and some blogs to get know how to pass parameters into bounded task flow, but I couldn't solve my problem.
    Regards,
    Wojtek.

  • Adding Saved Searches task flow to a Page Template

    I am trying to add the Spaces "Saved Searches" task flow to my custom page template. I have tried a few different approaches and none seem to be working.
    First, I tried simply dragging and dropping the task flow from JDeveloper's Resource Palette into my template. JDeveloper created added the following to my template source code:
    +<af:region value="#{bindings.allsavedsearches1.regionModel}" id="pt_r1"/>+
    After uploading the changes to Spaces, there seemed to be no change to the rendered template.
    Second, I tried to simply add the task flow to a page in my test space via composer. However, as soon as I click the "Add" button next to the Saved Searches task flow, the page goes blank (white screen of death) and the following message shows up in the spaces error logs:
    javax.servlet.ServletException: com.sun.el.parser.ParseException: Encountered "\'" at line 1, column 65.
    Finally, I looked at how the out of the box templates implement the saved searches functionality. It appears that the saved searches use a custom folder in the Default Navigation Model. I looked at the source in the Default Navigation Model and found the following node:
    +<customFolder factoryClass="oracle.webcenter.search.view.rc.SearchServiceContextFactory" id="savedSearchesFolder" visible="true">+
    +<attributes resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle">+
    +<attribute attributeId="Description" isKey="true" resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle" value="NAV_APPLICATIONS_CUST_FOLDER_SEARCHES.DESCRIPTION"/>+
    +<attribute attributeId="IconURI" value="/adf/webcenter/foldersavedsearches_qualifier.png"/>+
    +<attribute attributeId="Title" isKey="true" resourceBundle="oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle" value="NAV_APPLICATIONS_CUST_FOLDER_SEARCHES.TITLE"/>+
    +<attribute attributeId="WEBCENTER_SERVICE_ID" value="oracle.webcenter.search"/>+
    +</attributes>+
    +</customFolder>+
    I copied the entire node and put it in my navigation model. Upon rendering the template, I can see the new node in the navigation but when I click on it, nothing happens.
    Can someone please tell me if I am on the right track with any of these three approaches? Or where to look to diagnose the issues I am running into?
    Thanks,
    Joe

    UPDATE: I updated the "activation" property in the page def for the allsavedsearches task flow to be "deferred". Now I am getting an ADF popup menu with two menu items: "My Searches" and "Other Members" but clicking on the items does not trigger anything...
    Any thoughts? What additional information would be helpful for analyzing this issue?

  • ADF Task Flow: Using Task Flow Call as Application Entry Point

    In our product we have a task flow structure very similar to the Fusion Order Demo application, but we are having serious trouble reproducing the documented functionality of ADF Task Flows.
    Specifically, we cannot use a task flow call as an entry point for our application, which is very important for us to achieve.
    The [Developer s Guide|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows.htm#ADFFD1634] states about the [demo application|http://www.oracle.com/technology/products/jdev/samples/fod/index.html] :
    "A Fusion web application always contains an ADF unbounded task flow, which contains the entry point or points to the application. Figure 14-3 displays the diagram for the unbounded task flow from the Fusion Order Demo Application. This task flow contains the Home, *MyOrders*, *checkout*, registerUser, and updateUserInfo *view activities, which are all entry points to the application*."
    "The checkout-task-flow activity in Figure 14-3 is a call to an ADF bounded task flow."
    When we run the Fusion Demo Application, we are only able to use home, updateUserInfo and register as entry points.
    We cannot enter the application through any of the task flow call activities (MyOrders and checkout) as the documentation suggests.
    What are the reasons for this and how do we fix it, so we can use task flow call activities as application entry points?
    Thanks.
    Edited by: Rune Glerup on Oct 9, 2009 2:51 AM
    The forum did not display the link to "Developer's Guide" because the link contained the single quote char '. Single quote char removed.

    Is what you mention here the case in the Fusion Order Demo application?
    If the task flow call activities cannot be used as entry points, why is it stated in the documentation?
    How do we solve this, so that the task flow call activities (including parameter bindings) can be used as entry points, like the documentation suggests?

  • Doco/functionality mismatch: Adding a Bounded Task Flow to a Page

    Hi JDev team
    With JDev 11g TP4 and the latest published ADF Guide in hand, under section 14.3 "Adding a Bounded Task Flow to a Page", subsection "To add a bounded task flow containing pages to a JSF page:" it notes that when you drag n drop a bounded task flow from the App Navigator into a JSF page you get the choice of creating a button or link. I don't get this option, instead I can create a region or a dynamic region in the drag n drop submenu.
    Cheers,
    CM.

    Chris,
    note that it says "containing pages", not "containing page fragments". If your taskflow contains page fragments "jsff" then the choice is a region, if it is pages (jspx) then the choice is button or link to launch the taskflow.
    Let me know if this still doesn't work for you
    Frank

  • Repositioning task flows in web page during runtime

    Do we have an option to reposition task flows on a page like we do it with my.yahoo.com?

    You mean a dashbord? Yes you can do this with the af:panelDashboard. Check out http://docs.oracle.com/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_panelDashboard.html
    Timo

  • Problem with back button when using task flow to navigate through pages

    I am using unbounded task flow to navigate through my pages
    in page2 I added back button so I can back to page1 using the action A2
    task flow 1
    page 1 -----A1-------> page 2
    page2 ----A2--------> page1
    the problem when I used page2 in another task flow
    task flow 2
    page 3 -----A3------> page2
    page 2 -----A4 -----> page3
    here when I click on back button he take me to page1
    how can I back to page3 ???????

    For this you have to know where the user came from when he navigated to page2. You can e.g. store the back target in a variable in the session or pageflow scope (when the user navigates from page1 or page3 to page2), then you bind the back button of page 2 to the stored variable.
    Timo

  • Navigate to other page without using task flow

    Hi.,
    I m using jdeveloper 11.1.1.5
    I had created a Following jspx pages
    =>glm0101.jspx
    =>cfs0010.jspx
    =>generalledger.jspx
    =>glm2080.jspx
    =>login.jspx
    I need to create following
    GLm ----> While user clicks this it should navigate to glm0101.jspx
    CFS ----> While user clicks this it should navigate to cfs0010.jspx
    GeneralLedger ----> user clicks this it should navigate to generalledger.jspx
    Querry -----> user clicks this it should navigate to glm2080.jspx
    could anyone help me to provide the solution without using the task flow

    I had used The following procedure
    In adfc config i had created a unbound task flow as given below
    http://www.4shared.com/photo/BFcI1zVp/E024.html
    I had draged and dropped ADF:Link and anmed it as General Ledger
    In its action i wrote gl [which i had specified in TaskFlow]
    When i click this i am getting this error
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity 'GeneralLedger'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:928)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:778)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)and also i m getting error as
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'Cfs0010'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'GeneralLedger'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'GLM0101'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'Glm2080'].

  • Region not refreshing while reentry in task flow using task flow return

    Hi,
    Use Case :
    1) I have a task flow TF1 displayed as a region in page fragment Page1. Task flow has certain input parameters. It displays a data in table which is surrounded by Panel Box which is expanded if certain input parameters are set otherwise disclosed
    2) From Parents screen we have a button , on click of that button I am navigating to a different task flow TF2 , adding some data and coming back to screen Page1 through task flow return activity.
    3) Task flow TF1 should be refreshed with new data which is being set on through a bean variable.
    Task flow TF1 is not being refreshed. (I have tried setting the refresh property to 'If Needed')
    Please Suggest.
    Best regards,
    Anu

    Hi,
    Thanks for the response. Query is being execute in the backend. But region is not being refreshed even after change of parameter.
    Best regards,
    Anuradha

  • Use Task Flow Parameter as value to View query?

    I'm not sure if I have all the terminology exactly correct, but basically I have a task flow that allows the user to edit data in a table. I want to open that task flow, pass a parameter from another task flow, and use that parameter to determine the row which I want to edit. A fairly typical use case I would imagine.
    I can get the calling task flow to call the other task flow, but I cannot seem to determine what to set the value of the parameter in the called task flow to so that it executes the query and populates the page with the data from the row specified by that parameter.
    What is the best practice for this type of use case?

    duplicate: Re: Task flow parameter not available to set method call parameter

  • How to use task flow's transaction options with session's user data

    Hi.
    I have custom extension of ApplicationModuleImpl class:
    package test.model
    imports...
    public class CustomAppModuleImpl extends ApplicationModuleImpl {
        public static final String SESSION_VAR = "MySessionVar";
        public CustomAppModuleImpl() {
            super();
        @Override
        protected void prepareSession(Session session) {
            super.prepareSession(session);
            System.out.println("######## " + this.getClass().getName() + ".prepareSession() called.  AM isRoot() = " + isRoot());
            Hashtable userData = session.getUserData();
            if (userData == null) {
                userData = new Hashtable();
            userData.put(SESSION_VAR, "Useless");
        @Override
        protected void create() {
            super.create();
            System.out.println("######## " + this.getClass().getName() + ".prepareSession() called.  AM isRoot() = " + isRoot());
    }Inside userData I store some useful session-based values (here is just an example ;) ).
    Within Model.jpr I defined that every Application Module I create must extends this CustomAppModuleImpl :
       <value n="oracle.jbo.extends.appModule" v="test.model.CustomAppModuleImpl"/>
    ...I have one AM with one view:
    package test.model;
    import oracle.jbo.server.ViewObjectImpl;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Wed Mar 07 20:22:11 CET 2012
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class AppModule1Impl extends CustomAppModuleImpl {
         * This is the default constructor (do not remove).
        public AppModule1Impl() {
         * Container's getter for EmployeesView1.
         * @return EmployeesView1
        public ViewObjectImpl getEmployeesView1() {
            return (ViewObjectImpl)findViewObject("EmployeesView1");
    }Now I have BTF (bounded task flow, with default properties) and I call that task flow on a button press. With default properties ( Transaction: <No Controller Transaction> ) I get preferred values from session's userData within Entity Object.
    Code snippet inside that entity implementation looks like:
            DBTransaction dbt = getDBTransaction();
            System.out.println(getClass().getName() + " entity lives AM: " + dbt.getRootApplicationModule().getClass().getName());
            if (dbt.getSession().getUserData() == null) {
                System.out.println(CustomAppModuleImpl.SESSION_VAR + " -> NULL");
            } else {
                System.out.println(CustomAppModuleImpl.SESSION_VAR + " -> " + dbt.getSession().getUserData().get(CustomAppModuleImpl.SESSION_VAR));
    ...And as I mentioned output is correct:
    test.model.EmployeesImpl entity lives AM: test.model.AppModule1Impl
    MySessionVar -> UselessNow the trickiest part. As soon as I change property of called task flow Transaction to something else that +<No Controller Transaction>+, e.g. Always Begin New Transaction, code snippet from task-flow.xml :
        <transaction>
          <new-transaction/>
        </transaction>
    ..This session stuff begin to act unpredictably. Session's userData is now null. And Output looks like:
    test.model.EmployeesImpl entity lives AM: oracle.jbo.server.ApplicationModuleImpl
    MySessionVar -> NULLWhy in the world ADF uses oracle.jbo.server.ApplicationModuleImpl instead of test.model.AppModule1Impl or at least my defined test.model.CustomAppModuleImpl ?!?
    Is this a bug? Or maybe a feature?
    10x
    Regards

    Hi,
    Why in the world ADF uses oracle.jbo.server.ApplicationModuleImpl instead of test.model.AppModule1Impl or at least my defined test.model.CustomAppModuleImpl ?!?
    Is this a bug? Or maybe a feature?
    ADF BC alwyas has a transaction opened even if the ADFc setting is No Transaction. So if you explicitly ask for a new transaction I assume that the ADF BC data control creates a new transaction without re-executing your AM initialization codes. Looks as if it uses an internal AM instance for this just to hold the transaction. However, worth filing this as a bug - assuming you reproduced this with a later version of either JDeveloper 11g R1 or R2
    Frank

  • HFM Consolidations using Task Flow Automation

    I have created a task flow that has 5 stages (each stage having a success and a fail link). The first stage is set to consolidate (Impacted) our Actuals scenario for 6 years for 3 entity trees). The 2nd stage consolidates a different scenario for 3 yrs for 3 trees, etc. The task flow seems to "stop" in Stage 1 after consolidating all 3 trees for a few years. If I look in the View Taskflow status, the task flow still shows as being active; however if I look under Running Tasks, it shows nothing is running. If I look under Task Audit, it shows the last consolidation finished. I run into this same problem both when I schedule the task flow and when I run it manually. It consolidates a few years and then stops (and it's still in the first stage). I looked in the Event log on the HFM server and don't see anything that looks suspicious. Has anyone else had this problem?
    Also one more question - when I go to automate the task flow, why does the server time stamp listed there not match the clock on the server? I'm remoted into the server and the clock on the task bar says 9am, but the Server Date showing on the Starting Event tab shows 8am.
    Thanks.
    Terri

    I just got back to looking at this today. I ran the task flow to consolidate 2004-2009 actuals for 3 trees for all 12 months. All 3 trees were consolidated for 2004. Two trees were consolidated for 2005 and then it stopped. Both 2004 and 2005 are in the same stage of the task flow, so if the settings were correct for 2004, they should be fine for 2005. If I look at the task audit screen, it shows that it started consolidating the 2nd tree of 2005 at 8:32am. It then shows my id logging off at 8:33am and that the consolidation finished at 8:38am. Then it shows my id logging off again at 8:47am. The task flow is set up so that my id logs in for the 1st stage and then the following stages are set to use Initiator ... but the flow isn't getting to the 2nd stage be/c it dies.
    If I view the status of my task flow, it still shows as being active. I don't understand why the task audit shows my id as logging off be/c I still have the same 2 HFM sessions running as I did when I initiated the task flow ... unless it's the session that starts up to run the task flow that's getting logged off ... but if it is, I don't know why. Would the auto-logoff after so many minutes of inactivity cause this? Maybe that session appears inactive even though it's waiting for the task flow to do it's thing.
    1:07pm Follow-up - After the task flow hung this morning, I manually stopped it. I then kicked off the same task flow again and it completed successfully about 4 hours later ... so it doesn't seem to be due to the auto-logoff (time out) setting.
    Terri
    Edited by: Terri T on Apr 20, 2009 10:07 AM

  • Multiple task flows on same page

    Surely appreciate any help on this:
    I am dropping the same bounded task flow as a region twice on the same jspx.
    The region ids are different.
    The task flow has a single fragment which is bound to a page definition.
    The page def exposes a web service data control consuming two web methods: a fetch and a corresponding merge.
    I am setting the data control scope to isolated.
    My desire is to have two autonomous copies of the same bindings, one for each task flow.
    Instead, setting the scope to isolated causes the second fragment to bind to nothing.
    Setting the scope back to shared causes both fragments to access the same bindings.
    Any help?
    Thanks and Best regards,
    Josh

    Actually, let me correct this post.. since the above is a workaround and not the real issue.
    The parent page publishes a contextual event that is subscribed to by the regional-ized bounded task flows.
    These are two instances of the same task flow.
    It appears that once the first task flow consumes this event, it is removed from the event queue, so it never reaches the second task flow.
    This appears to be a bug in the ADF framework. I suspect it may be extending a limitation of the underlying JSF controller.
    Please respond if you may have a resolution.
    Thank you and Regards,
    Josh

  • Unable to extract all the currencies using Task Flow

    Hi Everyone,
    I have 60 currencies that I extract using a Task Flow in HFM 11.1.2.1 to a SQL table, I only receive 59 of those currencies FX Rates in the SQL table. The CNY currency does not extract at all.
    I have tried changing the PoV around with no success. I don't think it is the PoV anyway because the other 59 currencies have no problem.
    Any inputs please...
    Regards,
    Vinod

    Sounds like this is using an EA extract process. In your Task Flow, can you extract just that one (CNY) currency? If you do this directly in Extended Analytics, is the output any different from the Task Flow? How about if you extract to a text file rather than SQL?

  • Using the login task flow in a page

    Hi All,
    WE have a login jspx page as the application landing page which has an embedded login taskflow as region which takes care of the login process login to the application .The bounded taskflow has 3-4 pages which helps to do the site key implementation for login process . The login.jspx is just a page to hold the bounded taskflow.
    So the idea is to navigate from the login page with taskflow to the home page after the successful login using the default navigation model (navigation Id for home page ) and the navigation is working fine. But some other features like , the change in locale done form the login page are not getting reflected to the main home pages)
    Please comment on the implementation and advice for the best practices or anything done wrong here.
    Thanks
    JZWL

    Hi John,
    In normal ABAP Report / Executable program if we need to get some details from user, we use parameters or select-options. But in BSP we cannot use these, instead we have to make use of UI elements.
    But in BSP, the scenario would be
    You will have 2 pages, one for selection screen and other for result.
    1. First page will have UI elements like input fields and Button for submit. onInputProcessing must be triggered on click on button, and set the value entered in input field to the second page attribute.
    2. In the result page, onInitialization even handler read the value from first page and call the BAPI with that value and display the results in Layout.
    Hope you are clear now
    Regards,
    Ravi

Maybe you are looking for

  • How to integrate two controller​s of different vendors to synchronis​e the motion

    We have intended to synchronise the motion of X-Y linear positioning stages with the motion of precision press actuator. These machines supplied by different vendors and came with their stand alone controllers and their platform software controls. Ho

  • Macbook vs. Dell

    Interesting article pitting the MB against the dell latitude regarding which machine runs hotter. MB vs Dell Basically it seems the MB runs just about as hot as the dell does. I think one exhibit shows it 10f hotter then the latitude which isn't that

  • Dual Monitor

    Hi all, i'm going to purchase a new Mac Pro and two 24" Cinema Display. I've seen that the new Mac Pro got a Mini DisplayPort and a DVI port on the back and i would like to ask how can i connect the second Apple Cinema Display to it? Do i have to add

  • Data Source and Application Component

    Dear Experts, I am a beginner of BI and I create a Data Source but I forgot to create an "Application Component" beforehand. Now I create an "Application Component" individually and trying to drug my "Data Source" to the "Application Component", but

  • Exclude folders in a search with smart folders

    setting up a smart folder or doing a search, using the "kind", the only choice is "kind is". I would like to exclude folders. How could you do that? Or if I say kind is documents it finds text files but excludes Excel files. Basically I want everythi