Remote task flows in ADF

Is invoking a remote-task-flow in ADF world similar to WSRP concept in weblogic/webcenter world?
We have a scenario, where we are building an app based on ADF, which needs to share some of its contents (task flows etc) in another ADF based application. Can we leverage remote-task-flow invocation for that, or we need to strictly have a WSRP based approach only. Consider the fact the invoking client app is based on fusion ADF standards.
Thanks

Hi,
Thanks for the reply. Yep I agree using web-center we can achieve this, however in our case the supposed consumer application is an ADF based and non weblogic/webcenter one.
In the white paper link, you mentioned also it says that -
The resulting WSRP portlets can be consumed by custom Oracle WebCenter applications, by Oracle Portal 11g, and by Oracle WebLogic Portal. The Ensemble pagelets can be consumed by Oracle WebCenter Ensemble and Oracle WebCenter Interaction.
Hence with that in mind, I was looking at something like a producer consumer for task flows in pure ADF world.
I am not exactly sure, by what you mean by - 'I would suggest,you better use remote adf taskflow only for reusing it'. Do you mean as a shared library (jar)?
There is a whitepaper which talks about more than re-usability concept, but more on the lines of - producer consumer (I guess).
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/43-remote-task-flow-169185.pdf
Is this something which can be extended to have a page fragment (not the whole page) of the consumer application call a particular remote task flow?
Thanks
Sachin

