Human Task Title Translation

I have tried to translate the human task title by choosing translate in the title and I have followed the MLS example in oracle sample code.
The sample was on vacation request. The title has been appeared in the default language correctly. But when I use another language,
the default language title appears. This has happened in my example and in the MLS example(114).
I am using SOA version 11.1.1.5
Please feed me back if you have any idea about this problem.
Thanks in advance.
Edited by: AhmedElhamy on Mar 31, 2012 2:40 PM

we need to perform the following steps which not mentioned in the sample :
1. Login to EM link using Admin username/password:
2. Select <domain>-> SOA-><SOA Infra> and right click:
SOA Administration->Workflow Task Service Properties
3. On the Right Hand Side select:
Advanced->More Workflow Taskservice Configuration Properties
then
oracle.as.soainfra.config->Server:<servername>->WorkflowConfig->human-workflow
On the Right Hand side click on the Operations tab and then click on the CreateLocale operation.
4. Provide the following parameters:
Language: de
defaultFlag: false
enableFlag: True
5. Click on Invoke.

Similar Messages

  • Internationalization Human Task Title

    Hi,
    I´ve a problem with the Internationalization of a Human Task Title, It simply doesn´t work.
    In a human task I need to have a translation of the title name. But only gets the EN languaje. I´ve all the .properties files.
    Can you help me?
    Regards

    we need to perform the following steps which not mentioned in the sample :
    1. Login to EM link using Admin username/password:
    2. Select <domain>-> SOA-><SOA Infra> and right click:
    SOA Administration->Workflow Task Service Properties
    3. On the Right Hand Side select:
    Advanced->More Workflow Taskservice Configuration Properties
    then
    oracle.as.soainfra.config->Server:<servername>->WorkflowConfig->human-workflow
    On the Right Hand side click on the Operations tab and then click on the CreateLocale operation.
    4. Provide the following parameters:
    Language: de
    defaultFlag: false
    enableFlag: True
    5. Click on Invoke.

  • Reading Human Task Title from two property files

    Good day,
    I have a problem with displaying human task title in multiple languages ,I tried the oracle workflow-114-MLSSample and deployed it over soa suite version 11.1.1.6.0 but the sample didn't work.
    have any body done with this isse.
    regards.
    Edited by: a.rababah on Dec 12, 2012 11:13 PM

    we need to perform the following steps which not mentioned in the sample :
    1. Login to EM link using Admin username/password:
    2. Select <domain>-> SOA-><SOA Infra> and right click:
    SOA Administration->Workflow Task Service Properties
    3. On the Right Hand Side select:
    Advanced->More Workflow Taskservice Configuration Properties
    then
    oracle.as.soainfra.config->Server:<servername>->WorkflowConfig->human-workflow
    On the Right Hand side click on the Operations tab and then click on the CreateLocale operation.
    4. Provide the following parameters:
    Language: de
    defaultFlag: false
    enableFlag: True
    5. Click on Invoke.

  • Human Task change task title dynamically

    Hi,
    I have a BPEL Human Task with several steps in SOA 11.1.1.7.
    I try to change dynamically the task title according to the Participant Name or stage .
    I tried different solutions(swicth, updateTask service) but I am unable to get the participantName or the stage name before entering in the initiateTask function.
    Please can you give me a clue of how it could be done?
    Thank you!

    Hi,
    Could you please check in wftask and wftask_tl tables whether the title has been updated?
    Also, could you please check "Reevaluate the translation every time" in HT and try again?
    You should try this.

  • Human task notification doesn't permits I18N?

    Hi Gurus,
    I'm using the OIM 11g and Jdev 11.1.1.4.
    I did a ResourceBundle to translate my messages at notification into Human Task.
    The title is translated, but the message( Notification) doesn't get the key to show.
    I put this code <%hwf:getTaskResourceBundleString(/task:task/task:payload/task:RequestID,'HEADER', 'es')%> at title, and the title is showed ok.
    But i puted this code at notification header and the message is empty.
    What's Wrong?
    Thanks in advanced.

    This post was deprecated,

  • Human tasks, complex types and variable assignment.

    Hi folks,
    I encountered a problem while working with 10.1.3.1 which I haven't managed to solve yet and would be grateful for assistance. I have defined a complex data type (just a sequence of strings) and want to fill that data type by going through a flow of screens, e.g. through several human tasks. I have defined that type as a variable to the BPEL process and have managed to assign simple expressions to the variable and pass that into a Human Task. In the task I see now a simple input form for all attributes of the type.
    Now the problem. After I fill out the form and complete the human task, I have
    The global variable:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                   <vorname/>
                   <nachname/>
                   <strasse/>
                   <nummer/>
                   <postleitzahl/>
                   <stadt/>
                   <maximaleDauer/>
                   <minimaleDauer/>
              </MyProcessResponse>
         </part>
    </outputVariable>
    and the return value from the human task:
    <task>
         <title>CaptureData</title>-
              <payload>
                   <MyProcessResponse>
                        <vorname>David</vorname>
                        <nachname>Beckham</nachname>
                        <strasse>HighStreet</strasse>
                        <nummer/>
                        <postleitzahl/>
                        <stadt/>
                        <maximaleDauer/>
                        <minimaleDauer/>
                   </MyProcessResponse>
              </payload>
    </task>
    Now the only thing I would like to do is to replace the original values in the variable with the new values that have been returned from the task, this should be performed in an extra assign step. Sounds simple. JDeveloper wouldn't even let me klick through the return value from the HumanTask, so it seems as if I have to do things manually.
    These are my tries:
    Command 1:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload" />
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse"/>
    </copy>
    Result 1:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <ns0:MyProcessResponse xmlns="http://xmlns.oracle.com/bpel/workflow/task"     xmlns:ns0="http://xmlns.oracle.com/VacationRequest">
                   <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                        <vorname>David</vorname>
                        <nachname>Beckham</nachname>
                        <strasse>HighStreet</strasse>
                        <nummer/>
                        <postleitzahl/>
                        <stadt/>
                        <maximaleDauer/>
                        <minimaleDauer/>
                   </MyProcessResponse>
              </ns0:MyProcessResponse>
         </part>
    </outputVariable>
    --> There is one MyProcessResponse element too many
    Command 2:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse/ns1:vorname"/>
    </copy>
    Result 2:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                   <ns0:vorname xmlns="http://xmlns.oracle.com/bpel/workflow/task"                     xmlns:ns0="http://xmlns.oracle.com/VacationRequest">
                        <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                             <vorname>David</vorname>
                             <nachname>Beckham</nachname>
                             <strasse>HighStreet</strasse>
                             <nummer/>
                             <postleitzahl/>
                             <stadt/>
                             <maximaleDauer/>
                             <minimaleDauer/>
                        </MyProcessResponse>
                   </ns0:vorname>
                   <nachname/>
                   <strasse/>
                   <nummer/>
                   <postleitzahl/>
                   <stadt/>
                   <maximaleDauer/>
                   <minimaleDauer/>
              </MyProcessResponse>
         </part>
    </outputVariable>
    --> This was moreless expected, since I tried to copy the stuff to some wrong place.
    Command 3:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload/ns0:MyProcessResponse"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse"/>
    </copy>
    Result 3:
    --> Task does't return (!!!). In the BPEL Worklist, the task is completed, however in the BPEL console it still apears as "waiting to return from Human task".
    Does anyone have a hint on how to copy the values so that I get exactly the structure that I printed at the very top?
    Thanks for help. Rock On !

    Hello everyone,
    It seems that we are talking about different things, I am afraid. Let me describe the scenario once again:
    - I want to have a BPEL process with more than one role involved
    - This process should be used to gather some complex data.
    - All data gathering should be done through HumanTasks.
    So I defined an xsd complex type, that contains a sequence of fields. This complex type should be part of the process payload.
    Now before HumanTask 1 is called, I copy the contents of this variable into the input for tasks1. This works fine and I see the appropriate values, when opening the Human Task in the BPEL worklist application.
    Now after HumanTask1 is completed, the values I entered inside that tasks are returned as a variable from the HumanTask. My problem is, that I cannot copy the contents of the task back into the main process. With simpleTypes this is relatively ok, since Jdev supports the assembling of the copy operation, however for complex tasks it fails.
    A typical scenario for this would be where e.g. a customer fills a shipping address and afterwards a store staff fills product details in the same order. In Java this could be solved via "pass by reference". Who can provide an example?

  • How to take human task values and store them in DB table

    Hi, I have a workflow and when I assign the task to someone I want to store some info in a database table that I created.
    I have checked the box allow task and routing customization in bpel call backs.
    And under the on Assign message, I put an assign bpel construct and an invoke.
    in the assign construct I am trying to copy some of the elements from my humantasks_globalvariables to certain columns in my database table.
    I have found out you can't copy them directly because the humantasks_globalvariables are of type string and my database columns are anonymous. So I tried using parseEscapedXML(), when I do this I get the error that
    oracle.fabric.common.xml.xpath.XPathFunctionException: parseXML() expects the argument to be either a string or an XML element.
    The humantasks_globalvariable I am using says it's of type string but it gives me this error.
    I am obviously doing something wrong. If anybody know how to take values from a human task and store them in a database table any help would be greatly appreciated.

    In the actual database the column types are varchar2. But when I drag an invoke from the bpel constructs I associate it with by DBadapter partner link and click the button automatically create input variables. It creates an xsd and this is what one of the elements looks like.
    <xs:element name="anyvalue">
        <xs:simpleType>
            <xs:restriction base="xs:string">
                 <xs:maxLength value="20"/>
            </xs:restriction>
        </xs:simpleType>
    </xs:element>When I do an assign and try to assign the values from the humantasks_globalvariables xsd there types look like this.
    task:title string
    and the input variable I automatically generated look like this.
    ns7:anyvalue <anonymous>

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

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

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

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

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

  • 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

  • Human task escalation ERROR

    Hi,
    I have a BPEL process with a human task. This human task has set the expiration time and the escalation policy (2 escalation steps).
    The BPEL works alright if nobody does nothing to the task. It fails if the task is claimed by a user but after the user doesn't finish the task (doesn't take any actions on the task, neither approve/reject)
    The task is expired and the status is "with errors". In the logs the following error appears:
    <2008-06-25 16:08:40,093> <ERROR> <oracle.bpel.services.workflow> <::> ORA-20003: Error while inserting routing slip
    ORA-06512: en "ORABPEL.WFTASKPKG", línea 47
    ORA-00001: restricción única (ORABPEL.SYS_C005188) violada
    ORA-06512: en línea 1
    java.sql.SQLException: ORA-20003: Error while inserting routing slip
    ORA-06512: en "ORABPEL.WFTASKPKG", línea 47
    ORA-00001: restricción única (ORABPEL.SYS_C005188) violada
    ORA-06512: en línea 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.execute(PreparedStatementBCELProxy.java:333)
         at oracle.bpel.services.workflow.repos.driver.oracle.OracleWFRoutingSlip.insertRoutingSlip(OracleWFRoutingSlip.java:123)
         at oracle.bpel.services.workflow.repos.driver.PersistencyService.insertRoutingSlip(PersistencyService.java:216)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:3321)
         at oracle.bpel.services.workflow.task.impl.TaskService.localHandleRoutingSlipInterpretationResult(TaskService.java:1246)
         at oracle.bpel.services.workflow.task.impl.TaskService.handleRoutingSlipInterpretationResult(TaskService.java:1298)
         at oracle.bpel.services.workflow.task.impl.TaskService.expireTask(TaskService.java:2614)
         at oracle.bpel.services.workflow.task.impl.TaskService.expireTask(TaskService.java:2574)
         at oracle.bpel.services.workflow.task.ejb.tasktimer.TaskTimerBean.expireTask(TaskTimerBean.java:35)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at TaskTimerBean_RemoteProxy_68d4144.expireTask(Unknown Source)
         at oracle.bpel.services.workflow.task.impl.WorkflowTimerAgent$ExpirationJob.execute(WorkflowTimerAgent.java:676)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    Has anyone found the same problem?
    Regards,
    Zaloa

    Hi Charles,
    First of all thank you for the reply.
    Right now I'm working in a development environment, where we don't have a cluster. In production environment we do have a cluster for the soa suite so it would be good to know the patch for the cluster.
    On the other hand, I upgraded from 10.1.3.1 to 10.1.3.3 but I didn't run the database script. After reading this post, I executed the upgrade_10131_10133_oracle.sql script but I'm getting the same error.
    One thing that I don't understand is that the log says:
    java.sql.SQLException: ORA-20003: Error while inserting routing slip
    ORA-06512: en "ORABPEL.WFTASKPKG", línea 47
    ORA-00001: restricción única (ORABPEL.SYS_C005188) violada
    ORA-06512: en línea 1
    I connect to the database using orabpel user and I don't find the WFTASKPKG table. Is this normal? What is going on?
    Also, the escalation works alright if no user claims the task.... so I guess it is not an LDAP configuration issue. (both users exist and have title and manager set up)
    Regards,
    Zaloa

  • Human Task - Notification Setting

    Hi everyone
    I Want to customize the email message that will be sent to the Assignees.
    The message is as follows:
    Task <%/task:task/task:title%> requires your attention. Please access the task from the worklist application.
    Request ID: <%/task:task/task:payload/ns0:HumanTaskProcessRequest/ns0:Req_ID%>
    From: <%/task:task/task:payload/ns0:HumanTaskProcessRequest/ns0:From%>
    To: <%/task:task/task:payload/ns0:HumanTaskProcessRequest/ns0:To%>
    Purpose:<%/task:task/task:payload/ns0:HumanTaskProcessRequest/ns0:Purpose%>
    and it appears like this in the email message:
    Task RequestApproval requires your attention. Please access the task from the worklist application. Request ID: From: To: Purpose:
    I tried to add an Assign and create a copy operation to assign the input value of Request ID (for example) to the task payload. but it didn't work !!
    btw, I don't have anything under '/task:task/task:payload' and the path in the message has been added using the xpath builder

    If you are going to pass something in to the task you need to do it as a parameter. Then that parameter's hierarchy will appear under the payload section. You specify the parameter type in the human task definition and you specify the actual value passed in the human task BPEL activity.
    You can also use HTML to format the emails a little nicer.

  • Human task notification after due date/expiration date/...

    I would like to set a due date (or expiration date) to Human task, and set some notification before this time. Ok, it seemed very easy:
    - i set due date to 5 minutes in human task -> Deadlines
    - i set notifications in human task -> notification and in tab Advanced i set remind once 2 minutes before due date
    Nothing happens. Exactly same (nothing) happens when i do the same with expiration date.
    But what exactly is meaned under word "Reminder"?
    It's mail? (then where I have to set email adress? I tried to set a "to" field in human task -> notification -> tab Advanced -> notif. header attributes => nothing happened)
    It's worklist inbox message?
    Or what ist "reminder" and how it should remind me?
    Edited by: user1175491 on Dec 28, 2010 7:21 PM

    Hi,
    I don’t know if you’ve managed to resolve this issue yet and you mention you have emails working from BPEL, but I'm not sure if you've got any notifications working for the Human Task, if not then I have done some work with the human task notifications and although I’ve not tried to do what you’re doing, this is what I have learned.
    Firstly to receive any notifications you need to configure the Messaging Driver and Workflow Notification Properties…
    In Enterprise Manager expand [farm] -> SOA -> soa-infra
    Right click soa-infra and choose SOA Administration -> Workflow Notification Properties
    Underneath the page title (Workflow Notification Properties) is a note telling you to configure the Messaging Service Driver. Click the "Go to the Messaging Driver page" link.
    In the associated drivers section you will have a single entry for soa_server1 (or what ever it's called for you). In the right hand column there is a button for configuring the driver, click this.
    In the driver specific configuration, scroll down to OutgoingMailServer and enter the hostname or IP address of your mail server, then click Apply at the top of the screen.
    Now go back to the Workflow Notification Properties screen and choose “Email” from the notification Mode and enter some sensible email addresses in the Notification Service section. It’s useful to have real email addresses in here at the moment because any failures will be returned to this address.
    You now need to restart Weblogic for these changes to take affect.
    After the restart you can test the notifications by doing the following
    Back in Enterprise Manager expand [farm] -> SOA -> soa-infra
    Right click soa-infra and choose Service Engines -> Human Workflow
    Click on the Notification Management tab.
    You can click the "Sent Test Notification" button to make sure everything is working ok. This screen also allows you to monitor notifications for failures.
    Now that the notifications have been set up you can configure who gets notified on which events against your human task in JDeveloper.
    The email addresses for the users are retrieved from your identify provider for the relevant user, by default this is the internal LDAP directory. I’m not using this, so I’m not sure exactly how this will work. There are options in the worklist application for individual users, but I’m not using this either.
    Now that this is set up you can configure the human task within JDeveloper. On the notification tab you can decide who gets notified when. By default when a task is assigned to a user, the assignees are notified, you can play about with these settings to see what works best for you. Have a look at http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm#BABBHDGF for more information.
    I’m not sure I’ve solved your problem, but I hope this at least helps.

Maybe you are looking for