Retracting task in process workflow

Hi experts,
I'm currently working on how to retracting task in specific workflow.The situation is like this:
User A initiates form then assign it to user B  (task B). User B completes (task B) then assigns to user C (task C).
In case user B forgets some details, he wants to retract the form from user C so that he can edit form and resubmit it.
What i can think of is to create a separate process and use a custom component to reset the status of this process.
From what i observe, before and after completing task B, there are changes in tb_task, tb_job_instance and tb_branch_instance (if you think there can be changes in other tables, please let me know, thank you).
I have tried to delete task C in tb_task, set task B's status from COMPLETE (100)to RUNNING(3)  and it's complete time to null. User B can see the task but after complete, it never appear in user C's task.
I realized that after task B is completed, its associated job in tb_job_instance is deleted and task C and its job are created.
Is there anyway I can create a job in tb_job_instance to link with current process, so that after user B complete the task, the form is routed to user C.
Any comment will be much appreciated,
Thank you,
Tuan Anh

Hi Jasmin,
Now i'm trying to build a custom component to invoke the Retract route. Currently the task is assigned to user A.
but i don't have the password of user A. When I use Administrator account to invoke taskmanager.completeTask(204,"Retract"), I have this error:
com.adobe.idp.taskmanager.dsc.client.task.TaskPermissionException:
User: 43296024-F721-D137-5FDF-D01FF8A70682 is not assigned task: 204.  The task cannot be completed
Is there any way I can complete the task without knowing A's password ?
Regards,
Tuan Anh

