Creating ReUsable TaskFlows

hi All,
I'm using ADF BC, JDev 11G. I need to reuse the task flows built as a part of different applications. I've included the sources by opening the respective projects(model and ViewController). Following the instructions from Packaging a Reusable ADF Component into an ADF Library I was able to create the File System.
The error is that I'm not able to use that taskflow as a button on the page in a different application. I'm getting error MDS-00013. How to solve this issue.
Is there a simpler method to create reusable components, task flow etc.
Stack Trace:
Root cause of ServletException.
oracle.adf.controller.ControllerException: ADFC-02001: ADF Controller cannot find '/WEB-INF/task-flow-definition_3.xml'.
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:448)
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:358)
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:170)
at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:214)
at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:931)
oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/task-flow-definition_3.xml"
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:936)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2398)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1042)
at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:202)
at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:402)
Suggestions would be appreciated...
Thanks in Advance...
Jyothi

Hi,
Once you create a file system connection to the directory where you have deployed your ADF Library, you can expand the library in the Resource palette. You can right click it to add it to an active project in your app. If you have multiple projects, choose one that you wanna add the library to.
If you have reusable task flows you will find ADF Taskflows node under the jar in the resource palette. Just drag and drop the task flow as a region or a dynamic region in your jspx page. Or if you wanna use it as a task flow call or return, then you can see the jar in the component palette. Just expand the drop down in the component palette, choose the jar. Then drag and drop the task flow.
BTW if you have a db connection etc packaged in your jar an dif you are reusing them, then the password wont be included. Expand the app resources accordion, choose your connection and enter the password for your db connection.
Thanks.

