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

Similar Messages

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

  • 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

  • Complete Task with Payload Problem  -- no Human Task Drop Handler

    I'm reading section 26.4.1 of Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1) E10224-01 where it refers to figure 26-5 Human Task Drop Handler for Creating the Task Display Form of section 26.4 Creating a Task Display Form.
    I've generated taskDetails1.jspx. I highlight Task as in the figure and right click in askDetails1.jspx (design tab) but I don't get a Create JSF page dialog as in the figure.
    I get a dialog with Insert Before Show Detail Spacer ... etc (no Create /Human Task/Complete Task with payload etc)
    Do I need to position within a particular element ? or is this a bug ? wrongly documented?

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • Problem with Human Task(hw_services)

    Hi,
    We are facing a problem using the Human Task in a BPEL process.
    When we add a human task and for any BPEL process in Jdeveloper and tried to add a new user to it no Realm is getting selected.
    And when we try to lookup for users getting an error message
    ' Identity Service Client Error
    BPMIdentityService has client error
    Contact oracle support if error is not fixable'
    We're using the default settings for security on dev server.
    Our SOA suite configured on HP-UX machine and using Oracle XE DB which is on Windows XP machine.
    This is working fine with other configurations working on Windows machines.
    And other interesting thing we found is,When we open the em console we didn't find any webservices unders 'hw_services'
    ( IdentityConfigServicePort,IdentityServicePort IdentityService, TaskMetadataServicePort TaskMetadataService,TaskQueryServicePort TaskQueryService,TaskServicePort are not there)
    seems our hw_services are not configured properly. Everything else is working fine.
    Please help advice as it is very urgent...
    Thanks in advance...
    -Sri

    Hi Marc,
    Thank you very much for the reply.
    WorkList Application's URL mentioned in the wf_config.xml is working fine and we are getting the login page.
    But the SOAP endpoints mentioned in wf_client_config.xml for other webservices like Identity Services are not working. Getting HTTP 404 Not Found error message
    We didn't face any other problems with the config.
    Please help advice whether any other details are needed to solve this issue....
    Thanks again...
    -Sri

  • Problem in Human Task in BPEL

    I have a BPEL process with eight human task.Ater the last human task in the switch block i have added one assign activity and one mail activity in the "APPROVED" case. I have deployed the process and ran it. The flow got stuck in the last human task receive call back step and not proceeding to next switch, but i have already approved the task from worklist.
    I have added oned one BAM sensor in that receive step and the sensor was set on "completion". BAM has received the data that ""receive completed".so it seems like that the receive actiivity gets completed but not showing in the BPEL visual flow also not proceeding further.
    After that I removed the assign activity and mail activity and tested it once..it worked fine..
    It looks strange to me....

    There's probably a problem within your assign activity. Check the domain log as Eric suggested. You can find it @:
    $ORACLE_HOME/bpel/domains/<your_domain>/logs/domain.log
    HTH,
    Bas

  • Problem in  Human Task Flow

    Hi,
    I have created a bpel having a human task component.
    The human task component input schema is :
    <emp>
    <empid>
    <empid>
    <empid>
    <empid>
    <status
    <emp>
    The empid is an array.
    When i test my bpel it successfully created the human task.
    I have created the "Auto Generate Task Flow" from human task component .(Creates a project and deployed with the SOA Application)
    But when i click on the human task instance in the worklistapp it does not display the data.
    Can anyone please tell me the reason of this kind of behaviour ?
    Thanks and Regards,
    Sachin Thakkar.

    There's probably a problem within your assign activity. Check the domain log as Eric suggested. You can find it @:
    $ORACLE_HOME/bpel/domains/<your_domain>/logs/domain.log
    HTH,
    Bas

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

  • Problem Using wlserver task in ant file

    I am trying to create a weblogic domain using the following in my ant file:
    <target name="new-server">
    <mkdir dir="/opt/deployment/domains" />
    <wlserver dir="/opt/deployment/domains"
    beahome="/opt/bea"
    domainname="SandboxDomain"
    servername="AdminServer"
    host="localhost" port="7001"
    generateConfig="true"
    username="weblogic" password="password"
    productionmodeenabled="false"
    action="start" failonerror="true" />
    </target>
    However, I keep getting the following exception:
    [wlserver] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    I am executing the ant script by placing the weblogic.jar file in the lib directory of ant. I am also using ant version 1.6.2. Any suggestions on how to remedy this problem would be appreciated.

    Hi,
    Had the same problem, try adding the classpath attribute to the wlserver tasks.
    example:
    <wlserver dir="${SERVER_DOMAINS}/test_domain"
    beahome="${SERVER_ROOT}"
    weblogichome="${SERVER_WEBLOGIC_HOME}"
    generateConfig="true"
    host="localhost"
    port="6001"
    username="${WEBLOGIC_USER}"
    password="${WEBLOGIC_PASSWORD}"
    servername="testServer"
    action="start"
    classpath="<wl_installdir>\server\lib\weblogic.jar">
    Regards,

  • Problem in BPEL Human task

    I am developing the BPEL process in jdeveloper11g. I used Human task for serial approvers.
    When I test the service I was able to see the Recive and Callback of human task.
    I want to Invoke partner link (used for DB adapter) whenever first approval approves the task . So that I can update the status of current approval as approved ( second approval status should be Pending), after approving from second approver only the second approver status should be updated as approved.
    but the procedure of updating status i.e.. Invoking partner link is executed after approved by all approvals.
    Please let me what I am missing.
    Thanks in advance.
    Sandeep.

    I am using Invoke activity to retrive data from data adapter . After that I am using While activity to iterate from the retrived data. And in While activity I placed Assign activity along with Invoke Activity to update retrived data.
    but here insted of iterating from each record it goes infinite loop.
    I have given "true () " as expression for While activity.
    please let me where I am missing. Please its very urgent.
    Thank you.

  • Reject flow with Human Tasks

    Hi, I'm trying to model something similar to picture 10.1-1 in the %BPA_SUITE_HOME%\doc\en\method_manual_s.pdf. The only diference is that I use Human tasks instead of processes.
    I describe my model a bit:
    * I have 2 pools.
    * In each pool I have one Human Task (A and B):
    - HT A fill in a document with data
    - HT B validate the data and let the flow go on or ask HT A for more information.
    * HT A sends a message (through a message flow connection) to HT B
    * In case HT B rejects the document, it goes back to HT A. I modeled this by putting an XOR (data-based) Gateway and a message flow to HT A. In case HT B accepts the document I put a sequence flow to another activity in the same pool of HT B
    Is the model clear? In case it is clear, I explain the error I'm getting:
    When I try to transform BPMN process to BPEL process, I get a pop up that says:
    "Unable to perform transformation.
    Internal error.
    There are semantic errors in this model. The errors have been displayed on the model"
    After that warning a signal appears on the upper-right corner of HT A with the following tooltip:
    "This node is being cross-referenced. Please remove one of the incoming connections"
    is it posible to go back to (reinstantiate) a Human Task?
    Thanks in advance.
    Neuquino

    This relates to a (structural) problem translating between BPMN and BPEL: BPEL has no goto, BPMN does. (See my blog about the subject: http://www.approach-alliance.nl/index.php?option=com_jd-wp&Itemid=2&p=31 )
    From a business process point of view: is the task you redirect the flow to, exactly the same task? I think not. The first time it is called, it involves filling out the form. The second time it is correcting the form...
    So if you change it to: HTA1: fill out the form, and in case B rejects the document, a new task: correct the document. This is also relevant from a management point of view: you want to minimize the correction, not the occurrences of filling out the form...
    Hope this helps,
    Lonneke

  • 11g: human task API

    Please, tell me where can I find information about API for using human tasks in external user interface (non ADF). (for example, get list of assigned tasks to user, get assigned tasks information etc)
    P.S. we are using SOA Suite 11g + BPM tier
    Edited by: creed on 13.11.2010 14:33

    The doc set for Fusion Middleware is at: http://download.oracle.com/docs/cd/E14571_01/index.htm
    Documentation for Human Workflow in included in the Fusion Middleware Developer's Guide for Oracle SOA Suite: http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/toc.htm
    There's an overview of using the APIs in the section on Building a Custom Work List Client: http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    Description of specific Human Workflow Services is at: http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH
    Hope that helps.

  • Human Task email notification and IMS

    Hi Chaps,
    I have a requirement to enable the email notification functionality embedded in Human Tasks. This email functionality presumably emails everyone for that role based on their email information located in Enterprise Manager -> Security -> my relam (?), however when I log into Business Process WorkSpace and try to edit the email address - it states that "Do not use this channel for BPEL User Notification or Human Workflow; it is not stored in the identify management system and will not work"
    Does this mean that I have to directly alter the LDAP Directory (somehow?) or will logging into Enterprise Manager and changing it manually suffice?
    Any help you could provide would be most welcome!
    Thanks..

    To know the more details on email notification using human tasks, follow the below link
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_hwfmodel.htm#BABICIAH
    Also, if you are trying to send emails without using LDAP, then simply configure the email driver in */em and assign the roles to whom you want to send the email to.

  • Problem in setting dynamic expiration duration from Human Task

    Hi,
    I have a BPEL process, in which the Human task expiration has to be set dynamically..
    In the , I have set the expiration duration with this :-
    <copy>
    <from expression="xp20:format-dateTime(xp20:current-dateTime(),'PT1M')"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:systemAttributes/task:expirationDuration"/>
    </copy>
    Do not get confused with 'PT1M' .. I want the duration to be 1 minute... Had I used 'PT1M' as a String and assign to the expirationDuration var, it would have caused an error... It needs to be fromatted as a Date..That's y i took this approach ... I am sure this is working fine as I have checked the payload of the task..
    It has a proper duration..
    <initiateTaskInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <systemAttributes>
    <expirationDuration>PT1M</expirationDuration>
    Now in the Human task definition(.task file), I have set the expiration duration with "By Expression" option in this way..
    <globalConfiguration>
    <owner>oc4jadmin</owner>
    <expirationDuration duration="/task:task/task:systemAttributes/task:expirationDuration"
    type="XPATH"/>
    </globalConfiguration>
    The problem is the task(at runtime) cannot evaluate the expirationDuration from the XPATH..
    I checked with the WF_TASK table in the orabpel schema ...
    When I use a static duration EXPIRATIONDURATION cloumn gets assigned properly (ie PT1M).. But when i take the XPATH approach, it translates to PT0S.
    Can someone look into this please ?
    Struggling with this for quite sometime...
    saptarishi

    If the Human Task shows status complete, then it's possible that there was an error in the output data association in the process. In EM do you see a fault on the output for the Human Task activity, or if PS4FP the process will go to suspended state if the data association fails.

  • Human Task – Using expressions in task parameters

    Hi All,
    In my BPEL process I have a Human Task with about 15 task parameters. I'm trying to define BPEL variables to each and every parameter. I am able to select a type 'variable' variable (ie. /ns18:OutputParameters/ns18:street_name) from tree view and save.
    However, whenever I click on the little flash-light icon and create a type 'expression' using the XPath expression builder I'm having problems saving the change.
    In details this is what happens,
    0.) Double click on Human Task
    1.) Click on flash-light icon in front of a parameter.
    2.) Select Type expression variable.
    3.) Click XPath expression builder.
    4.) Select conversion function 'string()' and double click to add.
    5.) Double click on the required BPEL variable to add.
    6.) Something similar to the following expression is created,
    string(bpws:getVariableData('InvokeGetAllABCInformation_FetchABCInformationService_OutputVariable','OutputParameters','/ns18:OutputParameters/ns18:ACC_ID'))
    7.) Click OK twice and then Apply/OK to go back to BPEL diagram view.
    8.) Now at this point the BPEL is not saved and the tab-title is italic to show it’s unsaved.
    9.) Save the BPEL to disk.
    10.) Double click on the Human Task to show parameters and variables defined.
    11.) The previously defined expression type variable is still there.
    12.) However now if I click either 'Apply' of 'OK' buttons without making any changes the BPEL diagram tab-title becomes italic and when the BPEL is saved to the disk, it forgets about all the expression type variables that was previously defined. Also note that cancelling wouldn't change anything.
    This is a serious issue as I can't change any setting to a Human Task parameter list, as every time I make a change, I loose all the expression type variable declarations.
    Could this be a bug in JDeveloper?
    My JDeveloper Studio Edition Version is: 10.1.3.3.0.4157
    Any help on this would be greatly appreciated.
    Thanks.
    Shaminda.

    ok, looks like no one knows what's going on,
    Here's the workaround that I came up with, If anyone is interested.
    Create a custom XSD (schema) with required variables in it (to be used by expression types vars), and use a copy operation before the human task and create the expression types in there. Then use the schema to map the values to the human task.

