Human Task - Notification Setting

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

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

Similar Messages

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

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

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

  • Remove Actionable links from human task notification??

    Is posible to remove the link from the human task notification mail.
    Thanks...

    yes, if you recompile the *.jar and remove the setting "make notifications actionable" (you can find it in the human task definition)

  • Human task notification email problem

    Hi All,
    We are getting a strange error with the Human Task Notification email. All mail settings look fine, but we are receiving "Error 500 -- internal server error" in the notification email. As far as we can tell, the email is sent to the right receipt, which is specified by expression, and Worklistapp is working properly. The error is complaining that the authentication of the user "workflowsystem" fails. I believe that it's a system user, but have no idea why it fails.
    This is the notification sent to the assignee and the followings are the details of the error:
    Error 500--Internal Server Error
    javax.servlet.ServletException: javax.servlet.ServletException: java.security.PrivilegedActionException: oracle.security.jps.internal.api.jaas.AssertionException: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User workflowsystem javax.security.auth.login.LoginException: [Security:090300]Identity Assertion Failed: User workflowsystem does not exist
         at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:257)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    Thanks in advance.
    Steven

    Looks like you may be specifying ad-hoc email address (by expression) in the notification configuration, but have not configured the notification for “secure” notification.
    If the notification is actionable, then the runtime impersonates the participant to ensure that the form renders as it would in the browser. However if the configuration of recipient is ad-hoc (i.e. an email address rather than participant type) then the attempt to impersonate fails, in this case trying to be “workflowsystem” user, which isn’t a real user in the directory.
    You can send a notification to an explicit email, but the notification has to configured as secure, which means they just get a link to the task in the message body.

  • Custom ADF Taskflow to be displayed as part of Human Task notification

    Hi all,
    I am trying to display a custom ADF taskflow as part of notification of a Human Task. I see multiple ways of implementing it and need guidance on how to go about this.
    As a first step, I created a taskflow based on the human workflow task. This is WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml. Then I see 2 options -
    Option 1 - Use setTaskDisplayUrl while creating the task
    oracle.bpel.services.workflow.task.model.Task task = objectFactory.createTask();
    String AppUrl = oracle.topologyManager.client.deployedInfo.EndPointProvider.getExternalEndpoint("xyzCommon");
    String taskflowUrl = AppUrl + "/faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml";
    task.setTaskDisplayUrl(taskflowUrl);
    Option 2 - Define the taskflow in the Enterprise Manager - Add or remove the URI for the user defined task details application.
    Setup the Application Name=worklist, Host Name, HTTS Port, URL=/xyzCommon//faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml
    Questions -
    1. Are both the above options required to get my notification correct or is just one of them enough? If one of them is enough, which is better to use?
    2. Is creating the taskflow from the human workflow task the only way to customize my notification to show a taskflow?
    Thanks,
    Srini

    Learnt that I need to follow this link and no explicit setting is required in code.

  • Human task notification - Request Info

    When configuring notifications for a human task, what is the proper Recipient to set when the Task Status is "Request Info"?
    If user A requests information from user B, I want to notify user B. So would that be assignees, reviewer, or none of the above?
    Thanks!

    Hi Mike,
    Who is user B in this context. If he's the "task creator" it will be initiator.
    See a list of all possible recipients for the notification message in the developer guide :
    [28.3.10.1 Notifying Recipients of Changes to Task Status|http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_hwfmodel.htm#BABEGBAA]
    Regards,
    Melvin

  • Human task notification message configuration.

    Hi All,
    whenever any human task assignes to an user, SOA11g server sends a e-mail notification to that particular user. I need to configure/change the standard notification message with the custom message as per my poject needs. I have been trying to change the 'Notification Header' field of HumanTask file inside BPEL project from JDeveloper IDE. Now, after redeploying the solution, modified notification message is sending but, in E-mail message it is printing whole notification message in a single line, i need to print the e-mail message in the specified format. How to achieve this?.
    Thanks,
    Naga.

    Ok try this instead:-
    concat(ns0:property_name, ",", ns0:property_value,"& # 13;") (""&amp sign # 13; ) (use without spaces.)
    is supposed to add a new line .
    The trick to insert the new line character in XML payload from Oracle BPEL is to append
    in the from expression of assign activity, then check your .bpel file it would have &amp;#13; rather than
    because Jdeveloper replaces & with its equivalent escape character &amp;. You need to replace &amp; with & so it would become the correct new line character
    http://soa-howto.blogspot.com/2008/05/insert-new-line-character-in-bpel.html
    Edited by: 988445 on Jun 2, 2013 5:44 PM

  • Human task notification doesn't permits I18N?

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

    This post was deprecated,

  • Sending Human Task notification mail to a assignee not found in LDAP

    Hi All,
    I have 2 requirements:
    1. Suppose i have a HumanTask which sends a notification mail to the assignee when the task is assigned to him/her.
        In our process we are first checking if the assignee's email address is present in LDAP using the BPEL variable that holds the assigneeID.
        If it is not present in LDAP, then we are getting the email address from database before the invocation of the HumanTask.
        Now, as the emailaddress is not found in LDAP, so when the HumanTask is invoked the notification mail will not be sent to the assignee.
        So, we have used a separate email activity after the invocation of HumanTask to send the notification mail to the assignee using his emailaddress that we fetched from the database.
        I don't want to use this separate email activity and wanted to know if there is any other alternative to send the notification mail during invocation of the HumanTask using the emailaddress that
        we fetched from the database?
       Basically i want to know if there is any other way to send the notification mail when a task is assigned and the assignee's email address is not found in LDAP?
    2. Is it possible to send a Human Task's outcomes as links in an email activity body?
       Actually, i am sending a mail to a user using the email activity. Before that a HumanTask is present in my BPEL process.
       I want to send the HumanTask's outcomes as links in the email that i am sending to the user using the email activity just as they get displayed in the notification mail when HumanTask's "Make
       notification actionable" feature is selected.
    Please help me with the above requirements.
    Regards,
    Suman

    AnilB,
    Assigning a task to a user that is not in the directory will likely result in the BPM flow going into suspended state. To avoid this, assign the task to a pre-created group, you should not get an error even if the group is empty. You can then add and remove the users to that group to control access to the task.
    Phil

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

  • Human Task Notification service issues on 10.1.3.3

    Hi all,
    I am running SOA Suite 10.1.3.3 and basic workflow, routing, notifications are working fine using Jazn realm. I have the following doubts with respect to notification process:
    1. The workflow notification sent contains a notification text with links to Accept, Reject, Worklist app and the payload of the notification process as an attachment. Is this the intended functionality to have the payload as an attachment or is there a way to include the payload in the email body itself?
    2. I was able to respond back to notification through the link in the email for Approve or Reject. This sent an email to the email account as set in the ns_email.xml configuration and same account name is set as actionableEmailAccountName in the wf_config.xml file. But the workflow process is not picking up this email. Is there any other setting required for workflow to pickup this mail and process the notification to approve/reject.
    3. The links in the email are shown as below:
    Comments [[ ]]">REJECT     Comments [[ ]]">APPROVE     Worklist Application
    Any idea why we are getting the text "Comments [[ ]]">" and how can we modify it?
    --Shiv

    Thanks for the pointers Mahesh.
    My BPEL PM and POP3 servers are on different servers. So I guess symantec can't be an issue, though I have mcafee.
    Looking into domain log, I found an exception regarding the receiving account's registration. The log is as follows:
    Initializing BPEL domain from descriptor file
    "/home/orabpel/SOA/bpel/domains/default/config/domain.xml"
    <2007-09-13 16:16:56,661> <INFO> <default.collaxa.cube.engine> <gsDomainSchemaManager::validateCompatibility> Detected database version '2.0.51'
    <2007-09-13 16:16:56,661> <INFO> <default.collaxa.cube.engine> <AdaptorManager::load> Loaded adaptors for platform 'ias_10g', datasource 'oracle'
    <2007-09-13 16:16:57,051> <INFO> <default.collaxa.cube.engine> <AdapterStats::init:Done initializing Adapter statistics holder for engine > default
    <2007-09-13 16:16:57,145> <INFO> <default.collaxa.cube.engine> <FaultPolicyManager::loadFaultPolicies> Added fault policy file /home/orabpel/SOA/bpel/domains/default/config/fault-policies/DefaultPolicy.xml
    <2007-09-13 16:16:57,159> <INFO> <default.collaxa.cube.engine> <FaultBindingsManager::loadFaultPolicyBindings> Fault binding file loaded:/home/orabpel/SOA/bpel/domains/default/config/fault-bindings.xml
    <2007-09-13 16:16:57,159> <INFO> <default.collaxa.cube.engine> <CubeEngine::init>
    OraBPEL "default" BPEL domain loaded.
    <2007-09-13 16:17:21,336> <INFO> <default.collaxa.cube.services> <QuartzPublisherInit::init> Notification Retry publisher scheduled at every 15 minute(s)
    <2007-09-13 16:20:31,124> <ERROR> <default.collaxa.cube.services> <PCRuntimeException::<init>> Cannot connect to iAS Wireless notification webservice.
    <2007-09-13 16:20:31,125> <ERROR> <default.collaxa.cube.services> <PCRuntimeException::<init>> Cannot connect to iAS wireless notification webservice running at http://messenger.oracle.com/xms/webservices
    <2007-09-13 16:20:31,125> <ERROR> <default.collaxa.cube.services> <IASWDriver::loadSupportedChannels> Cannot connect to iAS Wireless notification webservice.
    <2007-09-13 16:20:31,126> <ERROR> <default.collaxa.cube.services> <IASWDriver::loadSupportedChannels> Cannot connect to iAS wireless notification webservice running at http://messenger.oracle.com/xms/webservices
    <2007-09-13 16:20:36,643> <ERROR> <default.collaxa.cube.services> <PCRuntimeException::<init>> E-mail folder does not exist.
    <2007-09-13 16:20:36,643> <ERROR> <default.collaxa.cube.services> <PCRuntimeException::<init>> E-mail folder InBox does not exist.
    <2007-09-13 16:20:36,653> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Error in registering email receiver.
    <2007-09-13 16:20:36,653> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Error while registering email receiver for the email account TaskServiceReceiving. Because of this error actionable email messages for tasks will not be received
    <2007-09-13 16:20:36,653> <ERROR> <default.collaxa.cube.services> <PCException::<init>> The error could be because of configuration of the email account. Check the configurations for the account. Also check the error stack for the cause of the exception. Contact oracle support if error is not fixable.
    <2007-09-13 16:20:36,654> <ERROR> <default.collaxa.cube.services> <TaskManager::registerEmailReceiver> Error in registering email receiver.
    <2007-09-13 16:20:36,655> <ERROR> <default.collaxa.cube.services> <TaskManager::registerEmailReceiver> Error while registering email receiver for the email account TaskServiceReceiving. Because of this error actionable email messages for tasks will not be received
    <2007-09-13 16:20:36,655> <ERROR> <default.collaxa.cube.services> <TaskManager::registerEmailReceiver> The error could be because of configuration of the email account. Check the configurations for the account. Also check the error stack for the cause of the exception. Contact oracle support if error is not fixable.
    <2007-09-13 16:20:57,423> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    Loading processes for BPEL domain "default" ...
    I'm not sure if the folder name is case sensitive or not. Still I tried with different options like INBOX, inbox, Inbox but all are giving the same exception.
    Any ideas?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • BPM human task actionable user notification email not working

    Hi ,
    I am triing to send actionable email notification to assignees through the notification tab of the human task. The email settings in the em console has done fine so that I am getting the notification email without any fail.
    But the problem over here is the actionable buttons / links (Like Approve or Reject ) are not there inside the email body.
    I have checked the make notification actionable check box in jdev human task as well as configured the actionable email address in the server em console.Still the email body is not having the action items.
    email body is here
    Task Notification PendingUser Notification requires your attention.
    Access this task in the Workspace Application
    <PendingUser Notification > above is the task title.
    Please suggest
    many many thanks
    Tuku

    Hi All,
    I got the solution for it. Now the assignee is able to get the actionable email.
    the mistake i did is during the human task notification tab configuration I have put separate email id in the recipient column of first row.You need to do is ,choose Assignees from the drop down value , check the check box make notification actionable, then set the proper email in the email attribute property of the assigned user (user creation time).
    Thanks
    Tuku

  • Bypass "Claim" action on a Human Task

    We are going to start user testing of our first BPEL process. The human tasks are set up to have a single approver, but they are assigned to a group of users. The users want to know if there is a way to by-pass having to claim the task, so that just one user could select the outcome they want without first having to claim the task. Is that possible, or must a task first be claimed by one of the people in the group before the actual outcome can be selected?
    Bonnie

    To achieve this functionality I am afraid you must modify worklist application code. I faced the same requirement some time ago, I simply modified dropdown box so that it alway displayed actions and before update on task added code that claimed task for user performing update.
    HTH,
    Rad

  • Human task escalation ERROR

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

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

  • Is there some configuration on human task to delay email generation

    We are having a requirement to send notification when some user approve a workflow request.
    on approval by one user and on being assigned to some other user we raise event using onAssigned and onComplete callback,
    these events trigger another BPEL process which modifies a table.
    In the email notification on approval we want to capture changes done by bpel called on event raised using callback.
    Is there some way we can delay email notification generation i.e wait for 15 - 20 seconds?

    Is it possible to sent email from Human Task notification to several users?
    Regards,

Maybe you are looking for

  • How do i move itunes account from one computer to another?

    I need to move my wife's itunes account from her PC to my Mac.  It will be the second itunes account on our mac.  She will long in as her own user on the mac.

  • How to Restore a file In Yosemite's Time Machine?

    Since upgrading to Yosemite, I am having difficulty figuring out how to restore a file using Time Machine.  When I select a file, and click on a recent date, the selected date does Not remain selected, and the "Restore" button is grayed out.  How do

  • N900 TV Out issue

    Hello, My TV out connections were not working properly when I am connecting to an external monitor. Although, my headphones are working fine. I checked with other TV out cables but same results. My phone is updated to current memo version. Help me ou

  • Obtain users from Org Unit.

    Hi all, Which tables I must know to obtain all users (purchasers) from Org unit? I can't use a FM. I need to obtain this data from R3, not SRM. Thanks! Regards, David.

  • MIGO Screen No. of Containers field

    Now while doing GR i have to enter in how many pcs the material came No Basic unit of measure is in Metres In my GR screen under quanity tab No of containers field is there, There i have to enter in how many pieces i received the Material, there i ch