Custom ADF Taskflow to be displayed as part of Human Task notification

Hi all,
I am trying to display a custom ADF taskflow as part of notification of a Human Task. I see multiple ways of implementing it and need guidance on how to go about this.
As a first step, I created a taskflow based on the human workflow task. This is WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml. Then I see 2 options -
Option 1 - Use setTaskDisplayUrl while creating the task
oracle.bpel.services.workflow.task.model.Task task = objectFactory.createTask();
String AppUrl = oracle.topologyManager.client.deployedInfo.EndPointProvider.getExternalEndpoint("xyzCommon");
String taskflowUrl = AppUrl + "/faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml";
task.setTaskDisplayUrl(taskflowUrl);
Option 2 - Define the taskflow in the Enterprise Manager - Add or remove the URI for the user defined task details application.
Setup the Application Name=worklist, Host Name, HTTS Port, URL=/xyzCommon//faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml
Questions -
1. Are both the above options required to get my notification correct or is just one of them enough? If one of them is enough, which is better to use?
2. Is creating the taskflow from the human workflow task the only way to customize my notification to show a taskflow?
Thanks,
Srini

Learnt that I need to follow this link and no explicit setting is required in code.

Similar Messages

  • Not able to get the value in ADF taskflow on load

    Hi,
    I have created an ADF task flow. I have created a ViewObject in this ADF taskflow and I am setting the value of this ViewObject using the java API.
    The issue is that i need to show the data when this ADF task flow executes first time.
    Currently I am getting the blank table in jspx page when ADF task flow is run. Now when I click on a button then I can see the required data in the table.
    Please help me to solve this issue.

    Thanks for the reply.
    I have tried placing the code to get the set the data in table and display the same from table in bean constructor, but I am getting table value as null.
    Looks like it is not able initialize the table until the jsff page gets loaded.
    Does jsff page gets loaded after bean constructor method gets called ?

  • How to create Image as Custom Property Type used in Configurable Web Part?

    I wanted to create custom configurable web part property for Image.
    Example - the screenshot of Image property used in Image web part is shown below:
    My goal is to create as many images as possible in custom configurable web part.
    I tried to write the code:
    [WebBrowsable(true),
    WebDisplayName("Example Photo"),
    WebDescription("Example Photo of the user"),
    Category("Custom User Profile"),
    Personalizable(PersonalizationScope.Shared)]
    public Image ExampleUserPhoto { get; set; }
    However, the result does not display Image configurable web part property.
    I wonder why the data type Image does not cause the custom web part to have Image configurable web part property.
    Other data types such as Boolean, Enum, Integer, String and DateTime can be used.
    How can I create Image as Custom Property Type used in Configurable Web Part?

    I have examined that context node __00 has been enhanced,and  has a class name  z___00. But  when I created a new attirubute by right click " Attributes" with wizard under context node __00.There is still  a error message "view is not enhaced or copied with wizard".
    But  when  I created a method  "getvaliation "  in the class of context node zcl__00, the attribute  'valiation' automatically created(at the same time the method "getvaliation' automatically  created for the attribute 'valiation') and I need not to create attibute 'validation' by wizard .  It seemed as if the problem is resloved. But when I make test for it in web ui .There is a runtime erro message.
    Do I need to make some configurations in  the business object layer  for the checkbox? but  the checkbox is only used as a flag  to decide whether a backgoud job is needed to be executed.
    Edited by: samhuman on Jun 22, 2010 10:31 AM

  • Fusion Applications 11.1.7: Deploy a custom ADF page to Fusion Applications

    Hi,
    I am trying to create and deploy a custom ADF page in Fusion Applications(in premise) which will allow search, create and update operations on a custom table. I have been going through a pile of documents and this forum but I still have the following questions.
    I have a PageA based on the UIShell. This page is linked to the taskflow TaskFlowA which provides the search functionality. TaskFlowA calls TaskFlowB and TaskFlowC which provide the create and edit functionalities.
    I have enabled security from Jdeveloper (Application>Secure>Configure ADF Security)
    Question#1: Is this step required?
    To deploy it I will generate the ADF Library JAR for the Model and ViewController. The ADF Library JAR for the model will be placed into the <ExplodedEarDirectory>/APP-INF/lib directory of an existing application(say HCM). The ADF Library JAR for the UI will be placed in the <ExploadedWarDirectory>/WEB-INF/lib directory.
    Question#2: Are any other steps required for deployment.
    I will then add permissions for the page by following the steps in How To Configure Security For Custom Pages/Taskflows Added To Fusion Applications(Doc ID 1486524.1). This document lists the steps for configuring authorization policies using APM.
    Question#3: While specifying the resource type in APM, I will select RegionResouceType and set the Name to PageA. I understand that I need to provide the full path of PageA in the form xx.xxx.xx. But how do I get the full path?
    Finally I will add a new menu entry in the Navigator menu using the setup task “Manage Menu Customizations” by adding a new item.
    Question#4: What will be the value of Focus View Id for the new Item? Will it be the Focus View Id that I provided while creating the menu file in JDeveloper?
    Question#5: What will be the value of Secured Resource Name? Will it be the same as what I provided in Question#3 above?
    Thanks,
    Sujoy

    Question#1: Is this step required?
    Yes if you want to test the security in the integrated WLS .
    Question#2: Are any other steps required for deployment.
    Yes. Please follow up our earlier post ADF How-To #12: Deploying Customizations to Standalone WLS
    For question #3, #4 & #5 please first review our other post ADF How-To #10: Replacing A Bounded Task Flow  This won't answer completely what you asked but would definitely be a step in that direction.
    I would also recommend you to go through other posts starting with title ADF How-To #.
    Hope this helps
    Vik
    http://blogs.oracle.com/fadevrel

  • Advice using workspace in custom ADF application

    Submitted on behalf of Mike Rooney (who cannot access this forum):
    We are analyzing Oracle BPM 11g beta and would like to understand existing resources for building worklist views, task status, bpm reports, etc, into our custom ADF 11g application. We want to create components on our ADF application pages that mimic these features provided by Oracle Workspace. Are there APIs, libraries or rich components that exist? We have reviewed Chapter 29 of the Oracle SOA 11g Developer Guide which discusses a programmatic solution for building a custom worklist client. We are wondering if there are any alternative rich components or declarative solutions for this functionality.
    Any help or advice is appreciated!
    -- Becky Kellinger

    Sorry for the delay on this one.
    Our 11g api is completely backward compatible with 10g. So the source we provide for the JSP based worklist app in 10g still works with 11g.
    Starting with BPM PS1, we are also providing reusable taskflows for customers to create their own ADF app and reuse our worklist regions in that app.
    Heidi.

  • ContentPresenter ADF Taskflow - Avoid re-write of content URL

    Hello,
    I see content presenter ADF taskflow has a feature that re-writes content URL. In my case, i show a HTML content item in content presenter which contains a download link to a DOC file present in UCM (as below). On render, internally content presenter re-writes the URL as below.
    Experts: I want to know if there is any way to override this feature of content presenter.
    1) Its not just ".doc" extensions, any link starting with "/cs" is re-written by content presenter
    ContentPresenter - Avoid re-write of content URL
    Original HTML from UCM:
    Please <a href="/cs/groups/asset/documents/contenttype1/~asded/ad1.doc"> click here </a> </p>
    Rendered as below by Contentpresenter:
    Please <a href="/appcontent/faces/oracle/webcenter/sitestructure/render.jspx?datasource=UCM%23dDocName%DOC_CONTENTID"> click here </a> </p>
    Appreciate help.
    PS: This Taskflow was OOTB built for WebCenter and may be should be part of that forum, but given frequency of responses, I have add here.

    Hi.
    As you said, Content Presenter has a urlRewriterClass in the service definition of type oracle.webcenter.content
    My recommendation is to open an Oracle-SR to ask Oracle for the best approach or what to do with it.
    A solution can be overwrite the Java Class of the rewriter just to avoid the transformation of the URL. It isn't recommendable.
    I hope it helps.
    Regards.

  • ADF taskflow and runtime Customizations

    Hi,
    I have a taskflow that contains panel customizable, which is deployed as adf library to my webcenter portal application.
    When I open resorces catalog in composer mode at runtime I am able to add an instance of the taskflow to the page then add content into the customizable area.
    When I add another instance of the taskflow to a page anywhere in the portal it picks up the runtime changes i made to the first instance.
    Is there a way to stop this behaviour and allow multiple instances of a taskflow to run independently.
    My Taskflow:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <cust:panelCustomizable id ="pc1" xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
    layout="scroll" showEditAction="true"
    showSplitAction="true"
    rendered="#{Content.display}">
    <af:outputText id="ot1" value="EditId"
    binding="#{Content.ID}"
    rendered="#{securityContext.userInRole['Administrator']}"
    />
    </cust:panelCustomizable>
    </jsp:root>
    So the user can manipulate what goes into the content area at runtime.
    Regards

    Hi,
    To debug it on production, can you check on the hot-deployment area of Spaces apps to validate the shared library reference is updated in weblogic.xml is picked up:
    WebCenter_Domain_Home/servers/WC_Spaces/tmp/_WL_user/webcenter_11.1.1.4.0/<depl_prefix>/war/WEB-INF/weblogic.xml
    - Substitute respective depl_prefix with latest hot deployment folder created inside WebCenter_Domain_Home/servers/WC_Spaces/tmp/_WL_user/webcenter_11.1.1.4.0 directory for your instance.
    Cross verify the shared library reference for the ADF taskflow is reflected in the weblogic.xml for the Spaces server to reflect it.
    I hope it helps
    Thanks,
    Pramod

  • New ADF Taskflow transaction acquires a new JDBC connection?

    Hi,
    I would like to know more about ADF Taskflow transaction in relation to JDBC Connection.
    tf1 ----(contains)---- page1 and call to tf2
    tf2 ----(contains)---- page2
    page1 - search objects
    page2 - edit objects
    I have two pages part of two taskflows, first taskflow does not create any transaction but the page1 in tf1 shows a searh screen for objects. I want to use transaction behavior of ADF TF for tf2 which is called in tf1.
    My tf2 contains a page for edit objects, if i set New transaction as TF transaction behavior for tf2.
    Does it really acquire a new JDBC connection?
    I really appreciate if someone can help me with this.
    Thanks,
    Sunil.

    "Is there any way to achieve 1 user ---> 1 connection ?"
    I don't claim to be an expert on answering this as there's still a lot of things I need to investigate, and other's in the forum may chime in with more informed answers, but my understanding is you need to:
    a) Use a single root AM
    b) Configure your BTFs to use "shared data control scope" and the same AM
    c) All of your BTFs should use "Use existing transaction if possible"
    Because of "c", the very first BTF called, will not have a transaction to borrow, so it will establish a new transaction and therefore a new connection.
    An alternative is, and I'm on shaky grounds here so please check this for yourself, but you could set all your BTFs to "use no transaction", which implies I believe they switch back to the model used in JDev 10g, where it's purely your AMs that determine connections/transactions.
    As for saying 250 connections sounds very high, that's really up to you. If you build an application that you need to support a user with multiple transactions, it's your requirement that causes this. IMHO Oracle has given you the flexibility to build your application anyway you want, so it's up to you to decide if you want multiple concurrent transactions per user or not.
    Finally regards the behaviour observed in WLS, note that the AM pooling options can influence the behvaiour of connections, so it's hard to say what you're seeing is correct, it depends. A suggestion is to install Oracle's Fusion Middleware Control application and use that for monitoring statistics; the FMW Control has smarts built it to help you observe the AM pooling and connection pooling. Andrejus Baranovskis has a few blog posts describing how he used this to track the pooling options.
    CM.

  • Cross-Site Display Web Part in SharePoint 2010

    Every document library has its default web part called List view web part. So when we create a Document Library or list on a site, by default a
    List View Web Part is created. We can see that when we try to Insert a Web Part on a site. For instance, for
    Division Level Financial Records Document Library, the list view web part will be called, “Division Level Financial Records.”
    But we will only see this web part when we actually create a library or list on the current site itself.
    I would like to learn about Cross-Site Display Web Part. So I can have a document Library in one site and can retrieve, view, and upload records from a different site within the same site collection. I know Bamboo Solutions offers a web part that can
    do this. Any other? Any sample code to design a custom web part?
    Thanks a lot in advance!
    Mayank

    Hello Mayank,
    If you want to display content within a site collection then you can also use CQWP and dataview webpart but if you want to show content in different site collection then you have to create custom webpart.
    You can also try with codeplex webpart:
    http://crosssiteviewer.codeplex.com/
    For creating own webpart, please look at here:
    http://blogs.msdn.com/b/ramg/archive/2009/04/22/implementing-a-simple-cross-site-collection-list-view-webpart.aspx
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • ADF Taskflows with EJB and pageflow scope

    Hi,
    I am trying to create a simple registration page which is very simillar to FOD customer registration using EJBs instead of ADF BC.
    I can achieve the registration in one page but I wanted to try this using a wizard based process using ADF taskflows.
    I created a bounded taskflow with 3 pages. page1 is employee details, page2 is job details, page 3 is the summary page. I have JPA entities for Employee and Jobs and an EJB3 session Facade. I have used the Employees default constructor to create the UI bindings from the constructor section of the data controls. This creates an EmployeesIterator which I use it for bindings on all the three pages.
    My question is can I use this Iterator binding in pageflow scope? If yes How do I do this?
    The other way is to use a managed bean in pageflow scope and have UI bindings to the variables in managed bean. This option will work but I will not be utilising any of the features of ADF bindings.
    Can anyone please suggest which is the better option.
    Thanks
    Venkatesh

    Hi,
    pageDef files can be shared, but their instances aren't. The caching is on the data control side, which means that instead of using a constructor you would break up the input form into method calls like
    createPerson(String, fn, String ln, String address)
    createInterest(String hobby1, String hobby2);
    dagging and dropping the method calls should the reate an input form. Submitting the forms allows you to build a new person object on the session facade which at the end is committed. This way the ADF binding works across pages, operating on a single new object
    Frank
    Ps.: Note that I did not run this example for a test

  • Ses custom adf app

    can this document can be used for developing custom adf serach application for SES 11.1.2.0.0
    http://docs.google.com/viewer?a=v&q=cache:AHMbPpZU3SMJ:www.oracle.com/technetwork/topics/search/whatsnew/ses-integration-wp-132843.pdf%3FssSourceSiteId%3Dotnjp+develop+adf+app+for+secure+enterprisse+search&hl=en&gl=us&pid=bl&srcid=ADGEESi2-YUmZrkYoMdBzlqTyUuf48Isehcum89RA_1YQflRZuzYNbq6QzhdS65ogZdzZJnZvnlFsAJKcFi48hYjmMeJ077Trt1YD-dVBFR8qTCNaHS1YwG3moQH5OoUmcQHhXlC3r92&sig=AHIEtbRTVKHEG8-pluf4_rguF7ttqr9lQg

    Hi,
    I know what is happening, but i do not know why.
    The taskflow has a jspx whith a component binding.
    That binding points to a pageflow scope bean, defined in the taskflow.
    That bean also is used to get the parameters when the taskflow is called.
    I printed the bean hashcode, and for my surprise the parameters are passed to a different bean instance that the binding bean, the beans hashcode are differents.
    Why ? Is that a bug ? What do I have to do ? I need to set the binding to the same bean that gets the parameters.
    This is the component with the binding inside a jspx
    <bpm:processEditor id="processEditor"
    taskflow="true"
    inlineStyle="position:absolute;top:0;left:0;height:100%;width:100%;"
    binding="#{pageFlowScope.processEditorHost.editorComponent}"
    host="#{pageFlowScope.processEditorHost}" messageListener="#{pageFlowScope.processEditorHost.processMessage}"/>
    And this is the bean definition for the taskflow
    <managed-bean>
    <managed-bean-name>processEditorHost</managed-bean-name>
    <managed-bean-class>oracle.bpm.composer.beans.taskflow.TaskflowProcessEditorHost</managed-bean-class>
    <managed-bean-scope>pageFlow</managed-bean-scope>
    </managed-bean>
    For now I did
    final FacesContext context = FacesContext.getCurrentInstance();
    if (context != null) {
    final ELContext elContext = context.getELContext();
    elContext.getELResolver().setValue(elContext, null, EDITOR_COMPONENT, editorComponent);
    To save the component and then i can get it again.
    final FacesContext context = FacesContext.getCurrentInstance();
    ProcessEditor processEditor = null;
    if (context != null) {
    final ELContext elContext = context.getELContext();
    processEditor = (ProcessEditor) elContext.getELResolver().getValue(elContext, null, EDITOR_COMPONENT);
    The problem is that the component is not serializable.
    Regards
    Pablo
    Edited by: user10083573 on Aug 16, 2012 6:06 PM
    Edited by: Pablo Hadziatanasiu on Aug 17, 2012 10:26 AM
    Edited by: Pablo Hadziatanasiu on Aug 17, 2012 11:41 AM

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • Create Custom ADF Task Flow for BPM

    Hi,
    I'm working an project on BPM and I'm required to create a custom ADF task flow with multiple views based on the human tasks in BPM. Since I'm new to ADF, could some one please give me some pointers?
    Thanks,
    Debojit

    Hi,
    You have to implement your own custom worklist screens for such a subject. As you know the OOTB worklist screen shows the logged-in users' assigned, etc. tasks. You have to implement the API of SOA workflow.
    You can check Mark Nelson's blogs on Redstack to accomplish this. Hope this is the answer of the problem you are looking for.

  • How to get BPM Payload attribute value in ADF TaskFlow

    Hi,
               Activities which I did : I have created ADF Project. Then I created ADF TaskFlow through 'ADF TaskFlow Based on Human Task' option by locating BPM task. So now TaskFlow is been generated and also respective dataControl value also generated. In TaskFlow I created new .jspx file. I am going to design this jspx page by drag and drop from VO instances from dataControl. So for this jspx page, at runtime value will be populated from DB Table.
                      My Requirement :  When the Flow initiated, there will be Parameter value passed to the TaskFlow through Payload which is available in DataControl. So now I based on the Payload parameter value I need to filter DBTable and show the respective value in jspx page which I created in TaskFlow. So getting Payload value and applying filter on VO based on Payload parameter value has to be done before rendering Page.
    I tried to achieve this schenario as like below :
           - Assume like there is attribute called 'transactionId', for which value will be passed to the TaskFlow through DataControl. I created VO based on EO and appended where clause as : "VO.Trans_Id = : bindVar". Created bindVariable called 'bindVar'. In jspx page I just Drag and Dropped VO instance as form. And also I drag and Dropped 'transactionId' as outputText from Payload. And also I created ExecuteWithParams in Binding section of PageDef and mapped that one with invokeAction item in executable section. So now both payload Iterator and invokeAction  will be created in PageDef. I kept Iterator as in the order of : PayloadIterator at first and InvokeAction second one, So that at runtime it will execute in that order. And also I given "refresh" property to payloadIterator and invokeAction to 'renderModel' and I mapped PayloadIterator id to  refreshAfter property of InvokeAction iterator. Now at runtime, So at runtime updated/Newvalue will be retrived to Payload attribute by executing payloaditerator. So now for 'transactionId' value vill be retrieved. Next invokeAction will take value from newly retrieved 'transactionId' as input and execute query. So now VO will be filtered and need to be shown. But instead of that getting error saying like 'No outcome metadata specified for method call activity 'null'.'
    Is this way is correct? If yes, then What mistake which I have done?
    Is any other way to acieve this schenario?
    Do the needful.
    Thanks with Regards,
    PraveenKumar.N

    Guessing you might have looked at this at some point, but you might want to consider using the setCurrentRowWithKeyValue method to do this.
    Here's a blog post that I wrote a while back that goes through step-by-step what I think you're trying to accomplish:  Using a BPM Process Variable on an ADF form to Retrieve Database Information | AVIO Consulting
    Hope this helps,
    Dan

  • How to register Custom Escalation class or project as a part of soa installer?

    Hi,
    I have written a custom class for human task escalation which is part of project i created which contains all libraries and other files related to escalation.
    To test it i manually put in oracle.soa.ext jar inside soa module in weblogic server.
    However i want to register it using java class using some API.
    Please help.

    Take a look at the following blog article:
    http://jamesmacesp.wordpress.com/2009/12/14/provisioning-sharepoint-sites-with-feature-receivers-part-1/
    Add your custom page normally using a module entry in the feature.  But apply it as the default welcome page using the event receiver.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

Maybe you are looking for