Maybe you are looking for

  • SYST Period 012 is not valid in financial year variant R2 Msg no;FGV003

    Hi SAP Gurus, I have encountered with an error as following : SYST: Period 012 is not valid in financial year variant R2 Message no. FGV003 Our client following calendar year till December 2009.  They want to change to April to March , from April 201

  • Why the extra steps to close out of pages on safari?  If the point  of the iOS upgrade is to streamline things, why does it now take 3-4 steps instead of 1?!

    SSafari pages wee closed by clicking the x in the upper left hand corner, now, to find thatL you have to scroll a page down so it shows up, and of there is only one page, you have to: 1) click the "pages" icon (just guessing that's what it is) in the

  • How to get value from listbox?

    I have a listbox in the form part where user can select more than one values. ie i have a list of districts where people can choose more than one district at once. When this value is submitted, i need to display the name of this district in the jsp p

  • J2SE/JRE Version(s) on Clients

    Hi All! Can someone offer some guidance on what version(s) of J2SE/JRE we should have installed on our clients (PCs)?  We have standardized on 1.4.2_13 and are moving to 1.4.2_15 for Vista support, but we've run into several situations where SAP is a

  • I'm fed up with verizon

    I am seriously considering changing providers..... I broke my phone and all verizon has to offer is oh well....we can sell you a new phone at full price.... I have been with them for about 14 years and all I have seen is an increase on my bill. It is