Accessing Human Task output parameters

Hi all.
I have encountered a problem that I find to be
quite irritating. I have already searched the
forum, and read through the threads regarding
this topic, but still haven't been able to solve
the issue.
I have a simple type String variable
({[http://www.w3org/2001/XMLSchema]}string)
called "myName".
First, I'm initializing this variable with the
String "none":
{color:#333333}<assign name = "setVariable">
<copy>
<from expression = "string('none')"/>
<to variable = "myName"/>
</copy>
</assign>{color}
Next, I'm passing this variable as an argument
to a Human Task called "provideName", that has an
modifiable attribute called "userName":
{color:#333333}<copy>
<from variable = "myName"/>
<to variable = "initateTaskInput" part = "payload" query = "/taskservice:initiateTask/task:task/task:payload/task:userName"/>
</copy>{color}
Finally, right after the Human Tasks receive activity,
I'm fetching the alleged modified value, and copy it
back to my variable:
{color:#333333}<copy>
<from variable = "provideName_1_globalVariable" part = "payload" query = "/task:task/task:payload/task:userName"/>
<to variable = "myName"/>
</copy>{color}
After deploying and starting the process, I claim the task
on the worklist interface, modify the text field next to the
label "userName" from "none" to "Tim", select "APPROVE" and
hit the "GO"-button. I get the "your request was processed
successfully"-notice, and the flow is reported to have
completed, BUT: looking at the Audit Trail, I find that the
variable "myName" actually hasn't changed it's value. It's
still "none".
What am I doing wrong? I'd be grateful for your help.
Thanks!
Tim
Edited by: Tadhg207 (-> format)

No, I did not. Frankly, I didn't know you had
to save the form before you submit it. I literally
tried everything, but that.
Thank you for answering both my questions, James,
I've spent ages trying to resolve these issues.
I'd promote you to Guru right away, but, alas, I
only got a mere 20 points at my disposal. Those
are yours, though.
Thanks again. :)
Question answered.

Similar Messages

  • Accessing Human Task Payload from ADF Task Flow

    Hi
    Using jDeveloper 11g TP4 SOA...
    The scenario is this:
    1. We have created a Human Task which has parameters accountId and accountType in the payload.
    2. We have then created a Task Flow based on that human task.
    3. Inside the web folder with task flow we have *4 task display forms* (jspx pages).
    4. In the task flow we have the 4 pages and then a router
    5. Now we want the router to look in the payload of the human task and based on the accountType redirect to the correct task display form.
    Problem: We can't access the human task data control from the router in the task flow.
    Does anyone have some insigt into how we can read the accountType from the payload and then pick the correct task display form?

    Hi victor,
    i'm using a SOA(OSB) based task service, but i think that you have to use a "task service" (or something like this) to update your task
    this is my routine
    public Task updateTask(Task task) throws Exception {
    TaskServiceContextTaskBaseType taskUpd =
    new TaskServiceContextTaskBaseType();
    taskUpd.setWorkflowContext(getWorkFlowContext());
    taskUpd.setTask(task);
    return taskService.updateTask(taskUpd);
    where taskService is the port of my proxy.
    Hope this help

  • Not able to access human task form (11.1.1.4)

    I installed SOA Suite with BPM Suite 11.1.1.4. I ran into quite a few issues. The biggest one is I am not able to access the human task form in BPM workspace even for the new application created in 11.1.14.
    Do you have such issue? I am not sure if it is a bug or is related to my specific installation. I followed the document “Quick Start Guide for Oracle® SOA Suite 11gR1 (11.1.1.4.0) Version 1.6” for the installation. The only difference is that I installed the generic version of WebLogic and JDev and configured them to use JDK 64-bit version since my OS is windows 7 (64-bit). Before, I had installed 11.1.1.3 with 64-bit and it was working fine. The only tool installed with 32-bit is the JDev 11.1.1.3. Since JDev 11.1.1.4 is supporting 64-bit, I installed everything with 64-bit for this time.
    The details of the error are the following:
    With JDev 11.1.1.4, I created a new application which has a simple BPM process with 3 flow objects: start event-user activity-end event. The human task has the auto-generated task form. I deployed the application to the SOA server.
    When testing the application, the task was created and listed in the BPM workspace. But when I clicked the task link to open the task form, the web page was hanging. I noticed the following log was REPEATED again and again in the access.log:
    140.98.125.168 - - [20/Apr/2011:10:28:08 -0400] "GET /workflow/TestpsUI/faces/adf.task-flow?bpmWorklistTaskId=2a5b4ad1-823f-4615-8a7e-c5449a7be814&bpmWorklistContext=12aa4934-991a-487c-b7f3-5159808c399a%3B%3BtbcZXSd1E1LVZv8OIaLZGd21meLUMNkYSMsmz60kNKoEaJ1N53wy3zyRYA%2BunyKF9UNi50fPHKtaXY6IqKbh%2Fu68WebTan3zCwGsUNmNMaw8aLEygS5qb2cOGx2qGal86F%2FgiRka874PYLXhohFdDPCQyoxre2p7IgpsloLHq2rh7T3zWGnyOjLdC7Qw0Geb20Kfp8XA2UUIoxaxTHS6YFPQqqs%2FzIkyEsgMNQJMDbYYGdceRL2sT8rMkBXpmQ0r&bpmWorklistHttpURL=http%3A%2F%2Flocalhost%3A7001%2Fbpm%2Fworkspace%2Ffaces&bpmWorklistHome=home.jspx&bpmWorklistReassign=reassignTask.jspx&bpmWorklistRoute=routeTask.jspx&bpmWorklistRequestInfo=requestInfo.jspx&bpmWorklistSecurity=signTask.jspx&tz=America%2FNew_York&lg=en&cy=US&vr=&dispNameLg=en&dispNameCy=US&dispNameVr=&df=medium&dt=both&tf=short&bpmWorklistSessionTimeoutInterval=900&soaUrl=http%3A%2F%2F140.98.125.168%3A7001&bpmBrowserWindowStatus=taskFlowReturn&adf.tfDoc=%2FWEB-INF%2FHumantask_TaskFlow.xml&adf.tfId=Humantask_TaskFlow&_task-flow-return=http%3A%2F%2Flocalhost%3A7001%2Fbpm%2Fworkspace%2Ffaces%2Fadf.task-flow-return%3F_adf.ctrl-state%3De1i6yi1gq_35&_adf.winId=e1i6yi1gq_26&_afrLoop=7156779026094&_afrWindowMode=0&_afrWindowId=null HTTP/1.1" 200 5478
    Please help if you know what is going on for the issue.
    Thanks a lot,
    Helen

    Go to OEM, select the SOA Composite application you deployed.
    Under Component Metrics … click the link of the Human Workflow Component that you have the issue
    The settings of the Human Workflow Component would be displayed
    Click the Administration tab, you will get the URI setting for the human task
    update the Host name etc. as you want and click "OK" then click "Apply"
    Please note: this is just a shortcut for my own dev-env. I have not got the time to figure out why this happens. It is sure not the right solution for the production if we have the issue in the prod-env, I think.

  • Human Task output variables (I need help I'm in a dead end alley)

    Good evening to all. I have a human task, that receives this input in the input variable:
         <element name="ReadWriteHumanTaskProcessRequest">
              <complexType>
                   <sequence>
                        <element name="numero" type="string"/>
                        <element name="apellidos" type="string"/>
                        <element name="nombres" type="string"/>
                        <element name="direccion" type="string"/>
                   </sequence>
              </complexType>
         </element>
    I append this to the payload of the task :
    <bpelx:append>
    <bpelx:from variable="inputVariable" part="payload"
    query="/client:ReadWriteHumanTaskProcessRequest"/>
    <bpelx:to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </bpelx:append>
    The JSP page shows fine, user modify the fiels, I can see in the Receive part of the Human task the fields that are modified:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>Another One</title>
    - <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    - <ns1:ReadWriteHumanTaskProcessRequest xmlns:ns1="http://xmlns.oracle.com/ReadWriteHumanTask">
    <ns1:numero>1</ns1:numero>
    <ns1:apellidos>q</ns1:apellidos>
    <ns1:nombres>a</ns1:nombres>
    <ns1:direccion>z</ns1:direccion>
    </ns1:ReadWriteHumanTaskProcessRequest>
    </payload>
    I need to retrieve the value of the contet of the payload, I have tried this:
    <copy>
    <from variable="ReadWriteHT_1_globalVariable"
    part="payload"
    query="/task:task/task:payload"/>
    <to variable="inputVariable" part="payload"
    query="/client:ReadWriteHumanTaskProcessRequest"/>
    During deploymet I got a warning about incompatible types in from-spec to-spect but it works anyway.
    But the result is this:
    <inputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><ns1:ReadWriteHumanTaskProcessRequest xmlns="http://xmlns.oracle.com/bpel/workflow/task" xmlns:ns1="http://xmlns.oracle.com/ReadWriteHumanTask"><ns1:ReadWriteHumanTaskProcessRequest xmlns:ns1="http://xmlns.oracle.com/ReadWriteHumanTask">
    <ns1:numero>1</ns1:numero>
    <ns1:apellidos>q</ns1:apellidos>
    <ns1:nombres>a</ns1:nombres>
    <ns1:direccion>z</ns1:direccion>
    </ns1:ReadWriteHumanTaskProcessRequest>
    </ns1:ReadWriteHumanTaskProcessRequest>
    </part></inputVariable>
    As you can see the payload is inside the input variable and I can't find a way in the copy to write anything but /task:task/task:payload.
    I've see the samples and tutorials, those work but mine no. There is a way to get the values from the element task:payload ?

    Hello to all. I´ve been trying to do something very similar to Ivan. I created a Human Task that has one Parameter called test which is a {http://www.w3.org/2001/XMLSchema}string. I then genereted a Auto Task Form so that I can update the value of this parameter in the worklist. So for so good. Now I want to get this value that was inputed in this variable and copy to a global variable that I have created, that has the same type: {http://www.w3.org/2001/XMLSchema}string
    I followed the instructions above but had no luck. here is the code:
    <assign name="CopyPayloadFromTask">
    <copy>
    <from variable="TesteFormulario_1_globalVariable"
    part="payload"
    query="/task:task/task:payload/client:TesteFormProcessRequest/client:test"/>
    <to variable="FormReturn"/>
    </copy>
    </assign>
    When I run the flow, it gives me this message:
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result.
    xpath variable/expression expression "/task:task/task:payload/client:TesteFormularioProcessRequest/client:test" is empty at line 175, when attempting reading/copying it.
    Please make sure the variable/expression result "/task:task/task:payload/client:TesteFormularioProcessRequest/client:test" is not empty.
    </summary>
    </part></selectionFailure>
    I have noticed that this is a general message. I´ve tryed changing the parameter name, from test do glauco, for instance, which doesn´t exist, and the same message is returned. What am I doing wrong?
    Thanks
    Glauco

  • Problem in mapping Task payload parameters to Oracle Business Rules facts

    Hi all,
    We are using complex types from our project XSDs inside the Human Task payload. We intend to use these Human Task payload parameters to build routing rules using the Oracle Business Rules interface. Our observation is that when the complexity of these complex types increase, the business rules editor does not show these as facts that can be used in formulating rules.
    Has anybody faced such a problem before. Any help is appreciated.
    We are using the following link to add routing rules –
    http://docs.oracle.com/cd/E25054_01/dev.1111/e10224/bp_decision.htm
    Version details :
    ADF Business Components     11.1.1.60.13
    Java(TM) Platform     1.6.0_29
    Oracle IDE     11.1.1.5.37.60.13
    SOA Composite Editor     11.1.1.5.0.01.74
    Thanks,
    Yamini.

    Problem solved. There was an element in the xml schema that had nillable = true. Because of this the XML Fact for that element would no longer be available in the BPEL Process. Removing the nillable and generating the XML Facts again solved the missing variable problem.

  • Accessing output variables from human task

    Hi,
    I added a human task in my process (jdev 10.1.3) and set up a parameter to be an input field in the jsp. However, I could not find a way to copy the value from this particular variable even though this parameter is a child of payload. Do I have to define the query manually or did I miss something?
    Thank you for advice,
    Mirco

    Ok, I crosschecked the examples and it seems, that there is indeed an example for what I am looking for. In the LoanPlusDemo there is a StarLoan process and that contains the following assignment following a human task:
    <sequence id="BpSeq3" >
    <assign id="BpAss4" >
    <copy>
    <from variable="LoanApproval_globalVariable" part="payload" query="/task:task/task:payload/auto:loan"/>
    <to variable="loan" query="/auto:loan"/>
    </copy>
    </assign>
    </sequence>
    Now considering the input structure:
    <task>
    <title>Loan application for</title>
    <payload>
         <loan>
         <loanApplication>
    <ns1:SSN>123222</ns1:SSN>
    <ns1:email>[email protected]</ns1:email>
    <ns1:customerName/>
    <ns1:loanAmount/>
    <ns1:carModel/>
    <ns1:carYear/>
    <ns1:creditRating/>
    </loanApplication>

         <loanOffer>
    <providerName>Star Loan</providerName>
    <selected>false</selected>
    <approved>false</approved>
    <APR>47</APR>
    </loanOffer>
    </loan>
    </payload>
    How do you know how exactly to create the copy rules? JDev does not support this, that much was answered before. I would absolutely appreciate if someone could
    1. Tell me something about the namespaces in the copy rules e.g. why is it /auto:loan and not just /loan?
    2. An example on how to create such things.
    One of the two might be sufficient.
    Thank you.
    Hinrich
    Message was edited by:
    punkrock77

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

  • Workflow API: adding and accessing file Attachments to a Human Task

    Hi there,
    I am using the Workflow Services Java API (11.1.1) for SOA Suite to access and manipulate human tasks. I would like to be able to access and add file attachments to existing human tasks. I am using the methods provided in the AttachmentType interface.
    When adding an attachment, the problem I am running into is that an attachment does created and associated with the task, however it is empty and has no content. I have attempted both setting the input stream of the attachment, as well as the content string and in each case have had no success.
    I have successfully added and accessed an attachment using the worklist application, however when trying to access the content of this attachment through code I receive an object with mostly null/0 values throughout, apart from the attachment name.
    As the API's are not overly rich in documentation I may well be using them incorrectly. I would really appreciate any help/suggestions/alternatives in dealing with BPEL task attachments.
    Thanks
    The code I am using resembles:
    List attachments = taskWithAttachments.getAttachment();
    for(Object o : attachments){
    AttachmentType a = (AttachmentType) o;
    String content = a.getContent(); +// NULL+
    InputStream str = a.getInputStream(); +// NULL+
    String name = a.getName(); +// Has the attachment name+
    String mime = a.getMimeType(); +// Has the mime type+
    long size = a.getSize(); +// 0+
    Edited by: 855489 on May 2, 2011 4:23 PM
    Edited by: 855489 on May 2, 2011 8:48 PM

    I am also facing the same issue, using 11.1.1.6, anyone managed to solve this?
    Regards
    Venkat

  • JAVA API of Oracle BPEL, to access the "Task Form"(JSP) of a human task.

    Hi,
    Are there any JAVA API of Oracle BPEL, to access the "Task Form"(JSP) of a human task, to render the task form inside the custom worklist application.
    Thanks,
    Naga

    I guess you mean accessing the task details and the payload from the java API.
    Refer the below blog it will provide you the details
    http://www.albinsblog.com/2012/05/update-human-task-payload-via-java-api.html
    Regards
    Albin I
    Edited by: Albin on Sep 19, 2012 11:24 PM

  • Control mult access to the Human Task

    Hi All,
    I have a human task in the BPM process which is assign to the role of the user. I've noticed that the task can be accessed by multiple users at the same time within the BPM workspace task list.
    How can I control it that when one person is already open the human task and nobody can open it. Is it a way to
    set the concurrency level for bpm human task?
    thanks in advance.

    Guessing you might already know this, but the human tasks have an auto-claim property that is turned on by default. The way this works is that if more than one end user selects a task at the same time, the first one to submit the task will be the one that gets committed. While I'd agree that it's not ideal, the second end user (who also had the form displayed for the task when they simultaneously selected the same task) will not be able to submit the task. The second end user sees this rather cryptic message when they try to submit the form:
    >
    "Insufficient privileges to access the task information for this task. User 9616d414-d4bc-4573-9d39-cc100fda7391 cannot access the task information for task: {1}. Ensure that the user has been granted appropriate privileges to access the task information for this task."
    >
    This doesn't sound like the route you want to go either, but from the Workspace - end users can "Claim" a task from the Actions dropdown. Claim is useful when an end user is working on a work item instance and they want to make sure that no one else assigned also tries to work on the same work item instance. End users do not have to claim tasks in the Workspace, but it's useful to keep another end user from working on (or even seeing in their queue) the same work item instance that they had already started working on.
    Once claimed, a work item instance can only be viewed and worked on by the user who claimed it and anyone assigned to the Process Owner role (it is shown in the Process Owner's "My Staff Tasks" tab - not in their "My Tasks" tab). The instance could be returned back into the general queue by clicking the Actions dropdown and clicking Release.
    Dan

  • Human Task - content access policies + ITaskMetadataService

    In SOA Suite 11gR1 you can specify fine grained access controls on the content of a human task (payload data specifically).
    How does one go about accessing these privileges within the human task form (.jspx) in order to conditionally disable/hide form fields in the payload based on the declared access rules?
    The documentation mentions getTaskVisibilityRules method of ITaskMetadataService, but no sample code is given. I'm trying to create a JSF managed bean I can expose to EL expressions on the .jspx and make use of this data, but it's failing with exceptions.
    My code looks like this (excuse the formatting):
    IWorkflowServiceClient wfSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
    ITaskMetadataService metaService = wfSvcClient.getTaskMetadataService();
    IWorkflowContext wfContext; = queryService.getWorkflowContext(contextStr);
    //Next line throws java.io.NotSerializableException for oracle.bpel.services.workflow.metadata.impl.Privilege
    Map<String,IPrivilege> privs = metaService.getTaskVisibilityRules(wfContext, taskID);

    Anyone?
    This is what I'm referring to in the documentation:
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_hwfmodel.htm#BABCIIGF
    The section is "25.3.10.8.1 Introduction to Access Rules"

  • Human Task task's parameters as combobox

    Is posible to show a Human Task's parameter as a <select> in its auto-generated form? I mean, without editing the generated jsp manually.
    I'm using SOA Suite 10.1.3.1.0 and JDev 10.1.3.3
    Thanks
    Neuquino
    Message was edited by:
    Neuquino

    Is posible to show a Human Task's parameter as a <select> in its auto-generated form? I mean, without editing the generated jsp manually.
    I'm using SOA Suite 10.1.3.1.0 and JDev 10.1.3.3
    Thanks
    Neuquino
    Message was edited by:
    Neuquino

  • Human task expression builder (10.1.3.1 GA)

    When I open up the Expression builder while inside the humanTask builder/editer/whatchamacallit I cannot see any BPEL variables. The Title displayed in the Expression builder is schema (vs the BPEL variables I see elsewhere). This gives me access to Task variables which isn't what I want. I want access to BPEL variables to use my dynamic expressions.
    In addition to the above the expression builder is essentially broken within the humanTask. <Control><space> doesn't work properly.
    This has behaved the same in both the developer preview and GA versions. Tell me that this some stupid configuration parameter that I've got fouled up. I can't deal with it as I'm currently experiencing.

    The Expression editor inside of the Human Task editor does not show the BPEL variables as the XPath expressions are not evaluated from the context of a BPEL instance, but are executed in the context of the Human Task instance. This is not a bug.
    In order to refer to BPEL variables, one can use input parameters (as noted by John above). You can also map the output parameters from the task to BPEL variables - once the Human Task activity completes.
    Please refer to section 15.6.5.2.1 of Oracle® BPEL Process Manager Developer's Guide for details.
    Best Regards,
    Sidda

  • Unable to select an outcome in human task

    Folks,
    I’ve been trying to get a simple human task to work but as of yet I am unable to. I’ve followed the instructions in the BPEL Process Manager Developer’s Guide (10.1.3) and am using the “Auto Generate Simple Task Form” to create the display.
    I can deploy the process without incident and am able to claim the task and see parameters passed in. I am not, however, able to see or select the outcome (which I have defined as ‘Approve’ and ‘Reject’).
    The .task file is as follows:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <taskDefinition targetNamespace="http://xmlns.oracle.com/human_work"
                    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                    xmlns:ora="http://schemas.oracle.com/xpath/extension"
                    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    xmlns="http://xmlns.oracle.com/bpel/workflow/taskDefinition">
       <name>human_work</name>
       <id>${domain_id}_${process_id}_${process_revision}_human_work</id>
       <title>Task!</title>
       <priority>3</priority>
       <process processId="" processVersion=""/>
       <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
          <globalConfiguration>
             <owner>oc4jadmin</owner>
             <earlyCompletion>
                <outcome>APPROVE</outcome>
                <outcome>REJECT</outcome>
             </earlyCompletion>
          </globalConfiguration>
          <participants isAdhocRoutingSupported="false">
             <participant name="taskApprover">
                <resource isGroup="true" type="STATIC">oc4j-administrators</resource>
                <resource isGroup="true" type="STATIC">oc4j-app-administrators</resource>
             </participant>
          </participants>
          <notification includeTaskAttachments="false" actionable="false"
                        secureNotifications="false"/>
       </routingSlip>
       <workflowConfiguration xmlns="http://xmlns.oracle.com/bpel/workflow/configuration"
                              xmlns:ns0="http://xmlns.oracle.com/test_humanTask2">
          <outcomes>
             <outcome>APPROVE</outcome>
             <outcome>REJECT</outcome>
          </outcomes>
          <restrictedActions/>
          <payload xmlSchemaDefinition="human_work_payload.xsd">
             <messageAttribute name="taskInput" attributeType="ELEMENT"
                               type="ns0:taskInput" updatable="false"/>
          </payload>
          <bpelEventListener>false</bpelEventListener>
       </workflowConfiguration>
    </taskDefinition>Any help you all can provide is greatly appreciated.
    Thanks in advance,
    Joseph

    Is there any update to this thread? I am seeing the same or similar problem. I'm using BPEL 10.1.3.3.
    I've created a task with two possible custom outcomes "BE" or "NOT_BE". Anyone in the oc4j-administrators group can claim the task instance. I use the auto task form generator.
    As in the thread, I can claim the task instance (as oc4jadmin) and the task form displays (including one parameter that I defined in the payload); however, the only Task Action available in the dropdown list for selection is "Release". My expectation would be to see "BE", "NOT_BE", and "Release" as available actions.
    Using bpeladmin yields identical results.
    Here is my task definition:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <taskDefinition targetNamespace="http://xmlns.oracle.com/HumanTask1" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpel/workflow/taskDefinition">
    <name>HumanTask1</name>
    <id>${domain_id}_${process_id}_${process_revision}_HumanTask1</id>
    <title>To Be or Not to Be</title>
    <priority>3</priority>
    <process processId="" processVersion=""/>
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration/>
    <participants isAdhocRoutingSupported="false">
    <participant name="Deep Thinker">
    <resource isGroup="true" type="STATIC">oc4j-administrators</resource>
    </participant>
    </participants>
    <notification includeTaskAttachments="false" actionable="false"
    secureNotifications="false">
    <action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    <action name="COMPLETE" recipient="CREATOR"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    <action name="ERROR" recipient="OWNER"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    </notification>
    </routingSlip>
    <workflowConfiguration xmlns="http://xmlns.oracle.com/bpel/workflow/configuration"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <outcomes>
    <outcome>BE</outcome>
    <outcome>NOT_BE</outcome>
    </outcomes>
    <restrictedActions/>
    <payload xmlSchemaDefinition="HumanTask1_payload.xsd">
    <messageAttribute name="FoodForThoughtParm" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    </payload>
    <bpelEventListener>false</bpelEventListener>
    </workflowConfiguration>
    </taskDefinition>

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

Maybe you are looking for