Similar Messages

  • Error in creating reusable worklist regions

    Hi,
    I tried to create reusable worklist region for the Task List task flow(taskList-task-flow-definition) in my fusion application using the following reference:
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/bp_worklist.htm#BHADHGCF
    I have passed the following parameters to the taskList-task-flow-definition task flow:
    federatedMode=true
    showServerColumn=true
    The wf_client_config.xml is present in the WEB-INF folder and src folder. Its contents are:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client" clientType="REMOTE">
    <server default="true" name="default">
    <localClient>
    <participateInClientTransaction>false</participateInClientTransaction>
    </localClient>
    <remoteClient>
    <serverURL>t3://<hostname>:8001</serverURL>
    <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initia
    lContextFactory>
    <participateInClientTransaction>false</participateInClientTransaction>
    </remoteClient>
    <soapClient>
    <rootEndPointURL>http://<hostname>:8001</rootEndPointURL>
    <identityPropagation mode="dynamic" type="saml">
    <policy-references>
    <policy-reference enabled="true" category="security"
    uri="oracle/wss10_saml_token_client_policy"/>
    </policy-references>
    </identityPropagation>
    </soapClient>
    </server>
    </workflowServicesClientConfiguration>
    I have deployed the app to the Weblogic Admin Server. (The SOA Managed Server is present in the same domain). I'm getting the following Error message:
    Error showing tasklist. Possible reasons could be : 1. SOA server connection information is not available. 2. If it is run in federated mode, the default server may be down.
    Any solution to this?
    Thank you,
    Rashmi

    I was able to solve this by creating a bean with a method that returns the WorkflowServicesClientConfigurationType Object.
    Reference: Section A.7 in http://docs.oracle.com/cd/E17904_01/user.1111/e15175/bpmug_ws_taskflows.htm#autoId27
    This works when the JSPX which contains the taskflow binding is a 'Blank Page' and I'm able to see the tasks.
    However, I tried to follow the same steps on a JSPX which uses 'UIShell template' and got a NoClassDefFound error for oracle.bpel.services.workflow.client.config.WorkflowServicesClientConfigurationType
    Any solution to this?
    Thanks.

  • How do I create reusable titles in premier elements 13?

    how do I create reusable titles in premier elements 13?

    thomas
    Premiere Elements 13/13.1 Expert workspace
    After you create your title in the Titler, close the Titler.
    The tilte file will have been automatically placed on the Timeline at the position of the Timeline Indicator.
    Open Project Assets, and select the thumbnail for the title file that was placed there also automatically.
    With the Project Assets title thumbnail selected, go to File Menu/Export/Title in order to export your title as a prtl file saved to the computer hard drive for future use. This principle also applied to Title Templates edited in the Titler.
    Please let me know if you are OK with the details. Please ask if you need clarification on the above.
    Thank you.
    ATR

  • When is it mandatory to create a taskflow under WEB-INF folder?

    Hi,
    Today, I accidentally created a taskflow with a folder structure which is not under WEB-INF. To my surprise it is working. :)
    1) Is it safe practice to create a taskflow not under WEB-INF folder?
    2) When is it mandatory to create a taskflow under WEB-INF folder?
    Thanks,
    Srini

    Placing the taskflow in a) inside WEB-INF or b) outside WEB-INF folder will work as expected.
    But when a taskflow is placed inside the WEB-INF folder, it is secure.
    The blog post by Andrejus Baranovskis (http://andrejusb.blogspot.com/2011/02/beware-of-hackers-keep-adf-task-flows.html) suggested by Vinod has the detailed information regarding this.
    Thanks,
    Navaneeth

  • Create reusable jsf components as jsf components

    Hi
    I'm new to JSF (and J2EE in general, I used to use WebObjects a decade ago). I'm using JSF 1.2
    so, I'd like to know if it is possible to create reusable jsf components designing some jsp page ?
    I'm particularly interressed in reusable components that, when used, are not leafs in the html trees (but so support that the reusing page provide some piece of html to be put "inside")
    Is there any way to do that ? (WebObjects, a decade or so ago, allowed to do that...)
    Thanks for your help
    cd

    Use Facelets instead of JSP. Then you can make use of ui:composition for this.
    By the way, J2EE is dead, it's called Java EE now. This keyword must give you more r|decent Google results.

  • Dynamically Creating Bounded taskflow

    Hi
    Is there any option to create bounded taskflow dynamically that is through coding not by wizard. I have some java utility and by passing it taskflow name and jsff name it automatically create bounded taskflow.

    Yes I want to create bounded task flow. I want to dynamically bind page fragment to links in menu without manually creating there bounded taskflow.
    My Use case is that I have DB driven menu. I have hundred page fragment which I have to call from that menu in dynamic region. I don't want to manually create bounded task flow to open page fragment in region. I want to read form name from database and automatically create bounded task flow for that page automatically if it is not created. Otherwise I have to create these hundred or may be more bounded task flow manually and set task flow id to open particular page fragment.
    or
    Is there any other good way to dynamically bind page fragment to command links in menu.

  • How to Create reusable Jsfcomponent in Jheadstart 10.1.3.2

    Hi Jheadstart team,
    We are in the early stages of developing a larg project using jheadstart 10.1.3.2. 52 and we have some jsf compoents which will be repeated in meny pages like emploee information or product information.
    I wander if it is posiable to obtain some functionality like "Reusable module component" whitch was in oracle Designer?
    I have see the following demonstration in jdeveloper 11g Demos: http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/reusableJSFComponents/reusableJSFComponents.html
    and my question is if there is a way to implement such a functionality in Jheadstart 10.1.3.3?
    Thank you in advance.
    Alireza

    Alireza,
    You could use an af:region and include that in each and every page, using JHeadstart custom templates. Similar to how we use af:region elements for including the menu, form browse buttons, etc.
    However, a 10.1.3 af:region does not have native support for its own page definition like in R11, so you need to create a separate page definition, which needs to be "prepared" (calling refreshControl on it) for each page in wich you use the region. You can do this by overriding the JhsPageLifecycle class.
    Furthermore, the value bindings of the items within the region cannot use the #{bindings.EmployeeId.inputValue} notation, because they need to point to the separate page def, so you should use the notation #{data.SeparatePageDefName.EmployeeId.inputValue}.
    Steven Davelaar,
    JHeadstart Team.

  • Error Creating reusable subprocesses and transform them into BPEL

    I have a reusable process
    startevent-automated activity1-automatedactivity2-end event
    I have a main process:
    startevent- automated activity"step 1"-subproces step 2 (type =independent, reference to subprocess)-automated activity "step3"-end event
    When I transform the subprocess, it is successful. Then I transform the main process. it gives me the error "subproces step2 should have a start event and an endevent. It will not open in BPM Studio".
    The start and end event are there. Am I missing something here?
    Regards,
    Lonneke

    I figured out the problem: if I want to create a reusable subprocess in BPA Suite, I need to create a 'regular function' (not an automated activity) and assign it to the subprocess. Then it is transformed without any errors.

  • Create reusable custom frames

    I have PSE 9.0 and love the frames.
    But I bought some *.png frames to complement those.  The problem is that I don't know how to make teh purchase *.png file behave the same way as Adobe's frame. In other words, I can drag and drop into a background and then put my photo into the frame.
    If I just apply the *.png layer, it will be transparent on both sides.
    any ideas on how to make these *.png frames so that I can use it just like built-in frames?
    again I use PSE 9.0
    thanks

    Hi,
    ADF Faces 10.1.3 does not have an inheritance model. This means that you create a custom skin css not for a single component but the whole component set. The CSS howver is reusable across applications. In JDeveloper 11 (Trinidad and ADF Faces RC) skin support inheritance so that you can create acascade set of skin definitions
    Frank

  • Is there a way to create reusable HTML Forms that can be used on multiple pages?

    I'm trying to understand the recommended approach to managing 10 HTML forms that will be reused on many different pages.  I want to be able to modify the form definition once and have the change propogate.

    Is your requirement that authors be able to change the form definition, or should form definition be controlled by developers?
    In the case of authors being able to change the form definition then I would say best practice would be to create a page that holds the form definition (using whatever components work for you - either the out of the box form components or something custom). Then use the reference component to point the definition in all the other locations you want the form to appear. One thing to note is if you are using dispatcher for caching you need to make sure you strategy for cache flushing accomadates this approach.
    In the case of developers controlling the form definition you could crate a component for each form, and then simly drag that component onto the pages that require the form. In this case your would control all the form label and description elements in the localization file.

  • Using UDDI to create reusable ESB/BPEL artifacts

    I would like to make my ESB artifacts reusable by removing end-point details from ESB configuration and having that kind of detail in an UDDI. It does not seem that the ESB has the ability to do UDDI inquiry's in runtime. Does anyone now of a work around? Have played around with the endpoint properties beta feature in Jdev to achieve some sort of abstraction, but this is not good enough (http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28211/adapter_services.htm#CHDJJDHB)
    From BPEL there seems to be a way of at least using UDDI service keys (http://www.oracle.com/technology/tech/soa/soa-suite-best-practices/reusable-soa.html).
    Any input would be much appreciated.

    Hi
    We're planning an enhancement that will enable ESB to query UDDI for service endpoints using the uddiServiceKey, similar to what we provide with BPEL.
    If you send me an email on this subject I'll inform you when the enhancement is available.
    Thanks
    Dan Hynes
    [email protected]

  • Creating reusable components

    What is the best way to create a custom component that can be
    used by more than one flex application? For example, I've made a
    component that I want to be able to use in both a web flex
    application, and one the runs on AIR.
    Is there a way to add my own controls permanently to Flex
    Builder 3 ?

    You would create a library (SWC) for this. Then include your
    library in the project settings. Otherwise, if you need to tweak
    things the general convention is to put your component AS or MXML
    files in src/com/yourdomain/yourcomponent.

  • Create reusable BPM Human Task Form across Projects

    Hi,
    I have a challange in my project. I have a BPM application with many BPM process inside, and each BPM process has its own human tasks. Is easy for each HT create a form in a jspx file, for that an independent project is created.
    The challange is: most of the HT payload is just informative, and it is wanted to be shown in most of the HT across the application so, what do you suggest me to do, in order to avoid reorganize a form every time I create it with "Autogenerate Form" or "Launch Create Form Wizard" options in the HT?. With reorganize a form I mean: put this label here, change this to read-only, change the layout, etc...
    Thank you!
    AAPDL

    Hi,
    its best to post this question to the SOA forum. The answer on this forum would be to use a  page template, a parametrized bounded task flow and then add the bounded task flow to each page that has the template. However, the task flow in the HT case is generated, which means that you re-build it all the time (meaning you don't work with the same task flow but multiple). If you know how to just use the HT API to access the information to display, you could write a generic bounded task flow for this. Check on the SOA forum if they can come up with a template approach for your use case.
    Frank

  • Reusable Taskflow

    Hi All,
    I am facing a problem while using the reusable task flow in the consuming page.
    1. I am using a consuming page in another page(main page) as region in side panelBox(Main page is having one panel box inside panel box i am using region). As so as main page opens only consuming page only lable's are coming.
    2. If I collapse the panel box and expand, am getting all the components.
    Kindly help me in this.
    Thanks in advance
    Regards,
    Ashok E

    Hi,
    page flow scope beans are private to the task flow they are defined in. So an outer task flow cannot directly access this information
    Frank

  • Create Taskflow object programmatically

    Hi All:
    Could any one point me to any API that allows me to create Taskflow object programmatically?
    I would like to automatically create an Taskflow object that "wrap around" our object when the user drag n drop the object to an jspx page.
    Thanks

    Hi,
    Assuming that you are using ADF BC 11g and without fully knowing your case...
    I could say you could use ViewObjectImpl methods through your ApplicationModule..
    The methods are there.. and you will use them whenever you want.
    With this way you will not have to create any bindings programmatically..
    In fact, I am not certain if what you are asking is possible..
    However, here are some links that migh help you with the Binding Layer.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
    http://blogs.oracle.com/workingwithadf/entry/intro_to_adf_binding_layer
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/insiderBinding1/BindingsPart1.html
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfinsider-binding-internals-2/adfinsider-binding-internals-2.html
    Regards,
    Dimitris.

Maybe you are looking for

  • Adobe CC with tablet PCs

    I Just learend that the Microsoft Surface Pro 3 is compatible with Adobe Photoshop. I am wondering if there is a cheaper alternative to the Surface Pro!

  • System LAndsacpe

    Hi experts, (Q1). I’m new to SAP XI and recently I’ve attended an interview with an MNC. There the interviewer asked to draw complete system landscape (all systems which are integrated with XI). I told him that I’ve configured JDBC, File (with conten

  • ALE Logical System Error

    Hi Experts In a simple File to Idoc scenario i used a BPM and did the mapping outside the BPM. The BPM just receives the message of type IDOC and sends it to the R/3 system. In Message monitoring the transformation of message from file server to BPM

  • Weblogic client not shutting down properly in web app

    Hi, We have an application running on Tomcat which uses wlfullclient.jar to connect to EJB's hosted on a Weblogic server.  We're seeing errors like the following in the logs when the web application is shutdown, which appear to indicate that the Webl

  • Color space distance

    Is there're a built-in function in the AE sdk, that calculates the distance between two pixels, ie ||P1 - P2|| or (||P1 - P2||)^2. I see functions for calculating luminance, saturation etc, but nothing for pixel distance in the color space. Thanks ar