Renew an expired/stale task in BPEL-

Hi,
I am trying to renew an expired/stale human task in BPEL process using renewTask operation of TaskService in BPEL process.
The inputs given to this operation are-
taskId: from the HumanTask global variable
token: from initiateTaskResponseMessage
* duration*: '10'
On running the process,its showing the following error-
*<faultInfo>java.lang.IllegalArgumentException: Missing 'P' delimiter</faultInfo>*
I am not able to understand the type of input taken by 'duration'.
I have searched in API's that it takes 'string' as input but still its not running.
Thnx.

Thnx Shankar,
I have seen this link but not able to understand the type for 'duration' that is org.exolab.types.Duration.
What value should I enter for 'duration'.Please suggest some values.
When i looked into the deprecatedInterface IWorklistService, its shows 'string' type.
[http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28985/oracle/tip/pc/api/worklist/IWorklistService.html#renewTask_oracle_tip_pc_api_worklist_IWorklistContext__java_lang_String__java_lang_String_]

Similar Messages

  • Stale Tasks - BPM 11g

    Hi,
    Wanted to know, how can i retrieve Stale tasks after redeployment...
    use case is :
    1) I have a application A with Version 1 which i running fine...
    2) I created 10 instances and they are mid-way into process.
    3) Now, i have a Code upgrade which i did and i have do a redployment...
    And my main concern is that 10 instances which are in mid-way for Process should not be stale...they should be active...
    JDev & SOA Version - 11.1.1.5

    Thats correct. Whenever you redeploy a composite with the same revision or undeploy the composite, it will mark the running instances as STALE. This is by design.
    If you want the instances to complete, then you need to redeploy as the new version.
    Migrating inflight instances (deploying using the same revision and preserving the instances) is not yet supported in 11g

  • Human Task Expires Though Task Duration Never Expires in DeadLines Level

    Human Task is expires thogh task Duration Never Expires in DeadLines level
    1)I have Created a Human Task
    2) I am assigning task based on User Input ( If User proivdes BPM ) task will will assigned to 'BPM' Group
    3) In Assignment Advanced leve i have set Limit allocated duration to 5 Min
    4) Dead Line Level I have set Task never Expires
    5) I have created Task , Task is assigned to 'BPM' Group
    6) 'BPMUser1' Acquired task
    7) After few min task get released automatically
    8) Task Expires after 5 Min

    ...and if I only send an email in the "When a Task Expires" step, the "When
    a Task Expires" will get called again and again to remind the original approver.  However, when I reassign the task the When
    a Task Expires"  will never get called again.   stumped.

  • I have subscribed an "Creative Cloud single-app membership for Photoshop (one-year)" plan,  is this plan will be auto renew after expired? I got two macbook, can they share the same plan? thanks

    I have subscribed an "Creative Cloud single-app membership for Photoshop (one-year)" plan,  is this plan will be auto renew after expired? I got two macbook, can they share the same plan?
    Great thanks

    Yes and yes.

  • How do i renew my expired monthly subscription to Photoshop CS6?

    how do i renew my expired monthly subscription to Photoshop CS6?

    Hi Lexijones,
    Welcome to Adobe Support,
    Please follow the steps in http://helpx.adobe.com/creative-cloud/kb/renew-extend-restart-ccm.html
    http://www.thermalexposure.com/2012/10/17/adobe-creative-cloud-subscription-renewal-troubl e/
    Please let us know if it helped
    Regards,
    Rajshree

  • I can't renew a expire Illustrator CS Subscription month to month my credit card date expire i just renew but is still suspend

    I can't renew a expire Illustrator CS Subscription month to month my credit card date expire i just renew but is still suspend

    Moving this discussion to the Adobe Creative Cloud forum.
    A3f if you are facing a billing issue with your account please contact our support team directly at Contact Customer Care.

  • How to renew the expired certificate of workflow manager in sharepoint 2013?

    Dear All,
    How to renew the expired certificate of workflow manager in sharepoint 2013 and what all steps needs to be done inorder the workflow to work properly.
    Thanks & regards,
    Asha

    Hi Asha,
    This should help you
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/bfd3c92b-1a05-4cc5-9b90-8c5c8877dd2c/changing-expired-certificate-for-sharepoint-2013-workflow-manager?forum=sharepointadmin
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Send email through human task in bpel

    hi everybody,
    I am badly stuck in sending email through human task using bpel.
    I have used reminder facility and enabled send email in .task file.but no email
    is sent so anyone please help me out and please provide me with full detailed solution what I have to do like change any xml file setting etc.
    Also I was trying to send email using email activity by changing the ns_emails.xml in .........bpel/systems/services/config & in .......integration/esb/config but I was not succeeded. So please provide me with complete solution like what parameters to pass in smtp server,port no,protocols etc and which file to change in which directory. my work is pending just because of this.
    I would be very grateful to you.
    thanks in advance.
    mansoor.

    Hi mansoor,
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
         <EmailAccount>
              <Name>Default</Name>
              <GeneralSettings>
                   <FromName>BPEL POC</FromName>
                   <FromAddress></FromAddress>
              </GeneralSettings>
              <OutgoingServerSettings>
                   <SMTPHost>mail.oracle.com</SMTPHost>
                   <SMTPPort>25</SMTPPort>
              </OutgoingServerSettings>
              <IncomingServerSettings>
                   <Server>mail.oracle.com</Server>
                   <Port>993</Port>
                   <Protocol>IMAP</Protocol>
                   <UserName>xxxxxx</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>

  • Trying to renew an expired membership

    How the hell do i renew my expired membership?

    Manage your membership and payments | Creative Cloud
    https://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting -creative-cloud.html

  • Any Document related  to implementation of Human tasks in BPEL

    Hi Friends,
    I am new to BPEL and looking for a reference document to implement the Human Tasks in BPEL.
    My Email ID: [email protected]
    regards
    Sai

    You will find lots of document in the
    <OC4J_HOME>\OracleAS_1\bpel\samples\demos\
    folder.
    There is a good tutorial name VacationRequest which you can refer for getting a knowledge of Human workflow.

  • Setting a dynamic expiration date in User Task in BPEL 10.1.3.1

    I have a user task / human workflow activity within a BPEL 10.1.3.1 project. I need to be able to set the expiration date of the task dynamically that gets assigned within this worklist.
    I have been able to use the Human Task Wizard screen (<usertask>.task) to hard code the expiration time. Using the Fixed Duration option of days, hours or minutes. I have tried to use the 'By Expression' to do this but have been unable to get it to work. I have tried to select the /task:task/task:systemAttributes/task:expirationDuration or the /task:task/task:systemAttributes/task:expirationDate element within the task workflow xsd but are unsure how to get it to read the date. I have tried to assign a time component to expirationDate and a time period P0DT0H20M to the expirationDuration element.
    Has anyone had experience of this or know whether it can be done? Any help would be appreciated
    Thanks

    I agree with David.
    The lexical representation for duration is the ISO 8601extended format PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision.
    The values of the Year, Month, Day, Hour and Minutes components are not restricted but allow an arbitrary unsigned integer, i.e., an integer that conforms to the pattern [0-9]+.. Similarly, the value of the Seconds component allows an arbitrary unsigned decimal. Following ISO 8601, at least one digit must follow the decimal point if it appears. That is, the value of the Seconds component must conform to the pattern [0-9]+(\.[0-9]+)?.
    An optional preceding minus sign ('-') is allowed, to indicate a negative duration. If the sign is omitted a positive duration is indicated.
    For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, one would write: P1Y2M3DT10H30M. One could also indicate a duration of minus 120 days as: -P120D.
    Reduced precision and truncated representations of this format are allowed provided they conform to the following:
    * If the number of years, months, days, hours, minutes, or seconds in any expression equals zero, the number and its corresponding designator may be omitted. However, at least one number and its designator must be present.
    * The seconds part may have a decimal fraction.
    * The designator 'T' must be absent if and only if all of the time items are absent. The designator 'P' must always be present.
    For example, P1347Y, P1347M and P1Y2MT2H are all allowed; P0Y1347M and P0Y1347M0D are allowed. P-1347M is not allowed although -P1347M is allowed. P1Y2MT is not allowed.
    HTH,
    Bas

  • Error updating a Human Task in BPEL

    Hi,
    I have a requirement where in i need bpeladmin to update a task assigned to some group.
    While doing so ,as task is assigned to group i first acquire the task and then perform update on the task
    While performing updation i am getting following
    Invalid action on workflow task.
    Action UPDATE on task a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7 is not valid because of .
    Contact oracle support if error is not fixable.
    at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3416)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3440)
    at oracle.bpel.services.workflow.task.impl.TaskService.addComment(TaskService.java:617)
    at oracle.bpel.services.workflow.task.impl.TaskService.addComment(TaskService.java:639)
    at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.addComment(TaskServiceBean.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    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:622)
    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 TaskServiceBean_RemoteProxy_68d4144.addComment(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-30036
    Invalid action on workflow task.
    Action UPDATE on task a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7 is not valid because of The task has been acquired by some other user..
    Contact oracle support if error is not fixable.
    at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3408)
    ... 32 more
    exception is ORABPEL-30036
    Invalid action on workflow task.
    Action UPDATE on task a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7 is not valid because of .
    Contact oracle support if error is not fixable.
    When i check wftask table in database , acquiredby column it shows entry as bpeladmin
    Following is the code snippet that i am using to perform the task
    Task objTask=wfSvcClient.getTaskService().acquireTask(wfCtx,"a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7");
         objTask=wfSvcClient.getTaskService().addComment(wfCtx, "a7a61c38dd54a6cb:d9506a8:121a07d45ee:-7aa7", "abc123");
         List assigneeGroupLst=objTask.getSystemAttributes().getAssigneeGroups();
         String assigneeGroup=null;
         if(null!=assigneeGroupLst && assigneeGroupLst.size()>0){
              assigneeGroup=((IdentityType)assigneeGroupLst.get(0)).getId();
         SystemMessageAttributesType sysAttr=objTask.getSystemMessageAttributes();
         sysAttr.setProtectedTextAttribute1(assigneeGroup);
         wfSvcClient.getTaskService().updateTask(wfCtx, objTask);
    The context created is for user BPELAdmin user.
    Do i need to give any rights to bpeladmin? Or is there some other way of doing it.
    Any help appreciated !!!
    Regards,
    Bhavik

    Hi Anirudh,
    Thanks for quick reply.
    I have a requirement where based on certain condition i need to update the task and reassign it.
    There is a batch that runs and performs the task. While doing so i dont have any info as to whom
    the task is assigned.
    So i am using bpeladmin to perform the task.
    If task is assigned to user and i try to update the task using bpeladmin then am able to do so.
    But if the task is assigned to Group i am getting the error. If task is assigned to user, i am able to
    acquire the task but not able to update the task.
    While updation it shows the task has been acquired by some other user.
    Is there any other way by which i can implement the same ?
    Regards,
    Bhavik

  • How to map payload from Human Task to BPEL

    Hi,
    I have created a human task form for which I send two parameters from the BPEL process.
    The user is able to update the fields containing the sent parameters and then click 'APPROVE' or 'REJECT'. However, I need the values of the updated fields to be returned and not the 'APPROVE' or 'REJECT strings.
    Can anybody help me with this?
    Alex

    Hi Alex,
    If you checked the Editable via worklistapp box then you dont need to update the values.
    These values automatically update the values of these parameters in human task if you properly mapped the values.
    Regards,
    Priyanka

  • Issue with Java Embedding task in BPEL

    Newbe: i have java embedded task in my bpel process which returns one variable(Written java code in editor as it is only 2 lines of code). when i tried to deploy this i am getting the following compiler error in Jdeveloper
    Error(36,39): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "BPELSampleProcess" of composite "default/BpelSampleProj!1.4"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    please suggest me what are the jars needed and where to be placed.

    Try this
    Random randomGenerator = new Random();
    int randomInt = randomGenerator.nextInt(100);
    setVariableData("outputVariable","payload","/client:BPEL_Process/client:result",randomInt);
    Delete this line public class ChSam
    Edited by: KrishnaChaitanya on Nov 25, 2010 9:30 PM

  • Error on task manager BPEL 10.1.3.4.7 - oc4j

    Hi,
    I'm having problem with Task Manager on bpel 10.1.3.4.7 using oc4j, cluster environment.
    The following errors appears on error log intermittently, if I try to reprocess the same bpel process it works:
    ERROR> <segmentacao.collaxa.cube> <BaseCubeSessionBean::logError>
    Error while invoking bean "instance manager": Variant not found.
    The variant "outboundMsg" has not been declared in the current scope. All variants must be declared in the
    scope before being accessed.
    Please check that the variant "outboundMsg" is properly declared; otherwise there may be a misspelling in
    the name of the variant.
    ORABPEL-02118
    Variant not found.
    The variant "outboundMsg" has not been declared in the current scope. All variants must be declared in the
    scope before being accessed.
    Please check that the variant "outboundMsg" is properly declared; otherwise there may be a misspelling in
    the name of the variant.
    at com.collaxa.cube.engine.core.Scope.getVariantRV(Scope.java:522)
    at com.collaxa.cube.engine.CubeEngine.getFieldValue(CubeEngine.java:2988)
    at com.collaxa.cube.ejb.impl.InstanceManagerBean.getFieldValue(InstanceManagerBean.java:289)
    at sun.reflect.GeneratedMethodAccessor75.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 com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    Someone helps?
    Thanks

    its not a good practice to have multiple JVM's for OC4J_SOA container. we have tried all these options and none of them were successsful.
    Better way to do change the infrastructure to 64 bit and have 64 bit OS with 64 bit JVM and 32 bit Fusion, so taht you can have more heap space which will support your transactions.

Maybe you are looking for