Configuring Callbacks in BPEL Human Task

Hi,
I'm trying to configure a callback on OnTaskAssigned ,OnTaskUpdated in human workflow.
I defined my custom java class implementing IRoutingSlipCallBack Interface (I also tried with ITaskServiceCallBack) in the .task file and also enabled callback in BPEL activity.
I tried modifying some attributes (like title and comments) of the task to see if my callbacks are really being called. however i see no changes made by me are reflected.
Am I missing some steps here ?
Thanks in advance
Pradeep

There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
hth.

Similar Messages

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

  • BPEL Human task Tutorial 10.1.3.5 SOA

    Hi,
    I have been tasked with setting up an example of BPEL human task workflow working on SOA application server 10.1.3.5.
    Does anyone have any examples of this? I would prefer something that is stand-alone and not dependent on other creations or deployments. I found one for 11g however I need to have it used on SOA app server, not WebLogic. I wouldn't mind following this guide below, but I am unable to find out how to use JDev11g to deploy on SOA 10g app server.
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10275/intro.htm
    Thank you for any help / support.
    Mike

    Hi,
    Thanks for that. In here is what I found on the web also, OrderBooking which is a large application. The 11g example just streamlines the process with just the BPEL "human task" example which is what I was tasked to do.
    Thanks though

  • How to configure "permitted actions" on bpel human task

    Hi,
    I trying to call suspendTask at human task from bpel. I get this message
    "Permitted actions are: [VIEW_SUB_TASKS, VIEW_PROCESS_HISTORY, RESUME, VIEW_TASK, WITHDRAW, VIEW_TASK_HISTORY]"
    Where i configure this "permitted actions" ?
    Thanks
    Victor Jabur.

    Go to the composite editor -> open the human taskflow component --> Access Tab ---> Actions ---> Give the access to the Approver
    Ajay

  • Problem in BPEL Human task

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

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

  • Invalid XML Document in BPEL Human Task - TaskService

    Hi Experts
    I am getting the following run time error in BPEL console in my bpel process which has got a human task.
    ==================================================================
    Invalid xml document.*
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'dateTime'.*
    Error::cvc-type.3.1.3: The value '' of element 'expirationDate' is not valid.*
    Please make sure that the xml document is valid against your schemas.*
    ==================================================================
    BPEL console is validating all incoming and outgoing XML document against the relevant schema since the configuration property, validateXML has
    set to strict in the BPE console domain, which it has to be.
    This complain is regarding the element expirationDate in the response message of the human task, which cannot be explicitly set in the bpel process.
    Please help me to resolve this issue.
    Thanks
    Jamith

    Hi
    This has been escalated to Oracle and has been identified as a bug.
    Anyway, can you please explain bit more about you workaround?
    Thanks
    Jamith

  • Missing Task Outcomes in ADF Project for BPEL Human Task

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

    Hi
    I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
    My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
    When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
    I have tried re-building the ADF project from scratch from the task flow but still no joy.
    I have not changed the ADF project over its default.
    My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
    Any assistance greatly appreciated.

  • Using systemMessageAttributes in BPEL Human Task

    Hi All,
    How can I use systemMessageAttributes: task:textAttribuite1 in human task.
    After creating a HT in BPEL, I am setting its outcome - rejecting or approving the task- using worklist Java API.
    Along with that I want to set the textAttribuite1 through API and then use these attributes inside the corresponding BPEL process after the task is completed?
    I tried using
    taskimpl.getSystemAttributes();
    SystemMessageAttributesType sysMessAttType = taskimpl.getSystemMessageAttributes();
    sysMessAttType .setTextAttribute1("check");
    After retrieving the task using taskId, however I am unable to set these attributes.
    Please let me know!
    thanks,
    CD2006

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • BPEL Human Task: how to remove task details section from notification email

    This is concerning the human task component of SOA Suite 11g. Upon task assignment, the assignee receives an email notification with an administrator configured text. Below this text the task details are automatically added. How can this be removed? Marking the notification as 'secure' also removes the administrator configured text. But that I'd like to keep. Only the automatically added task details section needs to go. Any hints?

    This configuration is available in the following navigation. Workflow Administrator Web Applications > Oracle Applications Manager > Workflow Manager > Service Components > Workflow Notification Mailer > Edit > Advanced > Message Generation section > Templates. You can refer to the "Oracle Workflow Administrator's Guide" > "Modifying Your Message Templates" for more information.
    Please note that this applies to ALL the outbound notifications, not specific for Purchasing notifications.

  • Bpel human task custom jsp not run

    hi i am use bpel 10.1.3.1 and oas 10.1.3 made a simple bpel process with a human task but the custom jsp generated not run from the url , and i recieve that message
    "Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response"

    The issue was with the way I was passing parameters. I was passing the the task namespace in update mode which is not required.

  • How BPEL human task becomes to state 'Withdrawn'

    All,
    what causes human task to go to 'Withdrawn' state. The reason i know is deleting associated bpel process.
    Are there any other events which causes this ?
    Regards,
    Praveen

    Go to the composite editor -> open the human taskflow component --> Access Tab ---> Actions ---> Give the access to the Approver
    Ajay

  • "request more info" "Submit info" in bpel human tasks functionality

    Hi all
    i have a 5 steps approval process. We want the task to return to first approver from any of these steps. For example if the 3rd approver sends it back, the 1st approver will have the task again and when he/she approves it will go on with 2nd approver in the next step (not the 3rd one)(1-->2-->3-->1-->2-->3-->4...). So i thought that "request info" will fit this requirement but it returns to the 3rd one after info is submitted by 1st one(i checked reapproval needed).
    So do you know if it is a bug or expected behaviour? And what else can you suggest to provide a solution?
    Thks

    any solution or idea?

  • BPEL Human Task Claim functionality Understanding

    Hi all,
    On a task with multiple assignees, it appears that each assignee has to claim the task before completing it. Some queries that I had on claim functionality -
    1. Is there a way by which we can avoid the process of 'claiming' the task before completing?
    2. Is there a way programmatically to release the claim? I saw releaseTask() API in TaskService class - but I observed that if a task has been claimed by an assignee - other assignees are unable to release this task. Any suggestions here?
    Thanks,
    Srini

    Hi all,
    On a task with multiple assignees, it appears that each assignee has to claim the task before completing it. Some queries that I had on claim functionality -
    1. Is there a way by which we can avoid the process of 'claiming' the task before completing?
    2. Is there a way programmatically to release the claim? I saw releaseTask() API in TaskService class - but I observed that if a task has been claimed by an assignee - other assignees are unable to release this task. Any suggestions here?
    Thanks,
    Srini

  • Human task as first step of a BPEL process

    Hello every one, thanks in advice for your replays,
    My version is Oracle BPEL Process Manager 10.1.3.1.0. I've tried the search but didn't find satisfying answer.
    First I will try to describe use case I'm trying to solve using BPEL and standard bundled Worklist App.
    I have defined a fairly straight human-centric process witch should be initiated by human data entry or (XOR) by input message (WS call) from third party application. I've read the documentation but haven't find any way how to define BPEL human task that will instantiate the process. In other words is it possible to create human task with form and use this task/form as an process initiator in Worklist App ?
    I'm aware that i can create an external form (not BPEL human task form) witch can be embedded in Worklist App and call the engine JAVA API. But this is no the case since i will have to manage the two independent components of my single business process - keeping them in sync.
    I don't think that initiating a process an then picking the first step from a queue to entry form data is elegant ant efficient solution (maybe my view is influenced by other BPM product i was working with).
    Also since it is a micro project i cant afford writing my own Worklist App with dynamic form binding.
    So friends please help with your ideas and solution's
    Kind Regards,
    Michal

    Eric, hope it's not because my english..
    Standard BPEL process is usually initiated by client HTTP/SOAP call which passes initial set of data to process (i.e Oracle BPEL Console Dashbord Post XML Message functionality, or some third party application WS call with process data). Oracle BPEL Console generates form based on BPEL Process WSDL, thats great for ad hoc testing but i need bit more.
    I' would like to have a functionality that will dosimilar stuff as Console but in a worklist application further more I would like to have a way to define the form of this firs step and have that definition with my BPEL process project in JDeveloper.
    Business case for such need is as follows:
    + Greenfield process area
    + No application supporting those processes
    + No know other rigger then phone call or fax

  • How BPEL refers to human task form application during runtime ?

    Hi All,
    I have worked on coulple of 10g BPEL human tasks and I remember '.tform' file used to capture
    task display jsp application url
    content of tform file
    <template>${http_url}/${domain_id}/BPEL_PROCESS/1.0/Task Form/Task Form.jsp</template>
    I am looking for help on how same is achieved in 11g
    in Nutshell,
    How does 11g bpel knows which task form it has to invoke?
    Thanks,
    Praveen

    Hi Praveen
    If you already have a bpm/bpel application in soa 11g, open that in JDeveloper and serach for the file named hwtaskflow.xml. This file will be under your taskforms project -> Application Sources.
    In JDev, for each human task, there is a .task file generated with payload details, actions that task is allowed etc. We can generate taskform for this .task using autogenerte or custom. Either way the above file will have the details like the association of the actual Task and correspond taskform jspx file. If you are familiar with the ADF architecture like bindings you can understand much better.
    In EM console, click on the workflow file that is deployed under your soa_doamin. On right side, you will see list of all the human tasks and click on any human task. You will see the uri for that task. This is the reference for the deployed composite for that task. Now the above .xml file will have the exact human task name with additional information like which pageflow defintion file to invoke. All the pageflows xml files are under your taskforms\web-inf folder.
    See the below link for more details:
    http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10224/bp_designtf.htm#CHDIFHIJ
    see the section named "28.3.3 What Happens When You Create an ADF Task Flow Based on a Human Task".
    Thanks
    Ravi Jegga

Maybe you are looking for

  • FIH port

    Hi! I'v got a problem with FIH port on device HP LaserJet M3035 MFP. I can't activate it. HP support in Russia can't give me any answer how to activate it. They said that it allways active. But i read on hp website this:"To test the functionality pre

  • Just download iTunes 6.0 and now it won't open

    I just downloaded the newest version of iTunes 6.0. Now iTunes will not open for me at all! When i try opening it is says an error has occurred and will close. When I click on what the error report contains it says this, AppName:itunes.exe AppVer:6.0

  • Itunes 7 smart playlists all screwed up

    so i noticed my smart playlists are all screwy with the new itunes. for example. i have my genres in different catagories like rock and rap. anytime when im editing a smart playlist and i choose an option of "this genre DOES NOT CONTAIN" it screws up

  • How can I get rid of spinning colored balls on my Desktop computer

    How can I get rid of spinning colored balls on my Desktop Mac, it is really bogging down my system.

  • Cannot install extension on Safari 6.0.5

    Please help! I cannot install any extension on Safari. I get the message "Safari could not install the extension. An error occured during the installation of the extension". I have abled the extension function in the preferences and can install exten