BPM Worklist as a Task Flow

Hi all,
I have a peculiar requirement.
I have a complex workflow for which i am using the BPM Worklist to show different human tasks and take requisite actions on them.
Now I have another system where i have some simple maintainances developed as ADF screens. There are approvals for these screens to.
So to route these approvals too i will push their tasks too to the BPM too.
Now, I don't want to create a custom BPM worklist. I want to use all the functionality provided by the current BPM Worklist. But there is one problem. I do not want BPM to be available as a separate web application. I want to use it as a TASKFLOW in my application. It seems it can be used in Webcenter Spaces.
But does anybody have an idea, if Work-list is available as a TaskFlow which can be used in the ADF Screens. Please help.
Thanks,
Neerav

can some body help....

Similar Messages

  • Jdeveloper 12c  bpm 12c why the task-flow-registry.xml causes issues when recompiling?

    when i run a new build I receive the following when it used to work well any ideas?
    classes/META-INF/task-flow-registry.xml'
    [2:43:55 AM] Compilation complete: 4 errors, 0 warnings.
    [2:43:55 AM] Compilation complete: 4 errors, 0 warnings.
    Feb 16, 2015 2:43:55 AM oracle.tip.tools.ide.utils.LogUtil logStackTrace
    SEVERE: oracle.jdeveloper.deploy.DeployException: Build failed.
      at oracle.jdeveloper.deploy.common.BuildDeployer.build(BuildDeployer.java:348)
      at oracle.jdeveloper.deploy.common.BuildDeployer.buildAll(BuildDeployer.java:277)
      at oracle.jdeveloper.deploy.common.BuildDeployer.compileDependants(BuildDeployer.java:137)
      at oracle.jdeveloper.deploy.common.BuildDeployer.deployImpl(BuildDeployer.java:100)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:95)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdevimpl.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:410)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:371)
      at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:310)
      at oracle.tip.tools.ide.fabric.deploy.workflow.TaskflowPackager.deployImpl(TaskflowPackager.java:107)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:95)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdevimpl.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:410)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:371)
      at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:310)
      at oracle.jdeveloper.deploy.cmd.DeployCommand.deploy(DeployCommand.java:399)
      at oracle.jdeveloper.deploy.cmd.DeployCommand$DeploymentProgressShellAdapter$1.deploy(DeployCommand.java:529)
      at oracle.jdevimpl.deploy.fwk.RunnableImpl.deploy(RunnableImpl.java:337)
      at oracle.jdevimpl.deploy.fwk.RunnableImpl.run(RunnableImpl.java:394)
      at java.lang.Thread.run(Thread.java:745)

    That is the problem actually. When I run the link directly it works fine. But I need to launch the ADF application from a non-ADF app which is not hosted on WLS.
    The scenario above was just to simplify the problem...
    Is there any security settings etc that may cause this ?
    Thanks

  • Navigate betwen bounded task flows

    Hi,
    I build ADF UI for BPM. In my application I have a few bounded task flows (allowed url invoked) coresponded with human tasks, and inwoked form BPM Workspace. Unbounded task flow or any start page for application is unused. In my case, user invokes bounded task flow, but should have possibility to navigate to another bouded task flow directly. What is the best way to perform this navigation ? How to do it prorammatically ?
    Kuba

    When you want to invoke another taskflow from the current taskflow -- you could use task flow call activity if it is an one-off case.
    But if you have same scenario across all of the taskflows in the same applications, i would have to exit the current taskflow and invoke the other taskflow.
    This is a well defined pattern and documented in the following post:
    http://blogs.oracle.com/jheadstart/entry/core_adf_11_abandoning_a_bound
    Thanks,
    Navaneeth

  • 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

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

  • Customization of Human tasks the BPM Worklist App with ADF App

    Hi All,
    We are building a custom ADF application which aims to combine several business process human tasks to a unified interface.
    And how to integrate the Human Task Flow BPM Worklist to my ADF App.
    Otherthan that
    To the BPM Worklist App we want to do customizations also like
    1.Want to customize to apply our own custom skins to customize banner logo, title to the BPM Human Task Flow App.......
    2.And based on the logged in user/role we wanted to restrict the features of the Work List App.
    Say for Example should not provide the Facility to Add New Page if the logged in user is not an Admin, like wise no provision to add or modify or delete the Worklist Views like that...
    How to get control the App based on User/Role
    Any help or pointers would be appreciated!
    I have ADF Experience from projects Using JDeveloper 11.1.1.5.
    But, for me this is the first BPM case.
    Renuka

    Hi Renuka,
    There are basically two ways to create an ADF UI for a BPM Task:
    1. Generate it from the task
    2. Create a ADF Taskflow based on Human Workflow Task
    Since I tell this by heart, I might be slightly wrong in the terms.
    You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
    Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
    Regards,
    Martien

  • Getting error in   oracle bpm worklist.,while clicking new HW task..

    OracleJSP error: oracle.jsp.parse.JspParseException:
    /taskDetails1.jspx: Line # 304, <wlc:taskHistory initParam="#{pageFlowScope.aleComponentBean.comp}" showTabularView="true" showGraphicalView="true" id="taskHst" xmlns:wlc="http://xmlns.oracle.com/bpel/workflow/worklist"/>
    Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
    I am getting the above error when selecting the new task in oracle bpm worklist.I am not able use my Human work flow.
    so any one can help me,
    waiting for the reply...

    Hi
    1. I am guessing you got this application/project from some other team member or from source code control system.
    2. Basically looks like some tag libs are not getting resolved and hence this tag <wlc:taskHistory is not understood as a tag. Hence the syntax error.
    3. In JDeveloper, select your TaskFormsUIProject that has this taskDetails1.jspx file. Right Click -> Project Properties.
    4. In Project Properties window, on left side, select JSP Tag Libraries. On right side, I am betting you should see some entries in Red Color like "Worklist Component 1.0". Select this and on right side, see the location in the first field named TLD File: which is something like shown below. Now most probably this folder structure do not match with where you have JDeveloper in your machine. You need to fix this. First copy this value, so that you know where the JAR file is located.
    C:/Oracle/Middleware/Jdeveloper115/jdeveloper/soa/modules/oracle.soa.worklist_11.1.1/adflibWorklistComponents.jar!/META-INF/worklistComponents.tld
    5. Delete this entry. Click on Add button. In the pop up window, select like Project -> click on New button. Now browse and select the .jar file from your JDeveloper installed folder like for ex: C:/Oracle/Middleware/Jdeveloper115/jdeveloper/soa/modules/oracle.soa.worklist_11.1.1/adflibWorklistComponents.jar and hit OK Button. Now you should see a new entry added in Tag Libraries named "Worklist Component 1.0". Hit Ok. Save the Project. Compile once.
    6. Redeploy your application/project the way you do. Test it.
    Repeat the steps for any Tag Libraries that you see in Red Color. Note down the location first of the JAR file that has the .tld. Then remove it. Add a new entry and select this .JAR from your local JDev folder structure.
    Thanks
    Ravi Jegga

  • To Complete the task without taking complete action in BPM worklist.

    In my project ,there is one requirement that to complete the task without taking complete action in BPM worklist.
    So I am trying to acheive this using JAva API of BPM worklist.
    For that I have followed the approach given in below link
    http://technology.amis.nl/2007/02/invoking-bpel-worklist-api-from-remote-server-with-java/
    Created java application and imported all the required libraries and jars.
    while running this application it is giving following error
    NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl
    This is due to absence of 'ServiceDelegateImpl.class' which should be present in webclient.jar ,
    I have also added the same jar from jdeveloper\webservices\lib folder.
    but the thing is ServiceDelegateImpl class is missing in webclient.jar.
    I have downloaded the same jar from internet and tried various versions also.
    still the problem persists.
    Which jar should I add ? or any other configutation is required ?
    Am I following correct approach?
    Any suggestions on other approach would be appreciated.
    Thanks in advance.

    Hi Marc,
    You can set the task Process Owner (i.e. TaskProcessOwner) to the group which Bowman and
    Laura belong to from SharePoint Designer, then they should be able to complete the re-assigned task.
    http://www.fourbuckeyes.com/2013/06/07/task-delegation-in-sharepoint-2010-approval-workflows/
    http://community.rightpoint.com/blogs/viewpoint/archive/2012/04/17/sharepoint-designer-2010-workflow-advanced-properties.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Task details in BPM worklist on SOA 11g could not retrieved.Experts plz adv

    Hi,
    This is regarding issues when I click on the Task details on the BPM worklist 11G. I am invoking a BPEL process using custom JSP and from the custom JSP form values are
    sent to BPEL and from BPEL i am invoking the Human workflow.
    Tech used: BPEL 11.1.1.2, RCU 11.1.1.2.1, WLS 10.3.2 and DB 10.2.0.4
    I am using one jsp named "myFlow.jsp" to call the BPEL process and i can able to get the Task in worklist but i click on "Task details" , i am getting "404 error".
    Note: There was no errors when i tried with ADF autogenerated form. I can able to approve, reassign and do all operations.
    I got one soultion for that, i mean i have to create another custom jsp(taskDetails.jsp) to fetch the values based on the Task Id and finally i have to give that URI in EM to fetch the details.Today i created that also but i dont know how to give the URI IN EM for the task details jsp. I am refering soa developes guide also to get the API's.
    My Ref: http://sqltech.cl/doc/oas11gR1/integration.1111/e10224/bp_worklistcust.htm
    http://docs.tpu.ru/docs/oracle/en/owl/E14571_01/integration.1111/e10224/bp_designtf.htm
    1. myFlow.jsp used - To initiate the BPEL to create a Task in worklist.(By mistake i gave this URI in EM and i am getting the same request page in the task details). Now i created another jsp which queries the task details based on the Task ID. i dont know how to give the URI in EM for this Jsp.
    2.taskDetails.jsp - Used to retrive the task details based on thr Task id.
    Both Jsp's are displayed below. Please advise how to fetch the task details.
    worklist API provided by oracle is used to fetch only the metadata on the Task details but i have to get all the form values also in the task details that has been submitted
    by my Jsp(myFlow.jsp)
    Both are shown below,
    *1. myFlow.jsp*
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%--
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    --%>
    <%@page import="oracle.fabric.common.NormalizedMessage" %>
    <%@page import="oracle.fabric.common.NormalizedMessageImpl" %>
    <%@page import="oracle.soa.management.facade.Locator" %>
    <%@page import="oracle.soa.management.facade.LocatorFactory" %>
    <%@page import="oracle.soa.management.facade.Composite" %>
    <%@page import="oracle.soa.management.facade.Service" %>
    <%@page import="oracle.soa.management.facade.CompositeInstance" %>
    <%@page import="oracle.soa.management.facade.ComponentInstance" %>
    <%@page import="oracle.soa.management.util.CompositeInstanceFilter" %>
    <%@page import="oracle.soa.management.util.ComponentInstanceFilter" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.UUID" %>
    <%@page import="java.util.List" %>
    <%@page import="java.util.Map" %>
    <%@page import="javax.xml.transform.*" %>
    <%@page import="javax.xml.transform.dom.*" %>
    <%@page import="javax.xml.transform.stream.*" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="org.w3c.dom.Element" %>
    <%@page import="java.io.*" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>myFlow</title>
    </head>
    <body>
    <%
    String ssn = request.getParameter("Name");
    if (ssn == null)
    %>
    <h3>Invoke BPEL Application</h3>
    <h4>NYC Application Form</h4>
    <form>
    <table>
    <tr>
    <td>NAME:</td>
    <td><input type="text" name="Name"></td>
    </tr>
    <tr>
    <td>NRIC Number:</td>
    <td><input type="text" name="NRIC" value="12345678"></td>
    </tr>
    <tr>
    <td>Gender:</td>
    <td><input type="text" name="Gender" value="Male"></td>
    </tr>
    <tr>
    <td>Race:</td>
    <td><input type="text" name="Race" value="Indian"></td>
    </tr>
    <tr>
    <td>Occupation:</td>
    <td><input type="text" name="Occupation" value="IT"></td>
    </tr>
    </table>
    <input type="submit" value="Submit">
    </form>
    <%
    else
    String Name = request.getParameter("Name");
    String NRIC = request.getParameter("NRIC");
    String Gender = request.getParameter("Gender");
    String Race = request.getParameter("Race");
    String Occupation = request.getParameter("Occupation");
    // 3. Initiate the BPEL process here
    //Locator locator = new Locator("default","bpel");
    //IDeliveryService deliveryService = (IDeliveryService) locator.lookupService(IDeliveryService.SERVICE_NAME );
    // Construct a normalized message and send to Oracle BPEL Process Manager
    //NormalizedMessage nm = new NormalizedMessage();
    // nm.addPart("payload", xml);
    // Initiate the BPEL process
    // deliveryService.post("myFlow", "initiate", nm);
    try {  
    Hashtable jndiProps = new Hashtable();
    jndiProps.put(Context.PROVIDER_URL, "t3://172.16.16.202:8001/soa-infra");
    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    jndiProps.put(Context.SECURITY_PRINCIPAL, "weblogic");
    jndiProps.put(Context.SECURITY_CREDENTIALS, "weblogic1");
    jndiProps.put("dedicated.connection", "true");
    out.println("====Got Values======" + jndiProps.get(Context.PROVIDER_URL));
    String inputPay = "<nycproject xmlns=\"http://xmlns.oracle.com/NycDesignApps_jws/NycDesignComp/NycDesignProcess\">\n"
    + "<Name>" + Name + "</Name>\n"
    + "<NRIC>" + NRIC + "</NRIC>\n"
    + "<Gender>" + Gender + "</Gender>\n"
    + "<Race>" + Race + "</Race>\n"
    + "<Occupation>" + Occupation + "</Occupation>\n"
    + "</nycproject>\n";
    Locator locator = null;
    //http://xmlns.oracle.com/TestDesignApp_jws/TestDesignComp/TestProcess
    //http://xmlns.oracle.com/NycDesignApps_jws/NycDesignComp/NycDesignProcess
    // connect to the soa server
    locator = LocatorFactory.createLocator(jndiProps);
    out.println("Connected after Locator - Available domains==>>" +locator.getDomains());
    // find composite
    String compositeDN = "default/NycDesignComp!1.0";
    Composite composite = locator.lookupComposite("default/NycDesignComp!1.0");
    out.println("Got Composite : "+ composite.toString());
    //out.println("Got Composite : "+ composite.getCompositeDN().toString());
    // find exposed service of the composite
    Service service = composite.getService("nycdesignprocess_client_ep2");
    out.println("Got serviceName : "+ service.toString());
    NormalizedMessage input = new NormalizedMessageImpl();
    //String uuid = "uuid:" + UUID.randomUUID();
    //input.addProperty(NormalizedMessage.PROPERTY_CONVERSATION_ID,uuid);
    input.getPayload().put("project", inputPay);
    Map payload = input.getPayload();
    out.println("Payload : "+ payload);
    out.println("input : "+ input);
    // process is the operation of the employee service
    //NormalizedMessage res = null;
    //NormalizedMessage input1 =null;
    try { 
    //res = service.request("process",input);
    //input1=service.request("process", input);
    service.post("process", input);
    } catch(Exception e) { 
    e.printStackTrace();
    out.println("Inside Catch1" + e.getMessage());
    //service.post(arg0, arg1);
    }catch(Exception e) {
    out.println("Inside Catch2" + e.getMessage());
    e.printStackTrace();
    %>
    </body>
    </html>
    *2.taskDetails.jsp*
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=EUC-KR"%>
    <%@page import="java.util.*" %>
    <%-- <%@ page import="com.oracle.jay.WorklistClient"%> --%>
    <%@page import="oracle.bpel.services.workflow.client.IWorkflowServiceClientConstants" %>
    <%@page import="oracle.bpel.services.workflow.client.IWorkflowServiceClient" %>
    <%@page import="oracle.bpel.services.workflow.verification.IWorkflowContext" %>
    <%@page import="oracle.bpel.services.workflow.client.WorkflowServiceClientFactory" %>
    <%@page import="oracle.bpel.services.workflow.query.ITaskQueryService" %>
    <%@page import="oracle.bpel.services.workflow.task.model.Task" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR"/>
    <title>TaskDetailsTest</title>
    </head>
    <body>
    <%
    String bpmWorklistTaskId = request.getParameter("bpmWorklistTaskId");
    String bpmWorklistContext = request.getParameter("bpmWorklistContext");
    Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>
    properties = new HashMap<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>();
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.MODE, IWorkflowServiceClientConstants.MODE_DYNAMIC);
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://172.16.16.202:8001");
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "weblogic1");
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "weblogic");
    IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT, properties, null);
    IWorkflowServiceClient wfSvcClient =
    WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT, properties, null);
    //IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.JAVA_CLIENT);
    IWorkflowContext ctx = null;
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    ctx = querySvc.getWorkflowContext(bpmWorklistContext);
    Task humanTask = querySvc.getTaskDetailsById(ctx, bpmWorklistTaskId);
    out.println("<br>Task Number: " + humanTask.getSystemAttributes().getTaskNumber());
    out.println("<br>Task Id: " + humanTask.getSystemAttributes().getTaskId());
    out.println("<br>Title: " + humanTask.getTitle());
    out.println("<br>Priority: " + humanTask.getPriority());
    out.println("<br>State: " + humanTask.getSystemAttributes().getState());
    out.println("<br>Assignees: " + humanTask.getSystemAttributes().getAssignees());
    out.println("<br>AcquiredBy: " + humanTask.getSystemAttributes().getAcquiredBy());
    out.println("<br>Updated Date: " + humanTask.getSystemAttributes().getUpdatedDate());
    out.println("<br>Assigned Date: " + humanTask.getSystemAttributes().getAssignedDate());
    out.println("<br>Created Date: " + humanTask.getSystemAttributes().getCreatedDate());
    out.println("<br>Updated By: " + humanTask.getSystemAttributes().getUpdatedBy());
    out.println();
    %>
    </body>
    </html>
    Please Advise
    Kind Regards,
    -Bharathi

    It's too late but if someone need the answer..
    You can set if the outcome requires comments in General section of the Human Task.

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         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:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

  • How to create/Map a User as Adminstrator in BPM Worklist to view all tasks

    Hi all,
    How to create/Map a User as Adminstrator in BPM Worklist to view all the tasks.
    Version :Jdev 11.1.1.1.0
    Regards
    C.Karukkuvel

    go to EM , right click on soa-infra -> security -> Applicaiton roles, then click on BPMWorkflowAdmin role. Add your user to this role.
    This user will be able to view all tasks in Worklist. you have to click on "Administration Tasks" tab.
    Thanks
    --Sreeny
    Edited by: sreeny on Sep 22, 2010 12:54 PM

  • Task Outcome does not populated in the BPM Worklist

    Hi,
    I have created several Human task with different outcome, i.e
    Task 1 - Input Data; Outcome = Submit, Hold
    Task 2 - Verify Data; Outcome = Approve, Reject, Reassign
    The process was created and deployed successfully on the Weblogic server, however, when I execute the task, the "Outcome" Column on the BPM worklist never shown up and it was blank , does the outcome automatically mapped, or do I have to additionally bind it to the process variable? Thanks in advance.

    To use the value of the Outcome in the process layer, you would be required to capture it in a dataobject/attribute of type string.

  • BPM Worklist Task Details Error

    When I open the BPM worklist app via IP address and click on an item for task details, it makes a call to an internal server name that cannot be resolved.
    Is there somewhere I can change the BPM configuration so that the worklist details opens successfully? This issue appears to affect the Task LIst Portlet as well.

    Hi,
    I am facing the same error.
    Scenario 1:
    More specifically, I have developed my SOA Composite and deployed it using the EM Console. Then I exported my Human Task Adf application as an EAR and deployed the same using EM.
    I also updated the URI under Component metrics--> Adminstration ( However, I am not sure what form this URI should take??)
    Whenever, I am trying to access the task details, I am seeing the Internal Server Error.
    Scenario 2:
    If I follow the standard procedure of deploying using Jdeveloper, there are no issues and I am able to access the task details.
    So I know that the applications are built properly and working. There is some association missing when I do the deployments manually as stated in Scenario 1.
    Any help would be appreciated in getting the Scenario 1 to work is highly appreciated....
    Thanks in advance !!

  • Port used for task display form in Oracle BPM Worklist from SOA human task

    My problem is that when I click on my task in worklist it is trying to show the task flow UI in a frame using port 7101 which is my admin server instead of port 7102 which is my SOA server where the task display form is actually deployed.
    I have an admin server running on port 7101 and a managed server with SOA configured running on port 7102. My application contains a soa composite project and a task flow project that was auto-generated from the human task in my composite. The applications deploys successfully to the soa server and I can run my BPEL process successfully and see the task show up in worklist.
    I have modified hwtaskflow.xml with this:
    <TaskFlowServer>
    <hostName>localhost</hostName>
    <httpPort>7102</httpPort>
    <httpsPort>8002</httpsPort>
    </TaskFlowServer>
    I access worklist at: http://localhost:7102/integration/worklistapp/
    But when I click on my task in worklist, the task display form is being referenced at
    http://<ip address>:7101/workflow/VacationRequestTaskFlow/faces......
    instead of
    http://localhost:7102/workflow/VacationRequestTaskFlow/faces......
    Any ideas? After changing hwtaskflow.xml I redeployed and restarted everything and it still doesn't work.
    Edited by: Billy Turchin on Oct 1, 2009 12:43 PM

    Actually my config.xml does not have have two soa_server1 entries ... it has only two <server> entries but each one also has an SSL entry; see below. (This was not done by me BTW, but rather when I ran the domain configuration wizard)
    I don't think the problem has to do with the SSL entries, because those ports are not getting used. The default port for my human task is 7101 (DefaultServer) instead of 7102 (soa_server1). Once I changed the port using the EM it seems to remember it when I deploy new revistions of that composite but anytime I deploy a new composite for the first time, the port for the task display form is incorrectly set to 7101.
    How exactly does worklist determine which port and URI to use for a human task's display form? Does it iterate through all the registered task display forms to find one that is registered for the given human task? (ie its not a property of the human task itself, but rather a property of the registered ADF display forms).
    <server>
    --<name>DefaultServer</name>
    --<ssl>
    ----<name>soa_server1</name>
    ----<listen-port>8001</listen-port>
    --</ssl>
    --<machine>LocalMachine</machine>
    --<listen-port>7101</listen-port>
    --<listen-address></listen-address>
    --<tunneling-enabled>true</tunneling-enabled>
    </server>
    <server>
    --<name>soa_server1</name>
    --<ssl>
    ----<name>soa_server1</name>
    ----<listen-port>8002</listen-port>
    --</ssl>
    --<machine>LocalMachine</machine>
    --<listen-port>7102</listen-port>
    --<listen-address></listen-address>
    </server>
    Thanks for the replies thus far...
    Edited by: Billy Turchin on Oct 5, 2009 5:21 AM

  • Bulk task submition from BPM worklist application

    Hi,
    I have a requirement where i need to bulk submission of tasks basing on the title for particular user.Is it achivable in BPM worklist application.
    Server details are Oracle SOA Suite 11.1.1.5.0.
    Thanks in advance.

    Hi,
    Did we have any solution for the above..?
    Thanks,
    Durga

Maybe you are looking for