BPEL human workflows: How to carry task parameters to another flow

Hi all
i want to split the flows to make it maintainable. i have 8 humantasks including flow and when i split this, it will share 3-5 humantasks in each of them. i want to carry the task details from first flow to second one(History,payload and comments). Actually according to customer these 8 humantasks make 1 business task together so they want to see the history of all in one thread(assume that you track only 1 task). So what is the best way to carry task details from one flow to other one?
Thanks

Hi,
Since the human task out is in a global variable by default you can copy the output of previous tasks in the assign of every next human task. I do not know if this also will be posible for the history. This is could be task dependend. If you have trouble copying the output directly to the input in case of e.g. arrays, you could also use a self defined global variable that holds the information needed in between human tasks.
Kind Regards,
Andre

Similar Messages

  • Exposing BPEL Human Workflow Activities in ADF

    Hi All,
    I want to have a clear idea on best practices/ ways on
    "How to expose BPEL human workflow processes in ADF".
    Do I need to create an ADF application where I can consume BPEL datacontrol.
    or Do I need to manage ADF datacontrols with BPEL databases and create VO EO and create datacontrol.
    What could be the best practice on exposing BPEL Human workflow in ADF.
    Waiting for reply.
    Regards,
    Hoque

    Hi Hoque,
    you can create direct an ADF Task Form Projekt from your HumanTask Wizard. Cehck out this two links:
    Implementing an Oracle ADF Task Flow for a Human Task - 11g Release 1 (11.1.3)
    http://docs.oracle.com/cd/E28271_01/dev.1111/e10224/bp_tutorialhwf_.htm
    Never access the SOA Suite databases directly, it is a bad practice.
    best regards, Nicolas

  • Cancel Task in BPEL human workflow

    All,
    We have a requirement to cancel the task for the user using human work flow. The worklist should be deleted for the user. Let me know if oracle human workflow provides an opertaion option to cancel the task like reassign,initaiate etc.
    Regards,
    M.Rajesh

    Ronald,
    By cancel means i need the worklist entry for the given taskid to be deleted or marked as cancel so that the user will not be able to process the task. The BPEL process should have a human task process defined like updatetask which will cancel the task.
    Let me expalin our scenario.
    We have an assignment which has different status like new,reassign,cancel. Using a switch we check for the required status and if the status is new we call the initaiate task. Similarly if the status is cancel we need to cancel or delete the task for the user.
    Regards,
    M.Rajesh

  • BPEL Human Workflow:IWorklistContext

    Hi,
    I am trying to access the tasks assigned to perticular user using Human Workflow APIs, but I am unable to get the task list eventhough tasks are assigned for the user. I am using below mention code,
    RemoteWorklistServiceClient client= new RemoteWorklistServiceClient();
    client.init();
    String user = "dlsdeomgr";
    String password = "welcome1";
    //client.
    IWorklistContext ctx = client.authenticateUser(user, password);
    Map filterMap = new HashMap();
    filterMap.put(IWorklistService.FILTER_TYPE_TASK_FILTER,IWorklistService.TASK_FILTER_MY);
    filterMap.put(IWorklistService.FILTER_TYPE_STATUS_FILTER, IWorklistService.STATUS_FILTER_ASSIGNED);
    String keywords="";
    List tasks = client.getWorklistTasks(ctx,filterMap, keywords,
    IWorklistService.SORT_FIELD_TASK_TITLE,
    IWorklistService.SORT_ORDER_ASCENDING);
    System.out.println("tasks1"+ tasks.size());
    for (int i=0; i<tasks.size(); i++)
    Task task = (Task) tasks.get(i);
    String taskId = task.getTaskId();
    String status= task.getStatus();
    System.out.println("Task ID!!"+ taskId + "status" +status);
    let me know if I am doing wrong? or is there any other way I can access asynchronous bpel process using human workflow API. Thanks

    I checked your code. There were few typos, I wonder how you could compile it.
    Anyway here is workable code for user jstein.
    Don't forget to place hw_worklist_jndi.properties in your classpath
    package hanusiak;
    import oracle.tip.pc.services.hw.task.impl.Task;
    import oracle.tip.pc.services.hw.worklist.RemoteWorklistServiceClient;
    import oracle.tip.pc.api.worklist.IWorklistContext;
    import oracle.tip.pc.api.worklist.IWorklistService;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.List;
    public class Lister {
    * @param args
    public static void main(String[] args) {
    try {
    RemoteWorklistServiceClient client= new RemoteWorklistServiceClient();
    client.init();
    String user = "jstein";
    String password = "welcome";
    IWorklistContext ctx = client.authenticateUser(user, password);
    Map filterMap = new HashMap();
    filterMap.put(IWorklistService.FILTER_TYPE_TASK_FILTER,IWorklistService.TASK_FILTER_MY);
    filterMap.put(IWorklistService.FILTER_TYPE_STATUS_FILTER, IWorklistService.STATUS_FILTER_ASSIGNED);
    String keywords="";
    List tasks = client.getWorklistTasks(ctx,keywords, filterMap,
    IWorklistService.SORT_FIELD_TASK_TITLE,
    IWorklistService.SORT_ORDER_ASCENDING);
    System.out.println("tasks="+ tasks.size());
    for (int i=0; i<tasks.size(); i++)
    Task task = (Task) tasks.get(i);
    String taskId = task.getTaskId();
    String status= task.getState();
    System.out.println("Task ID="+ taskId + " status=" +status);
    } catch (Exception e) {
    e.printStackTrace();
    }

  • BPEL Human Workflow - dynamic Outcomes

    Hello All,
    While designing human task, I can pretty much provide XPATH everywhere, but I couldn't provide xpath for outcomes.
    Is it possible to provide dymanic outcomes?
    - I am not sure how does Worklist App figures out set of outcomes, I didn't it as part of task input.
    I appreciate your help.
    Thanks,
    Chintan

    Alright, it is certainly getting interesting to me, and would really appreciate if somebody provide any insight to this issue.
    - I saw that TaskLink input (initialTaskInput), does have property called parallelOutcomeCount in systemAttributes, which decides type of outcomes to worklist application.
    q.1: Why I am not able to override this attribute (parallelOutcomeCount )? I tried to put my own value right before the INVOKE operation, still it didn't work, it got over-ridden by BPEL engine?
    q.2: I don't see any ASSIGN activity to assign parallelOutcomeCount, I do see assign activity for assign system and payload activity generated during Human Workflow. How do they get set? Is there is any interceptor concept?
    Really curious, because it there is any hidden way to set such variable, I would love to use such framework for many different purposes.
    Thanks!
    Chintan

  • OTBI reporting on BPEL human workflow tasks

    Hi,
    Is it feasible to do OTBI reporting on BPEL tasks associated to application objects? I was searching around and could find no relevant material.
    Thanks,
    Srini

    Learnt OTBI cannot report on BPEL tasks.

  • Groups functionality in BPEL humal workflow not work for Third party LDAP

    Hi,
    Oracle Virtual Directory(OVD) configured as third party LDAP was integrated
    with BPEL human worklist and corresponding tasks were assigned to a
    particular group using the human task editor. When the members in the group as
    present in OVD logged in to the BPEL human workflow console the assigned
    tasks are not visible to the particular user whereas logged in as bpeladmin can
    able to view the task for the group and the associated users. The same when
    tested with the default JAZN authentication the functionaliy is working fine. We
    are not able to assign any tasks to the members associated to the groups. Also
    tasks assigned to individual users directly are found to be working with OVD
    integrated.
    Regards
    Thirumal

    Anyone out there? Help!

  • Configure DB connections used by Human workflow

    Hi All
    We are using Oracle BPEL for orchestrating a process flow; the BPEL process uses Human workflow service for assigning tasks to users and Java client code(SOAP client) is used to update tasks assigned to users.(we are not using Worklist application). The users are updating the tasks using the java client code and this is a continuos process.i.e. users work continuosly in shifts.
    The workflow service seems to utilize lot of DB resources as 50-60 users are working continuously at the same time... Though we can configured the DB parameters/connection pool we are having some performance issues..
    Just wondering if we can have a seperate connection pool/data source for Human workflow service?? Then orabpel application and workflow service can use seperate pools and the load can be reduced..
    Any documentation/pointers on this will be of great help on this...
    Thanks

    You can / should have your HW app in a different, database, at least schema. Then it is just a matter of setting up a differnt connection pool for the HW app.
    There is also noting stopping you from having 2 different connection pools pointing to the same oracle schema. One for HW and one for bpel. They can be tuned accordingly.
    cheers
    James

  • Human Workflow-getManager() fuction

    Hi All,
    Currently I am working on Human work flow activity, where my requirement is ,I will be sending 'creator' through request.aslo i ll be using getManager() fuction in Human WorkFlow Activity.
    ids:getManager(/task:task/task:creator)
    my payload is:
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/VacationRequest"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="VacationRequestProcessRequest">
    <complexType>
    <sequence>
    <element name="creator" type="string"/>
    <element name="fromDate" type="date"/>
    <element name="toDate" type="date"/>
    <element name="reason" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="VacationRequestProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    So, i need know what is the significance of getManager() function?
    My understanding is it ll get the manager associated user which is configured in server level ,then task will get assigned.
    if i am wrong pls correct me.
    Also ,i need to know how to configure user---to---manager hierarchy configuration in weblogic Admin server.
    if i pass directly user wich is configured in sever ,its working fine.
    thanks
    Santosh M E

    Hi,
    wrong forum. The Human Workflow is a SOA component and queries about this should be posted to SOA Suite
    Frank

  • Human Workflow

    Hi All,
    Currently I am working on Human work flow activity, where my requirement is ,I will be sending 'creator' through request.aslo i ll be using getManager() fuction in Human WorkFlow Activity.
    ids:getManager(/task:task/task:creator)
    my payload is:
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/VacationRequest"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="VacationRequestProcessRequest">
    <complexType>
    <sequence>
    <element name="creator" type="string"/>
    <element name="fromDate" type="date"/>
    <element name="toDate" type="date"/>
    <element name="reason" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="VacationRequestProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    So, i need know what is the significance of getManager() function?
    My understanding is it ll get the manager associated user which is configured in server level ,then task will get assigned.
    if i am wrong pls correct me.
    Also ,i need to know how to configure user---to---manager hierarchy configuration in weblogic Admin server.
    if i pass directly user wich is configured in sever ,its working fine.
    thanks
    Santosh M E

    Hi,
    wrong forum. The Human Workflow is a SOA component and queries about this should be posted to SOA Suite
    Frank

  • Human Workflow Notifications Emails - Turn these Off?

    All,
    We have built an application that uses Oracle BPM and sginificant number of Human Tasks. We have also configured the Email notifications to allow SOA to send emails through our generic fault framework.
    The issue we have is as a result of this, we are now sending Task Notifications to the users in the Task Assignee group for each task created. This is because the users in LDAP have their email properties set. These can not be removed as it is based on LDAP / AD.
    Is there away to allow emails to be sent via the Email Notifications but turn off the Human Workflow Task Notifications? Unless I am missing something fundamental, I cant see a way to do this.
    The Email driver was set as per http://docs.oracle.com/cd/E14571_01/integration.1111/e10226/hwf_config.htm#BHCJDGFJ. Hence the email driver for the UMS is configured and the Worklist Notifications is configured for email. I assumed you need this set for the Email Notifications to work.
    Kind Regards
    Dave

    If you look at the Notification tab on your Human Tasks you can remove the default notifications for Assign, Complete and Error. This will prevent anyone from getting Human Workflow notifications for these tasks.
    Thanks,
    Adam DesJardin

  • How to read URL Parameters

    Hi All,
      How to read URL parameters in another WDA.
    Thanks in advance

    here is the sample code.
    you can write this code in HANDLEDEFAULT method of Default Window of Application being called.
      DATA:
        wa_url TYPE LINE OF tihttpnvp,
        int_url TYPE tihttpnvp.
      wdevent->get_data(
        EXPORTING
          name = if_wd_application=>all_url_parameters
        IMPORTING
          value = int_url ).

  • How to modify a part of task parameters via worklist (not all paramenters)?

    I am making a demo of showing the functions of human workflow / worklist using Oracle SOA Suite. The following process is not a real project. But I have some questions about how to modify parameters in worklist and jdeveloper. Please help me.
    I create a BPEL with human workflow. It has 2 human tasks.
    The first human task is a single approver type and the parameters contents can be modified via worklist. The user is oc4jadmin.
    If oc4jadmin rejects it, the process will go to the second human task.
    The second human task is a sequential lists of approvers type and the parameters contents can be modified via worklist. 3 users (the order is : jcooper -> jlondon-> tolstoy) can access it. The process is able to abrupt completion if anyone rejects it.
    After the process is invoked in BPEL control,
    1, oc4jadmin login worklist and modified the data, than reject it.
    2, jcooper can login worklist and changed the data, save it, and approve.
    3, jlondon login, view data, change data, and save it. However, if jlondon modified the
    My questions are as follow:
    1, If oc4jadmin rejects the task in worklist, how can I set the parameter cannot be modified and saved.
    2, schema:
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/BPEL_single_sequential"
         xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:vv="http://xmlns.oracle.com/BPEL_single_sequential">
         <element name="BPEL_single_sequentialProcessRequest">
              <complexType>
                   <sequence>
                        <element name="input" type="vv:complexType1" maxOccurs="unbounded"/>
                   </sequence>
              </complexType>
         </element>
         <element name="BPEL_single_sequentialProcessResponse">
              <complexType>
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
    <complexType name="complexType1">
    <sequence>
    <element name="pid" type="string"/>
    <element name="ptitle" type="string" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    In the worklist, the user can add another pid and leave the ptitle empty. In the schema, the ptitle (minOccurs=1) should appear at least once. How can I set that, if the user add another pid and must add at least one ptitle before saving it?
    3, One element likes gender=male/female. In the worklist form, the default graphic component is an input field. How can I set the component to a dropdown list and it highlight value.
    4, The default form is jsp file and it is beautiful. Could I make a jspx page and replace the jsp page? How to replace the jsp to jspx?
    5, If I use sequencial approver type for the human task, how can I set various page layout? For example, user 1 can view and modified all parameters. User 2 can view some part of the parameters and changes it. User 3 can view all paramters but can just modified some of them?
    Thanks a lot!
    Edited by: [email protected] on 2009-3-10 上午12:39
    Edited by: [email protected] on 2009-3-10 上午12:44
    Edited by: YE

    Hi,
    all what you asked about can be done through java script.

  • Human Workflow in BPEL

    Hi,
    We are able to get the users(participants) from an ADFbc service Response variable.But,how do we need to assign these users as participants in the Human WorkFlow(inside the Nflow).Depending on N , the users retrieved would be different for each flow in Nflow.
    We have tried to assign the foll:
    <copy>
    <from variable="Invoke_3_getUsers_OutputVariable"
    part="parameters" query="/ns2:getUsersResponse/ns2:result"/>
    <to variable="initiateTaskInput" part="payload" query="/taskservice:initiateTask/ns5:routingSlip/ns5:participants/ns5:participant"/>
    </copy>
    but getting some fault as "Invalid service input element". I tried to assign this output variable to task assignees as well..but dint work
    Any pointers would help..
    thanks in advance
    Regards
    Ss

    Ronald,
    By cancel means i need the worklist entry for the given taskid to be deleted or marked as cancel so that the user will not be able to process the task. The BPEL process should have a human task process defined like updatetask which will cancel the task.
    Let me expalin our scenario.
    We have an assignment which has different status like new,reassign,cancel. Using a switch we check for the required status and if the status is new we call the initaiate task. Similarly if the status is cancel we need to cancel or delete the task for the user.
    Regards,
    M.Rajesh

  • How to edit task form generated from human task (.jspx)???

    I created simple SOA application with simple Human task (from this tutorial http://redstack.wordpress.com/2010/01/08/human-workflow-in-11g/ but it doesnt matter) in JDeveloper. Then I generated standard form from human task (Human task -> Auto-Generate Task Form).
    The question is, how to make own form? Not the generated default, but with my own logic...That form is jspx, not jsp, and thats the main problem, in this JDeveloper everything is a bit complicated.
    I tried delete whole generated content, and just import my created file.jsp into jspx like below, but without result. How to import jsp into jspx? I dont want to completely rewrite my existing jsp into jspx and copy it over default...
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:wf="http://xmlns.oracle.com/bpel/workflow/workflow-taglib.tld"
    xmlns:wlc="http://xmlns.oracle.com/bpel/workflow/worklist">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    *<jsp:directive.include file="file.jsp"/>*
    </jsp:root>
    Edited by: [email protected] on 8.6.2010 9:47
    Edited by: [email protected] on 8.6.2010 9:47
    Edited by: [email protected] on 8.6.2010 9:48

    Hi,
    Try
    FacesContext context = FacesContext.getCurrentInstance();
    NavigationHandler handler = context.getApplication().getNavigationHandler();
    handler.handleNavigation(context, null, outcome);
    context.renderResponse();Regards,
    ~ Simon

Maybe you are looking for

  • HT4634 I just did a software update and my mail box will no longer open. Can anyone help me?

    I just did a software update and my mailbox will no longer open. Can anyone help me?

  • Unable to install Aperture 3 after upgrade to OS X 10.8

    After upgrading to OS X 10.8, when I try to install Aperture, I keep getting this error message "To open Aperture, Installer must quit and reopen". I have the box version of Aperture 3, so it's version 3.0 and I will not be able to download the lates

  • Mail search not working in Yosemite

    Hello, I am not able to search for anything in any of my Mail accounts.  Every search returns 0 results, even if I am looking at the email I am doing the search for.  I can use Spotlight as a work around, but it is very annoying. Has anyone had a sim

  • PCI ATI Rage 128 Pro

    I just bought an ATI Rage 128 Pro 32MB PCI video card for my early quicksilver G4 (733 MHz, 1GB RAM). The idea was to add a second monitor to my 15" Apple Studio Display connected to the AGP card (ATI Rage 128 Pro with ADC and VGA). Doesn't work thou

  • ITunes refuses to work if PC is not disconnected from the internet

    I don't open iTunes very often, only when I feel the need to sync my iPad Mini. I just opened the program today after not using it since maybe December, when it all worked fine (I run on Windows XP) and it only ran for about two seconds before sudden