Dinamic priority of human task

hi! this is my question, i have a Human Task Activity in my BPEL process, this task is started with priority 3, i need to change the priority to 2 when passed n minutes without user response, this is posible? i add an onAlarm to the Human Task scope and change the priority but it does not work.
Another question, can i route the task to another user when the 2 minutes period passed? how can i do that? in the Human Task configuration i can scalate the task but i need to re-route to others users n times with a period expiration condition.
Any help will be appreciated
regards and blesses!

Human Tasks have "Escalate After " feature built-in. In the human task editor, you can specify the escalation time (either fixed or as variable -based on an expression) in the "Expiration and Escalation Policy" section. Refer to : http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/workflow.htm#BABDDIAJ
You can then use one of the callback from the Human Task to update the task's priority or assign it to different users.
Hope that helps.
Regards,
Sidda.

Similar Messages

  • BPEL Test waits forever to receive callback from human task service

    Hi,
    I've created a test (CreditCardInvalidTest.xml) to test a bpel process (testbpel.bpel) which contains a call to a human task service. The problem is when the test executes it waits forever to receive the response message from the human task service but clearly i've emulated it! Would appreciate help.
    I've attached both files and highlighted the relevant sections. Thanks.
    testbpel.bpel
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>*
    </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <--- it waits FOREVER at this bit to receive the approverResponse.xml :s
    <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    RaviKiran,
    I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
    The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
    The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
    The problem for my understanding is that some of those behaviors were not so cleared until now.
    Arik

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

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

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

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

  • Test waits forever for a callback from a human task

    Hi,
    I've create a test to test a BPEL process. Now within the BPEL process there is a call to a human task service. I've emulated the task initiation message which is fine. I also tried to emulate the receive message from the human task service but during the test execution, the test waits forever to receive the callback from the human task service, even though i've specified the return message. Would appreciate help with this! I've posted my testbpel.bpel and the test case (CreditCardInvalidTest.xml) below. For both these files I've highlighted in bold the relevant bits of code that's giving me problems. Thanks
    testbpel.bpel:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>* </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml:
    <?xml version='1.0' encoding='utf-8'?>
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    Hi hi, on a hunch I previewed the page in the browser, and copy pasted the faces/untitled1 portion of the URL there and pasted on the http://<server_address>:8001/BasicAPPDemo_Root therefore ending with http://<server_address>:8001/BasicAPPDemo_Root/faces/untitled1 and lo and behold I saw the little text box saying "Hello World" ;D
    So with that i escalated, switched to the application where the page from BPM was located, deployed it and did the same trick.
    But it borked it gave this error:
    JBO-29115 Unable to construct the error message due to error java.lang.NullPointerException. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-.
    I figured that the Default generation could be faulty so i created a new page and only recycled the data controls, created everything in read mode, just to test and deployed, when i tested, i was optimistic as the 1st tab didn't had any error (also does not have anything related to the HumanTask, even the data controls) the problem was in the other tabs as I show here.
    Many thanks sirs, and sorry for wasting thy time.

  • I require a Human Task allowing a null, updatable, payload parameter

    Hello, I hope to get help here for I have been stuck for a while.
    I am developing a BPEL process for employee Onboarding. Several of the Human Task forms contain parameters, like Address2, MIDDLE_NAME, etc, which it is perfectly all right for the parameter to have no value. For my exerts below I will use the MIDDLE_NAME parameter.
    Below is my error message, the assign which is throwing the error, the schema definition DetermineLocation_ht_payload.xsd, and the task definition file DetermineLocation_ht.task
    I have tried various permutations and locations of MinOccurs and nillable. I find it hard to believe that this is such an abnormal requirement, to allow a null element in a Human Task. I am obviously missing something fundemental.
    TheseTask Forms should present data to a user, and allow them to edit the updatable data and Approve. Even the non-updatable elements throw the error if null. Everything else in my process works fine: if I use a single character like a "~" or something when initiating from BPEL Console, all works fine. I hate to use a '~' or something for a "filler", seems so bogus.
    Can someone please help me? I would appreciate it greatly. Thank you in advance.
    Richard
    ERROR MESSAGE
    [2009/04/03 14:27:16] Error in evaluate <from> expression at line "1212". The result is empty for the XPath expression : "/task:task/task:payload/task:EMPLOYEE_MIDDLE".less
    oracle.xml.parser.v2.XMLElement@12cb5f1
    [2009/04/03 14:27:16] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    -<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/task:EMPLOYEE_MIDDLE" is empty at line 1212, when attempting reading/copying it.
    Please make sure the variable/expression result "/task:task/task:payload/task:EMPLOYEE_MIDDLE" is not empty.
    </summary>
    </part>
    </selectionFailure
    ASSIGN CODE
    <copy>
    <from variable="DetermineLocation_ht_1_globalVariable"
    part="payload"
    query="/task:task/task:payload/task:EMPLOYEE_MIDDLE"/>
    <to variable="ReceiveRead_iv" part="Root-Element"
    query="/ns2:Root-Element/ns2:Emp/ns2:EmpMiddle"/>
    </copy>
    DetermineLocation_ht_payload.xsd
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <schema targetNamespace="http://xmlns.oracle.com/bpel/workflow/task" xmlns:tns="http://xmlns.oracle.com/bpel/workflow/task" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <complexType name="payloadType">
    <sequence>
    <element name="RECRUITER" type="xsd:string"/>
    <element name="RECRUITER_FIRST" type="xsd:string"/>
    <element name="RECRUITER_LAST" type="xsd:string"/>
    <element name="SPACE_ADMIN" type="xsd:string"/>
    <element name="EMPLOYEE_NO" type="xsd:string"/>
    <element name="EMPLOYEE_FIRST" type="xsd:string"/>
    <element name="EMPLOYEE_MIDDLE" type="xsd:string"/>
    <element name="EMPLOYEE_LAST" type="xsd:string"/>
    <element name="START_DATE" type="xsd:string"/>
    <element name="GENDER" type="xsd:string"/>
    <element name="SL_OFFICE" type="xsd:string"/>
    <element name="ASSIGNMENT" type="xsd:string"/>
    <element name="PROJECT_MANAGER" type="xsd:string"/>
    <element name="COMPANY" type="xsd:string"/>
    <element name="BUSINESS_GROUP" type="xsd:string"/>
    <element name="WORKGROUP" type="xsd:string"/>
    <element name="SUPERVISOR" type="xsd:string"/>
    <element name="LOCATION" type="xsd:string"/>
    </sequence>
    </complexType>
    <element name="payload" type="tns:payloadType"/>
    </schema>
    DetermineLocation_ht.task
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <taskDefinition targetNamespace="http://xmlns.oracle.com/DetermineLocation_ht" 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"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath">
    <name>DetermineLocation_ht</name>
    <id>${domain_id}_${process_id}_${process_revision}_DetermineLocation_ht</id>
    <title>Determine Location</title>
    <priority>3</priority>
    <process processId="" processVersion=""/>
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration>
    <owner>bpeladmin</owner>
    </globalConfiguration>
    <participants isAdhocRoutingSupported="false">
    <participant name="Assignee1"
    skipCondition="string-length(/task:task/task:payload/task:LOCATION) > 1">
    <resource isGroup="false" type="XPATH">/task:task/task:payload/task:SPACE_ADMIN</resource>
    </participant>
    </participants>
    <onErrorParticipant>
    <resource isGroup="true" type="STATIC">FINALAPPROVERS</resource>
    <resource isGroup="true" type="STATIC">oc4j-administrators</resource>
    </onErrorParticipant>
    <notification includeTaskAttachments="false" actionable="false"
    secureNotifications="false">
    <reminder relativeDate="ASSIGNED" reminderDuration="P1DT"
    recurrence="2"/>
    <action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('<table width="100%">
    <TR BGCOLOR=#ededed HEIGHT="100">
    <td>Attention,<br><br>'), /task:task/task:payload/task:EMPLOYEE, string(' has been assigned to '), /task:task/task:payload/task:ASSIGNMENT, string('.  Please click on the link below to enter the location for this new employee.<br><br><br>
    Sincerely,<br><br>
    The BPEL Onboarding Business Process</td></tr></table>'))]]></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>APPROVE</outcome>
    </outcomes>
    <restrictedActions/>
    <payload xmlSchemaDefinition="DetermineLocation_ht_payload.xsd">
    <messageAttribute name="RECRUITER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="RECRUITER_FIRST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="RECRUITER_LAST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SPACE_ADMIN" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_NO" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_FIRST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_MIDDLE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_LAST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="START_DATE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="GENDER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SL_OFFICE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="PROJECT_MANAGER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="COMPANY" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="BUSINESS_GROUP" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="WORKGROUP" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SUPERVISOR" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="LOCATION" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="true"/>
    </payload>
    <bpelEventListener>false</bpelEventListener>
    </workflowConfiguration>
    </taskDefinition>
    Edited by: rsuchoza on Apr 3, 2009 2:58 PM

    Hi
    Try to make the <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    to
    <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="true"/>

  • Deadline of Human task

    hello ,
    I follow the API using the XPath in deadline of Humantask:
    xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),concat('PT',string(/task:task/task:payload/ns1:Task/ns1:expiryDay),'D'))
    it means the duration will be base on the days number input from client (/task:task/task:payload/ns1:Task/ns1:expiryDay)
    but after deploy on server the test get error:
    Error in routing slip. The expiration specified in the routing slip could not be evaluated. The error is java.lang.IllegalArgumentException: . The routing slip is associated with the task definition default/Sample!1.0*soa_24a7ee84-c5f5-4332-8c74-4ca463d384ff/Audit. Make sure that the expiration duration is specified correctly. The value should conform to XML duration specifications.
    how can i solve it. thanks very much.
    Regards,
    Tang
    Edited by: 901572 on Dec 16, 2011 12:23 AM

    Human Tasks have "Escalate After " feature built-in. In the human task editor, you can specify the escalation time (either fixed or as variable -based on an expression) in the "Expiration and Escalation Policy" section. Refer to : http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/workflow.htm#BABDDIAJ
    You can then use one of the callback from the Human Task to update the task's priority or assign it to different users.
    Hope that helps.
    Regards,
    Sidda.

  • Human task callback error.

    We create a human task end add code to assign human task to a user.
    We want to catch and use additional operation when task assigned.
    But even we assign task to a user onTaskUpdated event triggeed against onTaskAssigned
    How can we correct this error.
    Thanks.

    The following is the reassignment task messege.
    why is it couses ontaskupdate fires?
    <?xml version="1.0" encoding="UTF-8" ?>
    - <taskUpdatedMessage xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <action>REASSIGN</action>
    <updatedBy>B60712030</updatedBy>
    - <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>Bim Görev40555</title>
    - <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    - <bim_gorevProcessRequest xmlns="http://xmlns.oracle.com/bim_gorev">
    <ns1:GorevId xmlns:ns1="http://xmlns.oracle.com/bim_gorev">40555</ns1:GorevId>
    <ns1:iskiGorevId xmlns:ns1="http://xmlns.oracle.com/bim_gorev">40555</ns1:iskiGorevId>
    <ns1:NextUser xmlns:ns1="http://xmlns.oracle.com/bim_gorev">B60711410</ns1:NextUser>
    <ns1:NextGrup xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    <ns1:TalepEdenUserId xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    <ns1:TalepTarihi xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    <ns1:BitenIsYuzde xmlns:ns1="http://xmlns.oracle.com/bim_gorev" />
    </bim_gorevProcessRequest>
    </payload>
    <taskDefinitionURI>http://vms:8888/orabpel/default/bim_gorev/1.2/BimGorevHumanTask/BimGorevHumanTask.task</taskDefinitionURI>
    <ownerUser>bpeladmin</ownerUser>
    <priority>3</priority>
    <identityContext>jazn.com</identityContext>
    - <processInfo>
    <domainId>default</domainId>
    <instanceId>10027</instanceId>
    <processId>bim_gorev</processId>
    <processName>bim_gorev</processName>
    <processType>BPEL</processType>
    <processVersion>1.2</processVersion>
    </processInfo>
    - <systemAttributes>
    <assignedDate>2008-05-14T08:37:58.930+03:00</assignedDate>
    - <assigneeUsers>
    <id>B60711410</id>
    </assigneeUsers>
    <createdDate>2008-05-14T08:37:58.930+03:00</createdDate>
    <digitalSignatureRequired>false</digitalSignatureRequired>
    - <fromUser>
    <id>B60712030</id>
    </fromUser>
    <hasSubTasks>false</hasSubTasks>
    <inShortHistory>false</inShortHistory>
    <isGroup>false</isGroup>
    <numberOfTimesModified>5</numberOfTimesModified>
    <passwordRequiredOnUpdate>false</passwordRequiredOnUpdate>
    <pushbackSequence>-1</pushbackSequence>
    <secureNotifications>false</secureNotifications>
    <state>ASSIGNED</state>
    <substate>REASSIGNED</substate>
    <taskId>0d520f0e3c7afdaf:45b85ed5:119bd8836aa:-72ee</taskId>
    <taskNumber>10116</taskNumber>
    - <updatedBy>
    <id>B60712030</id>
    </updatedBy>
    <updatedDate>2008-05-14T08:41:09.765+03:00</updatedDate>
    <version>5</version>
    <versionReason>TASK_VERSION_REASON_REASSIGNED</versionReason>
    <taskDefinitionId>default_bim_gorev_1.2_BimGorevHumanTask</taskDefinitionId>
    <taskDefinitionName>BimGorevHumanTask</taskDefinitionName>
    </systemAttributes>
    <systemMessageAttributes />
    <callback />
    <identificationKey>40555</identificationKey>
    </task>
    </taskUpdatedMessage>

  • Oracle BPM Human Task

    Hi All,
    I have a requirement like this-
    I want to call a java webservice to update some record in DB whenever user selects reassign option from Task Actions on ADF Form.
    Once the user will select a user to whom he wants to reassign the task and after clicking OK button that webservice should get.
    Can you please guide me how to call a webservice inside  a HUMAN Task.
    Thanks in advance,
    Any Help would be Highly appreciated.

    Yes Sir right, I tried this but when i am reassigning, flow is not coming out of the human task and also i am not getting the outcome on which i can apply condition on gateway .
    Please find my Payload below after i perform reassign action:
    Payload XML:
    <auditQueryPayload  auditId="51145"  ciKey="340007">
    <serviceInput>
    <element  name="payload"  isBusinessIndicator="false">
    <value>
    <initiateTask>
    <task>
    <payload>
    <docName>54</docName>  
    <mimeType>45454554</mimeType>
    <docURL>54</docURL>
    <receivedFrom>إداره البحوث و الدراسات</receivedFrom>
    <securityType>سرى</securityType>
    <correpondenceSubTypeofDocument/>
    <correpondenceSubType/>
    <correpondenceTypeofDocument/>
    <correpondenceType/>
    <docType>rerfedecx1</docType>
    <sectionhead>قسم التطبيقات</sectionhead>
    <PriorityOut>P0Y0M3DT0H0M0S</PriorityOut>
    <forwardToDept/>
    <Priority>متوسط</Priority>
    </payload>
    <attachment>
    <mimeType/>  
    <name/>
    <URI  xsi:type="def:string">54</URI>
    <attachmentScope>Task</attachmentScope>
    </attachment>
    <processInfo>
    <instanceId>340007</instanceId>  
    <processId>DocumentManagementProcess</processId>
    <processName>DocumentManagementProcess</processName>
    </processInfo>
    <systemAttributes>
    <activityName>Review the Document and Metadata-Director</activityName>  
    <activityId>ACT10502783848343</activityId>
    <thread>0</thread>
    <parentThread>-1</parentThread>
    <swimlaneRole>Director</swimlaneRole>
    </systemAttributes>
    <systemMessageAttributes>
    <textAttribute7  xsi:type="def:string">متوسط</textAttribute7>  
    </systemMessageAttributes>
    </task>
    </initiateTask>
    </value>
    </element>
    </serviceInput>
    <dataState>
    <dataObject  name="expOutcome"  isBusinessIndicator="false">
    <value>
    <expOutcome  xsi:type="def:string"/>  
    </value>
    </dataObject>
    <dataObject  name="forwardToDept"  detailId="40026"  isBusinessIndicator="false">
    <value>
    <forwardToDept  xsi:type="def:string"/>  
    </value>
    </dataObject>
    <dataObject  name="outcome"  detailId="40027"  isBusinessIndicator="false">
    <value>
    <outcome  xsi:type="def:string"/>  
    </value>
    </dataObject>
    <dataObject  name="Priority"  detailId="40028"  isBusinessIndicator="false">
    <value>
    <Priority  xsi:type="def:string">متوسط</Priority>  
    </value>
    </dataObject>
    </dataState>
    </auditQueryPayload>

  • Human Task & Notification Services

    Hi! i have a little question about Human Task and Notification Services.
    I have a Human Task with an outcome OK/CANCEL actions, reading the 10.1.3 Dev Guide chapter 15 about notification services, i found an excellent feature i want to use, in the task definition if i mark the "make email messages actionables" checkbox, the user assignee to the task will receive an email with the two outcoume options of the task, the OK/CANCEL already defined, i need to change the wf_config.xml to define <actionableEmailAccountName> tag to configure this functionality, but there is no documentation about how to configure this file, and checking the checkbox there is no changes on the mail message sent to the user, checking or not the option i always get the same email with two attachments, one with a link to the worklist and another one with the payload of the task.
    How can i configure the mail notification to enable the links to my outcome actions?
    any help, advice and guide is welcome!!!
    best regards and blesses!

    Hi Ravikumar! thanks for the reply.
    the email account configured in both files are functional, these are my pop/smtp mail accounts, and the checkbox is marked, but still not workling, i´m still receiving a mail with two attachments, one with the generic message and the other with the payload.
    these are my conf files:
    ns_email.xml
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>TEST MAIL</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>mail.cantv.net</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>pop.cantv.net</Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>develc014</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">*********</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    wf_config.xml
    <workflowConfigurations
    xmlns="http://xmlns.oracle.com/pcbpel/humanworkflow/configurations"
    xmlns:user="http://xmlns.oracle.com/bpel/workflow/userMetadata">
    <taskAutoReleaseConfigurations>
    <taskAutoRelease priority="1" default="P1D" percentageOfExpiration="30"/>
    <taskAutoRelease priority="2" default="P2D" percentageOfExpiration="40"/>
    <taskAutoRelease priority="3" default="P3D" percentageOfExpiration="50"/>
    <taskAutoRelease priority="4" default="P4D" percentageOfExpiration="60"/>
    <taskAutoRelease priority="5" default="P5D" percentageOfExpiration="70"/>
    </taskAutoReleaseConfigurations>
    <worklistApplicationURL>http://bpeldev.SRVBPEL.COM:80/integration/worklistapp/TaskDetails?taskId=PC_HW_TASK_ID_TAG</worklistApplicationURL>
    <actionableEmailAccountName>[email protected]</actionableEmailAccountName>
    <pushbackAssignee>INITIAL_ASSIGNEES</pushbackAssignee>
    <assigneeDelimiter><![CDATA[,]]></assigneeDelimiter>
    <shortHistoryActions>
    <action>ACQUIRE</action>
    <action>INFO_REQUEST</action>
    <action>INFO_SUBMIT</action>
    <action>RELEASE</action>
    </shortHistoryActions>
    <workflowServiceSessionTimeoutInMinutes>60</workflowServiceSessionTimeoutInMinutes>
    <user:ruleRepositoryInfo>
    <user:ruleEngine>ORACLE</user:ruleEngine>
    <user:repositoryLocation>WFRepository</user:repositoryLocation>
    <user:dictionaryName>WFDictionary</user:dictionaryName>
    <user:reposProperty name="reposType">jar</user:reposProperty>
    </user:ruleRepositoryInfo>
    <property name="worklist.redirectpage" value="TaskDetails" />
    <property name="worklist.loginpage" value="Login.jsp" />
    <property name="worklist.errorpage" value="Error.jsp" />
    </workflowConfigurations>
    i can not found the chapter/sections you mention in the post, in dev guide the chapter 15 doesnt have a 79 section! there is an image with this number i saw it yesterday reading the guide, and i dont know where is the admin guide, in the documentation library there is not an admin guide for bpel, at least i dont see it!!!
    thanks again for the reply, hope you can help me with this...
    best regards and blesses!

  • Invoking Web Service from BPEL PM Human Task

    Hello,
    I have done the following tasks
    Create a BPel PM , Add a Human task and customized it.
    Create a Web service Proxy and Generate a Jar File from that classes like "wsCallRegions.jar".
    First issue : Where can i put my Jar File ? i don't have any WEB-INF\lib directories to add this Jar to my Webcontent on the human Task.
    Second Issue : I imported the library and all dependencies Using Jdev / import Libraries tool. But when i try to call this Web service in my Paylod-body.jsp say it does´t find the class of WS that i´m using ( I can rebuild it with no errors and deploy it to the server ), this just happen when load the payload-body.jsp page customized.
    How can i make my ant deployment description to load a Lib directories or add this jar to my human task customized ??
    can somebody help me please ?
    Many Thank,
    Vitor

    The problem is that now, with Weblogic Server the project is divided in two...
    And the import goes with the BPEL.JAR and not with EAR files to Weblogic SoaDomain.
    Someone knows where I can find some documentation about this issue ? This maybe could be a "bug" when deploying Human Tasks to Weblogic Appserver ?
    Thanks

  • Creation an ADF Task Flow Based on a Human Task

    Hello!
    While creating ADF Task Flow Based on a Human Task, I can't bind New TaskFlow to task, which I choose in Dialog.
    Details:
    I Have:
    BPM Project with PackageCreation.task
    ADF Project in Same Application
    I do:
    1. in Application Navigator right click on ADF Project -> New -> Web Tier -> JSF -> ADF Task Flow Based on a Human Task
    in creation Dialog I choose PackageCreation.task and Don't change name of New TaskFlow (automatically JDeveloper set this name to PackageCreation_TaskFlow)
    I have After that:
    new ADF Task Flow and my old PackageCreation.task.
    Question:
    Why my Task don't bind to created ADF task Flow based on it?
    I think, that while creating ADF Task Flow Based on a Human Task it has to change my task, writing some thing like This (inside xml):
    <taskFlowFileLocation>file:/D:/JDeveloper/mywork/SalesQuoteLab/EnterQuoteUILab/public_html/WEB-INF/EnterQuoteDetails_TaskFlow.xml</taskFlowFileLocation>
    That xml element is creating in xml of *.task, while making auto-generation form for human task in BPM Project.

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • Unable to deploy BPM projects with human tasks from BPC

    I’m trying to edit and deploy a BPM process from Business Process Composer (web based tool). To do it, I followed the steps below:
    1.     I created I project in JDeveloper
    2.     I created the Human task from using the “Auto-generate task form” option
    3.     I converted it to a template
    4.     I published it to BPM MDS
    5.     On Business Process Composer I created I new project based on my published template
    6.     And I finally I deployed it with no errors.
    When I ran the BPM it creates I human task but I’m not able to access its form on Business Process Workspace.
    On Business Process Workspace I can see the task created by my BPM process, but when I click on it to access its form I get a 404 message (message below).
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I think this error occur because my Task form project was not deployed. To fix it I undeployed all the applications and then I deployed the BPM application with all its tasks forms from JDeveloper. It worked fine (I can actually access the task form on Business Process Workspace), but now I’m not able to edit the BPM process on Business Process Composer anymore.
    Then I finally repeated the steps 3 to 6 on top of this post in order to make the BMP process editable on Business Process Workspace but this time I receive the error at the end of this post taken from server log.
    No matters if I publish the project on MDS BMP repository as a template project or as non template project. I always have the same problem.
    So, how can I use a BPM project that contains Human Tasks forms on Business Process Composer?
    I’m using:
    •     JDevelopper: 11.1.1.5
    •     Oracle Soa Suite 11.1.1.5
    Error:
    <Error> <ServletContext-/soa-infra> <AUSDCCMTPRF03> <soa_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <daba687c30fc2ae1:5f5821e2:131915bbc92:-8000-000000000001c442> <1312478914395> <BEA-000000> <Error during deployment
    oracle.fabric.common.FabricException: Deployment Failed: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:62)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:378)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:226)
    Caused By: oracle.fabric.common.FabricException: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:244)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
    Caused By: oracle.fabric.common.FabricDeploymentException: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    {rootCauses=[]}
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:908)
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:368)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:239)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.

    I came across the same issue, and now resolved it like this.
    Firstly, you shouldn't deploy QuoteProcessLab with other UILabs like ApproveDealUILab and so on. So, if you already did it, then go to Weblogic EM and undeploy it.
    Secondly, you should deploy each of UILab separately as standalone application. So, deploy EnterQuiteUILab, BUsinessPracticesUILab, and so on each. These will run independently behind and when your project created based on template in the Composer runs, it will link each of these on human task.
    Thirdly, publish you QuoteProcessLab. And follow the book about how to create a project based on template in the Composer.
    Just one thing you should be careful with is, when you do auto-generation for human task, it sometimes doesn't work fully, unfinished halfway through. So, make sure that the icon 'go to existing business form taskflow' in .task file takes you to the human taskflow.
    If it fails, do another auto-generation. Sometimes DataBindings.cpx can get corrupted by JDev, but let's not go too far for now.
    Mostly, it will work.
    Sung

  • How to open and navigate between human task forms in a same page?

    Hi
    I use Oracle BPM 11.1.1.5
    I have a question about taskflows in BPM Application.
    In ADF web application, I create a sipmle task flow and insert view id and bind these to jspx pages, my pages are opend in same page when
    return an outcome.
    For exapmle I have three pages like A,B,C.
    In task flow, insert three view ids and bind to A,B,C.
    My first pages is A, and when outcome is B navigate to B, when my outcome is C then navigate to C in a same page not separate pages.
    But my problem is here.. in BPM Application when create task forms, every task has a separate task flow that there exist a single view id and a wild card flow in it.
    In BPM workspace when initiate human task form is closed, I should press refresh button to see next human task form in task list table.
    I tried to create a simple task flow and insert human task forms in it and navigate between these.. but show human task form in wrong display and don`t show some component and human task payload.
    Now, my question : How to open and navigate between human task forms in a same page like software installation?

    Having a separate Data Control for each human task is normally the case. There is a way to assign multiple human tasks to a single data control (and one task flow), but I don't think that this is going to help you with what I think you're trying to do.
    If your human task is called "EmployeeDetail", then you'd use the data control associated with this for the UI pages in the task flow diagram that is associated with this human task. For example, you might have a first page that has just the basic employee information - the fields (at least the ID field) would come from the EmployeeDetail data control. When the end user clicks "Next", you might have this UI page flow to a second UI page in the task flow diagram that has the employee's address information. You might place the address fields from the EmployeeDetail data control onto this second UI page.
    You might be asking how the work item instance can automatically flow to the next interactive activity in the process while staying inside the first interactive activity's human task's task flow diagram. This is not how it works - the task flow diagram models the end user interaction while inside a single human task that is tied to a specific interactive activity in the process. If you want a the end user to be able to move the instance through multiple interactive activities in the process in one interaction, look at "Activity Guides". Activity Guides do a nice job of this.
    Dan

  • ADF forms based on BPM human tasks - Invoking webservices/view objects.

    Hi All,
    Is anyone aware of whether the following is a valid implementation that has been carried out before.
    1. ADF forms based on BPM 11G human tasks.
    2.The ADF forms invoke webservices via Webservice data controls. It is pertinent to note that the webservice bring back complex data types. We've tried writing a few forms, resulting in data benig brought back, but not being able to print them to the screen.
    3. The ADF forms also use View Object based on sql to bring back tables of data. If view objects are embedded within the forms, the applciation gives rise to a null pointer exception.
    Considering the form will be invoked via a BPM worklist entry, is there a setting or configuration we should consider before hand. Is this feasible, is there knowledge of this being done commercially.
    Any examples or information regarding the same will be immensely helpful.
    Thanks and Regards,
    Preethi.
    NB : I have posted this in the BPM forum as well as I feel it is relevant to both BPM and ADF.

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

Maybe you are looking for

  • ORA-03172

    I am trying to migrate a database from Oracle 7.3.3 to Oracle 8.1.6. I used ODBC to access the 7.3.3 database from my application, using Intersolve's ODBC driver. When I migrate to Oracle 8, I want to use Oracle's ODBC driver. The application is writ

  • Bluetooth connection problem

    Using Jabra EASYCALL Bluetooth headset, but connection is working unreliable: Sometimes in the middle of the talk party is unable to hear me, I still could hear party. In this case party usually ends conversation, and then we do call again, and after

  • Yahoo!!!????!!!

    CAN ANNNNYONE TELL ME!!!!?? WHY IS MY YAHOO MAIL COMING SOOO LATE...SOMETIMES ITS 15MIN, 30MIN....EVEN 2 HRS!!!! I DELETED THE ACCOUNT 1000000000X AND STILL LATE....THIS IS MY 3RD APPLE IPHONE....I LOVEEEEE APPLE/MAC BUT I NEED MY EMAILS ON TIME...TH

  • Photos not deleted

    I have duplicated an iPhoto library and slimmed it down by deleting all that I don't need for a specific slideshow so that I can copy it between machines and select or edit it as required. The photos that I need come to about 8GB. I noticed that the

  • DC input board same for 1GHz and 1.5GHz, 15 inch Aluminum?

    Are DC input boards the same? Does anyone know if I can use a DC input board from a 15 inch, 1Ghz Aluminum Powerbook in a 15 inch, 1.5Ghz Aluminum Powerbook? I bought an aluminum Powerbook, 15 inch, 1.5GHz with a non-working DC input board. (It's the