Using Human tasks in a BPM process

Hi
I managed to deploy the VacationRequest sample which uses human task in a BPEL process.
I want to implement the same human task in a BPM process. Are there any tutorials or stepswise guide for the Vacation Request sample using BPM process?
Also, what are the main differences between a BPEL and a BPM process because most of the things that are done in BPEL can be done in an BPM process as well.
Thanks

I was able to implement the same using a BPM Process.
For those of you, who may require the steps:
1. Create a webservice based on the VacationRequest.xsd with VacationRequest as request and VacationResponse as CallBack
2. Create a human task and task flow as described in the VacationRequest.pdf provided along with the sample.
3. Create a BPMN process, associate the Start Event to the WebService Interface and map the request and response.
Also associate the End Event to theWebService callback port.
4. Deploy the process and taskflow.
But I have a query here? Even in the sample given(using bpel process) how will the requestor know that the leave has been approved/rejected.
what exactly is sent out as the response to the call back port. And, where can the requestor view the response?
Regards

Similar Messages

  • How to add parameters to human task implementation in BPM process?

    Hi,
    I tried the BPM process tutorial Tutorial
    and at step "Implementing the User Task" 1. ("Click on the hello data object and drag it into the parameters panel") I encounter a problem.
    I cannot drag anything onto the parameter pane. I can send you a screenshot if that helps. The data object window also does not have the buttons it should have according to the image in the tutorial.
    I am using JDeveloper 11.1.1.6.0 (the tutorial uses 11.1.1.3) I don't know if thats a bug or if I missed something. I followed the tutorial step by step starting from "Creating the Process Model".
    thanks in advance
    Steffen

    Ok I finally figured it out by myself.
    This is a bug that sometimes occurs, several re-installs solved the problem.
    (However in the process also another bug appeared but in the end it installed without any of these two bugs)

  • Limitations on Using Human Task advance routing rules and stages

    In one of our requirement we have used human task with different number of stages (14 stages ) and for all this we are using only one human task component and to route the task through different stages I am using advance routing rules (30 rules),we have exposed this through  bpel .My code is working fine .
    My question is:-
    1- Do this kind of design contain flaws, is there is any restriction on using of number of stages and number of routing rules. Is there is any best practise which suggests that we cannot have more than certain number of stages or routing rules..??
    2-Is it feasible to use different human task component for each of the human task stages and route the data using business rule, but that will be very exhausted and unnecessarily making bpel heavier, also the front end people will be having more number of bpm urls which will make their work tedious.
    Please suggest .
    Thank you

    This doesn't sound good. That's an EJB internal to BPEL if I'm not mistaken. Did the install go ok? Has this ever worked before?
    I'd check the logs on startup for any sign of an exception. This may be the symptom of a problem which will be logged on startup.
    Also, search metalink and open an SR -- this EJB isn't something you need to configure in a normal install -- at least not that I'm familiar with.

  • Why can´t i have more than one initiator task on my bpm process

    Hi All.
    I am working with BPM 11g and would like to know:
    Why can´t i have more than one initiator task on my bpm process
    In this case, i will have two separeted process where each has its initiator task?
    Regards,
    Diovani

    Hi Diovani
    Two different processes can have different task initiators...task initiator means creation of a process instance which can happen only once

  • Users added to a Task AFTER the BPM process has started

    Does anyone know of a way to assign users to a task AFTER the BPM process has started?

    Hi Craig,
    whenever a Task Instance gets created, the assigned roles and groups are resolved into individual users. This means that changes to the roles and groups do not affect existing Task Instances.Then the only way to assign additional users is via "nominate" operation from the NWA or "delegate" from the Task UI. Such changes in the roles and groups will only take affect for newly created Task Instances.
    Hope this helps.
    Stefan

  • Using Physical Databse In Human Task Of A BPEL Process

    Hello Fnds,
    I am Bhanu Teja,While creating a Human Task,we get a dialog box,"Identity lookup dialog",I want to get list of users from Database.....I want to know is this is possible,if so can anyone guide me how to do it.I am using 10.1.3.1 version of SOA suite...
    Regards,
    Bhanu Teja
    Edited by: user10998866 on Apr 11, 2009 12:43 AM

    Hi Bhanu Teja,
    i am also working on the same. But I want the users in the dailog come from the OID. Do you know where the users come from the OID Server. I want to know what the filter it applies to show the users in the dailog box.
    Its a bit urgent for me. could you please reply soon.
    Waiting for your reply.
    Thank you,
    Siva.

  • How to carry out an action on a task in a bpm process from another adf app?

    Hi everyone,
    We have a simple BPM process with only one human task with two actions: approve and reject.
    We want to know if it is possible to approve or reject this task from another adf application; I mean by clicking a button on a different page - not using the Actions menu in workspace, can I change the status of the task to approved or rejected and remove the task from the workspace of the assignee?

    I think you can use ItemAdding event to update your fields. This works better for you instead of ItemAdded event.
    Bala

  • * Can We Send Email Notifications Only using User Task in Oracle BPM ?? *

    Hi All,
    Can we send any email notification to initiator, only from Oracle BPM User / Human task without using any notification activity.
    Is it possible to send email notifications using BPM User task alone.
    Any Help appreciated.
    Regards
    Satya

    Hi Satya,
    To send an email to the person who initiated the work item instance in the process when the instance reaches a human task:
    1. Ensure that the id of person who initiated the instance is stored in the process predefined variable called "creator".
    2. In the Interactive activity's input data mapping, map this "creator" process predefined variable to the corresponding "creator" attribute in the human task's execData.
    3. Open the human task -> click the "Notification" tab -> click the "+" icon in the upper right -> on the new row added to the bottom of the list, leave the task status dropdown set to "Assign" and change the recipent (the middle column) to "Initiator".
    Dan

  • Strange human task error in BPEL process

    When we call a human task in BPEL process we are facing following error .
    We can't reach any information about that?
    is there any one face before?
    Thanks.
    Exception Trace:
    javax.servlet.ServletException: Cannot find work items.
    An attempt to fetch the work items using the where condition
    "cikey = ? and ( node_id like 'BpInv%' or node_id like 'BpRcv%' or node_id like 'BpOMs%')" from the datastore has failed.
    The exception reported is: Invalid column name Please check that the machine hosting the datasource
    is physically connected to the network. Otherwise, check that the
    datasource connection parameters (user/password) is currently valid. sql statement:
    SELECT * FROM admin_list_wi
    WHERE ci_domain_ref = 0 AND cikey = ? and ( node_id like 'BpInv%' or node_id like 'BpRcv%' or node_id like 'BpOMs%') ORDER BY wi_creation_date at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:866) at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at ngWSActivityList.jspService(_ngWSActivityList.java:291) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160) at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102) at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:453) at displayInstance.jspService(_displayInstance.java:676) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

    Have you patched BPEL with any of the MLR releases? Some of the patches contain DB scripts that must be run separately from the patch install.

  • Issue with using BRM Ruleset inside a BPM Process

    Hi all,
    I am trying to use a BRM Ruleset using a Mapping artifact inside my BPM process. I have used the same data type (XSD) for my process context and my ruleset parameters.
    Yet on building the Process DC, I get an error that "java.lang.IllegalArgumentException: Invalid restriction, base is not set on... ". I haven't be able to find the cause of the issue as I have passed the same parameter the Ruleset expects.
    Wondering if anyone else is experiencing the same issue? Or am I missing somthing here?
    Thanks
    Suresh

    Hi Suresh,
    We need more information on the error occured. Can you please provide me with the complete error message you are getting?
    Also, if possible can you provide the complete error log here.
    Thanks and Regards,
    Arti

  • Problem using Human Task

    I have created the BPEL work flow with human task which works for serial flow.
    I have 2 approvals,
    i want to get status of each approval after they approves.
    Please let me know what to do as i was not able to find any example for multiple approvals.
    Thank you.
    Edited by: user11187811 on Nov 11, 2009 11:25 PM
    Edited by: user11187811 on Nov 12, 2009 1:46 AM

    This is a problem with switch inside a switch.
    When I replaced the switch in the human task with other activities, it works fine.
    It throws a problem just having a process starting with a switch and a workflow within one part of the switch

  • How to programmatically add user comment using human task data control

    Hi,
    We create the task form by using “create Task flow based on Human task”. I need to programmatically create and insert the user comment for the task. I know I need to create and insert a new element to the userCommentIterator that linked to the human task data control. But I could not get it work or find any related detail sample coding. Please help.
    Thanks a lot,
    Helen

    post it in soa suite forum
    SOA Suite
    or bpel forum
    BPEL
    to get.. quick reply.

  • How to Update HUMAN TASK Payload SOA/BPM 11G

    Hi ,
    I need to update the Expiration time based on the escalation level for Human task .
    I trying to update the TaskExpiration time on the Java call back when onAssign activity is triggered.
    Even though the execution is successful the task will not be updated with new expiration time..
    Below is  the code snippet
    public class CallBackClass implements IRoutingSlipCallback , IDynamicTaskEscalationPattern {
        public CallBackClass() {
            super();
        public void onTaskAssigned(Task task, String string, String string1,String string2) {
            System.out.println("routing Slip: inside onTaskAssigned");
            System.out.println("Priority :" + task.getPriority());
            task.setPriority(1);
            System.out.println("TaskID :" + task.getSystemAttributes().getTaskId());
            task.setPriority(1);
            System.out.println("Updated Priority :" + task.getPriority());
            getTaskEscalationUser(task);
            System.out.println("Executed getTaskEscalationUser");   
           WorkflowUtil.getRoutingSlip(task.getSystemAttributes().getTaskId()).getGlobalConfiguration().getExpirationDuration().setDuration("PT3M");
    Please update your suggestion or suggest some API which van help me in fixing this task.
    Thanks in advance !!

    Hi:
    Take a look at this post: http://beatechnologies.wordpress.com/2011/08/24/
    Also here is the Oracle Doc: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    and:
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    Hope this helps.
    best
    rolando

  • Using a rule in a BPM process

    Good day. I created an emdeded rule in the process composer and want to use it in the context processing (change value of the input variable).
    The rule is very simple - it receives a value and should return the other:
    In: ValSome, out: 1
    In: ValOther, out: 2
    etc
    BUT! I have to create a rule with two input variables because one of them should hold the result. It's not obvious when using the function why there are two variables to input. Can I hide an unnessary variable? Some other workarounds?

    Hello Kirill,
    No, it is not possible to hide the unused variables. All the data objects of the step (here rules funtion activity) will be displayed in your input and output mappings.
    As I understand it, your rules has two data objects - VarIn and VarOut. So, in other words during input mapping you cannot hide the variable - VarOut and similarly in output mapping it is not possible to hide the variable - VarIn.
    Regards,
    Arti

  • How do we determine if a Human Task instance in BPM Workspace is open?

    Hi All,
    An interesting one. How do we programatically determine if a BPM Workspace instance is opened for processing? I would like to ensure that a form is opened only by one user at a time, and any attempt to open the form concurrently will result in the form presenting an error message and then closing itself.
    Any ideas?
    I am posting this on the SOA form as well, as it is the BPM Workspace. Kindly overlook if this is inappropriate.
    JDev : 11g.
    Thank you.

    posting it here will help you for sure
    Business Process Management Suite
    SOA Suite

Maybe you are looking for