Similar Messages

  • Possible to use menuBar with task flow based ADF menus?

    Hello -
    I've just worked through the " [Create ADF Menus for Page Navigation|http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_43/ccset43_ALL.html] " tutorial. It shows how to create menus based on your task flows.
    My question: is it possible to use the af:menuBar with these menu models (instead of navigationPanes or breadcrumbs) ?
    I am using JDev 11g 11.1.1.1.0
    Thanks.
    Edited by: scott.turnquist on Nov 5, 2009 12:07 PM

    Hi,
    The XML menu model extends the Trinidad TreeModel, which extends Collection model. This allows you to access the hierarchical menu structure so that you can use af:iterator to build a structure to display in a af:menuBar
    Frank

  • Warning after creating Human Task Flow in ADF project

    I'm using JDev 11g and have created my SOA Composite containing a Human Task. After I generated the Task flow based on Human Task in my non-soa application, I get the following warnings which are preventing my application from building and deploying to the admin server. I have followed the instructions in the Developer's Guide for Implementing an ADF Task Flow for a Human Task.
    Warning: <Feb 22, 2010 9:47:59 AM PST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    Warning: Unresolved WebApp library references defined in weblogic.xml, of module 'public_html' [Extension-Name: oracle.webcenter.framework.view, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.applcore.view, exact-match: false].
    Did I miss a step somewhere, I've double checked the class libraries, but am not sure what I should be looking for, I added the recommended libraries to the class path per the Developer's Guide.

    ###<Feb 25, 2010 12:20:11 AM PST> <Warning> <Deployer> <den65044fwks> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1267086011065> <BEA-149078> <Stack trace for message 149004
    java.lang.NoClassDefFoundError: oracle/as/scheduler/MetadataService
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
         at java.lang.Class.getDeclaredFields(Class.java:1743)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:97)
         at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:228)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:211)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1301)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:425)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:470)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:901)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:345)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:388)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:44)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:610)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:198)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.NoClassDefFoundError: oracle/as/scheduler/MetadataService
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
         at java.lang.Class.getDeclaredFields(Class.java:1743)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:97)
         at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:228)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:211)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1301)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:425)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:470)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:901)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:345)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:388)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:44)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:610)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:198)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapte

  • Image not showing on task flows in ADF Library

    I have a application which uses carousel showing images from blob column. I am using imageservet to show images in carousel component.
    I deployed this app as ADF Library jar and reference that task flow in other application as region.
    All components are working fine except the images on carousel.
    Any ideas ?

    web.xml
      <servlet-mapping>
        <servlet-name>ImageServlet</servlet-name>
        <url-pattern>/imageservlet</url-pattern>
      </servlet-mapping>
      Carousel
    <af:showDetailItem text="Pictures" id="sdi1"
               stretchChildren="first">
    <af:carousel currentItemKey="#{bindings.AgbGrowerImagesVO1.treeModel.rootCurrencyRowKey}"
              value="#{bindings.AgbGrowerImagesVO1.treeModel}"
              var="item" id="c30"
              partialTriggers="::pc1:t1">
      <f:facet name="nodeStamp">
        <af:carouselItem id="ci1">
          <af:image source="/imageservlet?growerimageid=#{item.bindings.GrowerImageId.inputValue}"
              shortDesc="Image" id="i1"/>
        </af:carouselItem>
      </f:facet>
    </af:carousel>
    </af:showDetailItem>Images are showing when I run the page in its original application. Its not showing when I use it in consumer application as adf library.

  • 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

  • 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

  • How Worklist/BPM knows which task flow to invoke at runtime

    Hi, I use JDev 11.1.1.5
    In my BPM, I had one Human task activitiy state. Then I create a task flow through "ADF Task Flow Based on Human Task". I found that there is no any configuration value for taskFlowFileLocation property in .task source file. However, the process succefully invoke the correct task flow when I run it.
    I am curious on how the worklist engine associate the task flow with the human task? If there are multiple task flows for the same human task, which file is the right place to find the configurations?
    Thanks,

    Hi Yannick,
    I have a same scenario like yours. Have you implemented that? How to modify the preferences in backing bean? I change the input parameters of taskflow in backing bean. But when popup the edit dialog, the old value is still there. Thanks.
    Regards,
    Joe

  • 11gR2 error: call a bounded task flow with method call as default activity

    hi all,
    We migrated several applications to the JDev 11g R2.
    There are 2 applications that contain a bounded task flow where we define Method Call as default activity.
    We need invoke specific actions before opening the page.
    They run well with 11gR1.
    But with *11G R2*, I can’t call directly this task flow with the following URL:
    http://127.0.0.1:7101/MyAPP/faces/adf.task-flow?adf.tfId=my-flow-def&adf.tfDoc=/WEB-INF/flows/my-flow-def.xml
    Message:
    *<SecurityUtils><invokeURLAllowed> ADFc : impossible to call directly the task flow '/WEB-INF/flows/ my-flow-def.xml #my-flow-def' with the help of URL*
    (original message: <SecurityUtils><invokeURLAllowed> ADFc : impossible d'appeler directement le flux de tâches '/WEB-INF/flows/ my-flow-def.xml #my-flow-def' à l'aide de l'URL.)
    Any idea?
    Thanks for you help

    Hi,
    Have a look at the task flow properties, in PatchSet1, a new feature "invokeURLAllowed" is added that prevents bounded task flows from being URL accessible for security reasons. You can swithc this feature on and off
    Frank
    Ps.: I though that bounded task flows that you call from a URL generally needed to have a viewActivity as the default activity

  • Redirect from task-flow to an external link

    Hi,
    From a bounded task-flow I have to use an ePayment virtual system. I have some parameters to fill and call an external link. One of those parameters is the ReturnURL when the payment system will return after finishing the Credit Card payment.
    I am confuse about what to give to ReturnURL variable if the call is from a task-flow. Note that I need the return to be in a specific View inside the task-flow to let me modify/add some value to the DataBase.
    getHeader did not work because it gives the following:
    request.getHeader("Referer");
    http://localhost:7101/TasdeeqApp/faces/member-task-flow/certifyDocument?_adf.ctrl-state=12oyjcx0ho_27
    Any idea about how to develop this type of external payment server using ADF-faces?
    Task-Flow------->https://XXXX---->Back to a specific View inside the Task-Flow
    Thank you
    Jamil
    Edited by: Jamil Nour on Sep 20, 2010 6:47 AM

    Hi Jamil,
    First of all in your case as you want to return to the page in ADF from the epayment, you must to use the UN-bounded task flow with a page that has bookmark flag==true in order to be able to return to that page in your UN-bounded task flow.
    But if you are insist to use the bounded task flow when creating that task flow in the create page un-check the property use-page-fragment.
    then, drag a page ->.jsp not .jsff on that bounded task flow and when you run that page from bounded task flow you will see the address.
    use that address for the return-path.
    http://127.0.0.1:7101/test-forum-ViewController-context-root/faces/adf.task-flow;jsessionid=vGtgMYGSnFdyv1LQXhJ1yQ69MWT26ppvVJQdZTRyzKStrs5L2kHq!-448081696?adf.tfId=*task-flow-definition1*&adf.tfDoc=*/WEB-INF/task-flow-definition1.xml*&_afrLoop=1003390740777&_afrWindowMode=0&_afrWindowId=null
    those with bold is what the parameter must be included when you just right-click on the page on the bounded task flow and run it you will see the URL. just use that URL.
    But if you want to use page fragment to be included in the popup in the page it is not possible to return to them.
    to complicate the situation I have to add another problem that when you want to return to a page in the bounded task flow that page must be only the Entry point (the page with a green hollow around it) if you want to return to a page in the middle of the Task Flow you must use a router in the First Entry and that router base on some parameter from Request decide that go to which page.
    if you think this senario complecated just drop me an email and I will create a test case for you.
    another issue to consider is the property of adf.ctrl-state=16d41j3t8n4* generally when you want to return to an ADF application if you do not specify the exact adf.ctrl parameter to the URL when you want to return to ADF you will face some problem, to clarify the issue when you login to a ADF applicaiton a adf.ctrl parameter is generated that hold the user specific parameter when you leave ADF and want to return to ADF again, as you not login again(create fresh session), you want to continue your last session, you must return to ADF application with same value for ADFctrl.
    I hope this issues give you the idea. ;)

  • Learning task flows questions

    1.  In this tutorial ccset22_all.html, why is it necessary to wrap one task flow within another as the directions state:
    In the Create Task Flow dialog, enter calling-flow.xml as the file name. Confirm that Create as Bounded Task Flow is selected, and deselect Create with Pa ge Fragments . Then click OK.
    In the Application Navigator, select the orders-flow icon, and drop it on the calling-flow.xml page in the editor window.
    2.  Why when testing the pages, is it necessary to Start -> Run the task flow, and not simply the page that is the default activity of the task flow?

    Hi
    1.  In this tutorial ccset22_all.html, why is it necessary to wrap one task flow within another as the directions state:
    In the Create Task Flow dialog, enter calling-flow.xml as the file name. Confirm that Create as Bounded Task Flow is selected, and deselect Create with Pa ge Fragments . Then click OK.
    In the Application Navigator, select the orders-flow icon, and drop it on the calling-flow.xml page in the editor window.
    Hi, this is one of the options you have with task flows: breaking down longer processes into smaller using task flow call activities. So tutorials don't list mandatory designs but design options.
    2.  Why when testing the pages, is it necessary to Start -> Run the task flow, and not simply the page that is the default activity of the task flow?
    Pages in bounded task flows cannot run stand alone and must be run through the task flow if you want to test them in the context of the bounded task flow
    To learn ADF Task Flow, see
    ADF Insider: ADF Task Flow Overview (Part 1)
    ADF Insider: ADF Task Flow - Overview (Part 2)
    Frank

  • Malformed URL when executing task flow

    Dear Gurus,
    when executing a recently created task flow in my project,after authentication, I get a 401 error message. I have applied the authenitcated-role in my task flow in jan-data.xml file, so this error does not make sense.
    However, i have noticed that in the formed URL there is something strange. In the adf.tfId= part of the URL, the id of the task flow mentioned is different from the adf.tfDoc= part, where the actual XML file of the task flow is mentioned. The id of the task flow in adf.tfId belongs to another task flow.
    Below, the created URL is depicted
    http://127.0.0.1:7101/HERA-Gui-context-root/faces/adf.task-flow?adf.tfId=gui-authentication-flow&adf.tfDoc=/WEB-INF/advanced-authentication-flow.xml&_afrLoop=14818531247046&_afrWindowMode=0&Adf-Window-Id=w0&_adf.no-new-window-redirect=true
    When I manually change the adf.tfId to the id of the task flow I want to run, the task flow runs normally.
    Can somebody explain me what is wrong?

    Hi..
    Check whether here is some point to you
    http://cn.forums.oracle.com/forums/thread.jspa?threadID=1063589

  • 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.

  • 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.

  • Creation an ADF Task Flow Based on a Human Task

    Hello!
    While creating ADF Task Flow Based on a Human Task, I can't bind New TaskFlow to task, which I choose in Dialog.
    Details:
    I Have:
    BPM Project with PackageCreation.task
    ADF Project in Same Application
    I do:
    1. in Application Navigator right click on ADF Project -> New -> Web Tier -> JSF -> ADF Task Flow Based on a Human Task
    in creation Dialog I choose PackageCreation.task and Don't change name of New TaskFlow (automatically JDeveloper set this name to PackageCreation_TaskFlow)
    I have After that:
    new ADF Task Flow and my old PackageCreation.task.
    Question:
    Why my Task don't bind to created ADF task Flow based on it?
    I think, that while creating ADF Task Flow Based on a Human Task it has to change my task, writing some thing like This (inside xml):
    <taskFlowFileLocation>file:/D:/JDeveloper/mywork/SalesQuoteLab/EnterQuoteUILab/public_html/WEB-INF/EnterQuoteDetails_TaskFlow.xml</taskFlowFileLocation>
    That xml element is creating in xml of *.task, while making auto-generation form for human task in BPM Project.

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • What is difference between ADF Task Flow and Faces-Config - when delpoy ?

    What is difference between ADF Task Flow and Faces-Config? When I create navigation between pages with ADF task flow then the navigation don't work when I deploy my application to Weblogic 10.3. When I use default server then navigation works fine. With Faces_config in both situations all works ok - on Stanalone server and default.
    Where is the problem?
    Best regards!

    Shay, I don't use both faces-config and adf task flow! When I failed with task flow I tried faces-config.
    I have active on my weblogic - adf.oracle.domain(1.0,11.1.1.0.0). This is the right ADF? If yes then where is the problem?
    Best regards!