Similar Messages

  • How to do reassingment of the task from the workflow.

    Hi,
    I have two work flow one is approval workflow & another is reassignment workflow in which manager approval is need for reassignment, once manager will approve, task should be reassing to requested user in approval workflow. How can i reassign the task from process 2 to process1. Please suggest.
    Thanks
    Edited by: 949691 on Sep 27, 2012 6:27 PM

    I haven't tried it for this, but try using a correlation.
    Create the correlation in the process you want to notify -> add an event subprocess in that process who's start event is an interrupting Message event that takes a string as input that is the user id you want to reassign it to -> add an Update Task in the event in the event subprocess -> change the Update Task's operation to "Reassign" and assign it to the user id that the notifying processes sends in -> have the notifying process send the notification into this process with the user id you want to reassign the instance to.
    In his blog post from about a year ago, Arun Pareek did an infinitely better job of explaining correlations than I have - http://beatechnologies.wordpress.com/2011/10/17/working-with-custom-correlation-in-oracle-bpm-suite-11g-ps4-feature-pack/.
    Hope this helps,
    Dan

  • Can not Deploy Task Display Form[Workflow] in 11g

    Hi,
    I have created a human task based on the example 'VacationRequest' in the oracle complete guide for 11g.
    i have also created a Task display form(workflow) for the human task, the workflow is a seperate project in the same application.
    I am able to deploy the BPEL process containing the human task.
    but when i try deploying the workflow associated to the BPEL process, i get the following error during deployment..
    [04:36:23 PM] ---- Deployment started. ----
    [04:36:23 PM] Target platform is (Weblogic 10.3).
    [04:36:25 PM] Entering Target Selection Dialog
    [04:36:28 PM] Retrieving existing application information
    [04:36:38 PM] Running dependency analysis...
    [04:36:38 PM] Building...
    [04:38:06 PM] Deploying profile...
    [04:38:09 PM] Wrote Web Application Module to C:\JDeveloper\mywork\VacationRequest\TestFlow\deploy\TestFlow.war
    [04:38:10 PM] Deploying Application...
    [04:38:31 PM] [Deployer:149191]Operation 'deploy' on application 'TestFlow' is initializing on 'soa_server1'
    [04:38:44 PM] [Deployer:149193]Operation 'deploy' on application 'TestFlow' has failed on 'soa_server1'
    [04:38:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TestFlow on soa_server1.: Failed to load webapp: 'TestFlow.war'.
    [04:38:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'TestFlow.war'
    [04:38:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:38:44 PM] See server logs or server console for more details.
    [04:38:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'TestFlow.war'
    [04:38:44 PM] #### Deployment incomplete. ####
    [04:38:44 PM] Deployment Failed
    I am following all the steps in the tutorial.
    tutorial details:
    name: Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1)
    page number: *589.(How To Create a Task Display Form Using the Complete Task with Payload Drop Handler)*
    How can I solve this issue ?
    Response requested at the earliest......

    While deploying the example 'VacationRequest' in the oracle complete guide for 11g, i got an exception like this
    "12:08:15 PM] Deploying Application...
    [12:11:16 PM] [Deployer:149191]Operation 'deploy' on application 'VacationRequestTaskFlow' is initializing on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
         java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
    [12:11:24 PM] [Deployer:149193]Operation 'deploy' on application 'VacationRequestTaskFlow' has failed on 'soa_server1'
    [12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: Failed to load webapp: 'VacationRequestTaskFlow.war'.
    [12:11:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [12:11:24 PM] See server logs or server console for more details.
    [12:11:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
    [12:11:24 PM] #### Deployment incomplete. ####
    [12:11:24 PM] Deployment Failed"
    Can anyone help in this.

  • Backgroud task of a workflow set to status "ready"

    Hi all, We have a worflow working since some years ago and now suddenly one problem has started to ocurr...
    sometimes, one of the backgroud steps of this workflow is not processed in backgroud by WF-BATCH as expected but it remain in status "READY"....this is not intended and what we are expecting is that this task is processed in background without any user input inmediately after the previous task....
    Until today, this task has worked without problems but now we got this task not processed but waiting in status "ready"...this only occurs sometimes, not with all instances of this workflow but only sometimes in a random way....
    I can´t see anything wrong in the template...only thing I see is that this background task is executed right after a "dialog task" where user need to aprove or reject the document in workflow. this "dialog step" use the standard task "TS00008267" (generic decission task) as base and this standard task has "latest end" setted (I don´t know if this can be the problem or always has been in this way with this "latest end" active...)
    any tips???? someone with same problems????
    Thanks in advance....

    hi Rob, first at all, thanks for your fast reply, much appreciated mate....
    surfing this forum I just found this post () , I think, is same problem, related to RSWERRE program jobs....
    I´ve seen that all of those background workitems in status "ready" that we expected to be processed automatically are from same day, and in that day we suffered a problem related to jobs system so I think that is the key of my problem....no wrong workitems in status "ready" others days than that one when we suffered that problem with jobs systems so pretty sure this is my case...
    anyway, thanks a lot for your tips...if I found that my problem continues I will be sure of check what you are pointing me...
    Thanks.
    Miguel.

  • Firefox won't start, no error message, firefox.exe showing in Task Manager Processes

    Firefox (v3.6.6 on Windows Vista) will not open. When the icon is clicked, the hourglass shows for a few seconds, goes away, and nothing else happens. There are no error messages. 'firefox.exe' shows on the Task Managers Processes tab. I also cannot open Firefox in SafeMode or with the ProfileManager.
    I have tried restarting the computer, uninstalling and reinstalling firefox, deleting my firefox profile. I have tried all of these things multiple times in different orders with no results.
    Please Help!
    == This happened ==
    Every time Firefox opened
    == Yesterday ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8)

    dmcritchie, thank you for your reply!
    Before I received your response, I tried something that seems to have worked. I used Chrome to go to the Firefox website and downloaded Firefox (without uninstalling it first) and went through the installation process again. For some reason, this worked, even though I already had the latest version of Firefox, and I can now open Firefox successfully.
    If it stops working again, I will try your suggestion. In the meantime, thank you much!

  • Can no longer open two Firefox tabs, have close using Task Bar/Processes. Some links won't activate on websites. As per support suggestion,have backed up profile, deleted existing profile, removed firefox and replaced thingsetc

    Can no longer open two Firefox tabs at the same time. Will disappear from screen but won't close - have to go to Task Bar/ Processes to close it, some links won't activate on websites. As suggested in the support area I have gone through the process of backing up my profile, deleted existing profile, removed firefox from computer, reinstalled profile in fresh folder, reinstalled firefox 6. I have done this twice for no effect - may work as it used to for a while (30mins) then gets back to its old tricks.
    It is a bit irritating.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Firefox runs in background (appear in Task Manager Processes Tab) only and does not appear on Desktop

    I have been using Firefox on my Desktop PC with Windows XP for a long time. However, today possibly due to some virus (I attached an infected flash drive to my PC) a suspicious change in homepage (www.delta-homes.com) of my firefox occurred. Simultaneously an error message of "WinZip" appeared on screen. I figured that there must be some software in "C:\Program Files\" which is also causing problem to my firefox. I opened Program Files and removed that folder named WinZip. (Tried to uninstall it but it won't happen so I had to use "Unlocker" to kill processes this folder was associated with and then deleted the folder.)
    From that point onward, My FireFox started to behave weird. Whenever I click on Firefox icon or access firefox.exe from any source (start menu, quick launch, program files, Run Command), it starts but appears only in "Task Manager Processes Tab". In that Processes Tab, firefox.exe is continuously using 50% of CPU but it does not appear on Desktop at all.
    To go a step further, I uninstalled firefox and tried to re-download from Firefox official website but the download fails in the start saying "Download is interrupted". (See attached Image). So I downloaded a previous version of Firefox (v 34.0) from www.filehippo.com and installed it but the same problem is happening with this version too.
    I am confused and surprised what might be causing this problem. Everything else on PC running fine. Kindly help me restore my Firefox so that I may not lose any precious Bookmarks, Settings and other Data. thanks

    Start your '''Computer''' in safe mode. Then start Firefox. Try '''Safe''' web sites.
    '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Starting The Computer In Safe Mode;<br>Free Online Encyclopedia]'''
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How to change an already saved TASK in a workflow?

    Can somebody tell me how to change the TASK of a workflow to "CHANGE" mode, after it's been saved? Here, I find that once I create and save a task, I am unable to edit it.
    Thanks,
    Max.

    Hi Max,
    what version are you on, I remember that using SWDD for workflow modeling is not advised for 4.6c or older versions. I even heard of workflows disappearing and other strange stuff. It's advised to use PFTC for it.
    Kind regards, Rob Dielemans

  • How to use Start Task Group for Workflow Interface

    Hi all,
    anyone who can tell me how to use the Interface IFWFTSKGRP (Start Task Group for Workflow Interface)?
    As far as I understood the documentation it can be used to restrict the selection of workflows that can be started in the Generic Object Services. But the question is how to implement it.
    Best regards,
    Carsten
    Edited by: Carsten Drewes on Jun 10, 2009 10:30 AM

    Hi, Carsten,
    (probably it's a bit too late to post an answer after 3 years , but I'll post it in case someone else needs it)
    You should implement GetTaskGroup method.
    The code should return id of the task group (otype TG, mantained in PFTC) that holds the list of workflow definitions.
    Here is a sample implementation. It's taken from FORMABSENC business object. It belongs to SAP demo workflow "Notification of Absence". I suppose it should be present in most systems and you can see it in action.
    begin_method gettaskgroup changing container.
    DATA: taskgroup LIKE rhobjects-object.
    *- set task group
    taskgroup = 'TG70000023'.
      *- set result
    swc_set_element container result taskgroup.
    end_method.

  • Mapping Adapter to a process task in process definition.

    Hi Guys
    My requirement is , Disable users associated with an organization when the organization is disabled.
    I have performed the following steps:
    1. In design console Lookup definition Lookup.ACT_PROCESS_TRIGGERS , I added a row
    ACT_DISABLED   DisableUSerWhenOrgDisabled
    2. Then I created process task adapter to recursively disable the users based on the organization name.
    3.Next I attached the adapter to a new task in process definition --> Xellerate User with the name DisableUSerWhenOrgDisabled(decode field in Lookup.ACT_PROCESS_TRIGGERS ).
    4.Then I mapped the Adapter variables to appropriate entities in the Integration tab.
    Now when I login into the admin console and disable an Organization , the adapter is not at all invoked.
    I am unable to get if I am missing anything.Kindly help in resolving this.
    Is this the correct way to achieve this functionality?
    OR
    Do I need to go for Entity Adapters.
    Thank you
    sas
    Edited by: sas on Jan 8, 2009 4:55 PM

    SAS,
    You only need one adapter. You can use one variable that maps the Organization Name. Using this value, you can use the tcOrganizationOperationIntf apis to get information about that organization. Once you get the disabled value, you can create your if statement based on the value of this task. If the Organization is not disabled, return a literal string like "NO_ACTION_REQUIRED". If the Organization is disabled, using the code i previously posted, or the code you have generated, to disabled all the users within the organization. If this task successfully completes, return the literal string like "ALL_USERS_DISABLED". If an error happens, i would return something like "ERROR" or something more descriptive. Then on your responses tab, you can add these values you are returning, along with a more descriptive value. Set the NO_ACTION_REQUIRED and ALL_USERS_DISABLED to a C status and the ERROR responses to a R status. Now when you map your adapter, map in your Organization Name and for your Adapter Return Value map it to the responses.
    As far as what you can do with responses. On the process task, the response tab, you can select the specific response, and then have it trigger another task.
    -Kevin

  • How to close Acrobat.exe from the task manager processes through plug-in?

    I have a plug-in in which we have a functionality of defining some keys and they are displayed as annotations on the PDF. Now, if the user defines such a key, an annot (i.e.a rectangular box) gets displayed on the PDF and if the user does not click custom menu say 'Close Key' then annot remains visible on the PDF.
    My problem is if in such a case i.e. the user has defined a key & if the user does not hit 'Close Key' and instead closes Acrobat by directly hitting close (i.e. [X] button at top right corner), then Acrobat exits; but the Acrobat.exe remains running in the Processes.
    If the user tries to open the same PDF again then a message pops up saying 'Cannot open file for viewing as its already in use...'.
    Note that any other PDF gets opened fine.
    Could somebody help me in giving me any ideas/suggestions on this? I want to exit the acrobat.exe from the processes so that the same PDF could get opened. As described above, the cause is the key (annot) was opened and user abrubtly exited Acrobat. Is there a way, that we could catch this Acrobat exit event in the plug-in? That way, I'd be able to clear off the annot (key) and then close acrobat.
    Please let me know asap.

    Hey, tnx for ur response! But, the issue is reproducible on Acrobat 7.0 Professional.
    I do have the 'WillClose' event registered in my plug-in. Below is the event that is wired up with 'WillClose' event:-
    static 
    ACCB1 void ACCB2 NotifyAVWillClose (AVDoc doc, void *clientData){
    UNREFERENCED_PARAMETER(clientData);
    UNREFERENCED_PARAMETER(doc);
    CloseTemplate(TRUE);
    The 'CloseTemplate' method performs the closing of the annotation, clearing of objects and deleting the PDFfile class pointer.
    And this all works fine with Acrobat.exe getting closed from the task manager processes in acrobat versions 8 & 9. However, in Acrobat 7.0, the process remains in the Task Manager.
    Could you suggest any ideas on what else needs to be implemented to end the process in Acrobat 7?
    Thanks!

  • Task in Process Definition not Running when Trigger Automatically

    Hi All,
    I have created a task in Process Definition (eBusiness Suite User)and attached JAVA code to this task. Also i have triggered this task on C response of Email Updated Task . I also have Change Email Task which is mentioned in Lookup.USR_PROCESS.TRIGGERS lookup defination. so when Email id is changed in OIM Console it is triggering Change email Task and it is getting populate in Process form and as i am using Auto Save Feature .Email Updated task is geting Triggered. and Email is updated in FND_User table.
    Now my Problem is after Email Updated task is completed it is triggering my Task but my Task Is not getting Executed (JAVA code is not executed).
    But when I manually add this task from Resource History , JAVA code is getting Executed .
    What i founf is Email Updated task was triggered by OIMINternal User , So I add in Assignment tab to OIMInternal user , but no luck.
    Task is getting Triggered but is not getting Executed.
    Can any one suggest how i can run this task Automatiically.
    Please help. Its bit urgent.
    Thanks!!
    Regards,
    Tushar

    Once the process tasks has been executed you can not delete it.
    check these links for more info.
    Deleting a Process Task
    Re: Remove Unused Process Tasks from Process Definition for Export

  • Ssis execute process task error: process exit code was 1 while the expected was 0

    Hi Sir,
    in my SSIS Package(2012) i am using Execute Process Task which will call bat file.  bat file is located on UNC Path.i am having  the below script in the batch file.
     del \\servername\foldername\name.txt
     rcmd \\servername D:\name1.bat
     del \\servername\foldername\name2.txt
    xcopy \\servername\foldername\file.txt   \\server\foldername\outfilefolder
    i am getting the below error message:
    ssis execute process task error:  process exit code was 1 while the expected was 0
    i want know at what cases error exit code was 1?
    Thanks for your time.

    Hi prasad.alm,
    The error is generic and can be caused by various factors. Here are some suggestions for your reference:
    Manually run the executable to execute the batch file so that we can check whether the command lines in the batch file are correct or not.
    Check there are no duplicate/existing files in the destination folder.
    Try to run the package in 32-bit or 64-bit runtime mode.
    If the issue occurs when running a job, try to create a CmdExec type job step to call the excutable. If this job also fails, it might be an issue between executable and SQL Server Agent rather than the SSIS package itself.
    If the issue persists, enable logging for the package, and check if we can obtain more detailed error message for further analysis.
    Regards,
    Mike Yin
    TechNet Community Support

  • Resolve Process Workflows

    Hi All,
    I've just implemented an activeSync resolve process that notifies helpdesk staff that there has been an identity collision, and includes some information about the incoming data and the clashing identities. For the time being this is adequate.
    Still, Identity Manager has a tonne of power and I know that I'm not using it. What are the things that you all would normally implement to handle identity clashes during activeSync processing? Is there any sample code out there that I can look at for ideas?

    Hi.
    Well, in fact, the new client is a copy of another and the background data for the workflow process is already copied. I just need to re-start the workflows but I was wondering if I can do anything easier than do it manually and one by one. Maybe a migration tool to copy "in process" workflows.
    Another option is to redefine sub-WF and try to put every WF in his former situation, but the logic of the original WF is very complex so this is not an option.
    I know that is very difficult to do that but...who knows!
    Thanks for your interest.
    Ismael

  • How can we call a task in process definition A from Process definition B

    Hi,
    Is that possible to call a task in process definition A from Process definition B?
    Thanks.

    Sure, as long as you can come up with the correct query to lookup the task key for the task you want to run.
    provIntf.addProcessTaskInstance(taskKey, processInstanceKey);
    -Kevin

Maybe you are looking for