Maybe you are looking for

  • Why can't I delete the file?

    What I want to do is: After user download the file from web, the application will delete the file automatically on ther server. However, the delete function cannot work which it prompts the java.lang.Exception, I suspent it is the download process ho

  • Using async in an AIR application?

    After reading this FlexUnit tutorial: http://www.adobe.com/devnet/flex/articles/flashbuilder4_tdd.html I downloaded the files here: http://download.macromedia.com/pub/developer/flashbuilder4_tdd_source.zip ...and changed the project, FlexUnit4Example

  • VPN will not open or connect

    Hi, I'm running VPN Client 5.0.07.0440 on a Windows 7 Pro HP TouchSmart. The .pcf file is the same iI am using on many other machines. When I double click the icon, the window opens up, but when I double click the connection entry, the dialog box say

  • Siri does not respond accordingly to my question

    For example, when I tell Siri to read my messages (texts), it responded "I'm not interested in sex". When I ask to find a contact such as Ian in my phonebook, it responded "What type of iron that you need?". It's like talking to a wall. Please help.

  • Photoshop CS6 3D Menü existiert bzw. 3D Funktion geht nicht!

    hallo community, ich besitze die Photoshop cs6 version und habe ein problem mit der 3d funtion... Im menü, wo sonst auch der reiter 3D sein müsste ist bei mir nichts! ich habe keinerlei zugriff auf die 3d funktionen von Photoshop.. ich besitze eine a