How to delete/abort/terminate a process instance. (Admin purpose)

Hi All,
I have following 2 problems while aborting a process. Any suggestion will be highly appriciated.
1. As admin, I want to delete/terminate/abort a process even if its not marked abortable in the deployed BPM activity. (not sure, if papi provides such facility or any workaround is possible)
2. Is it possble to abort a process, which is on automatic activity. (for some reason if its looping in the automatic activity)
Thanks in advance for your help.
Regards,
Manohar Chhapolia

If the activity does not have its abortable property enabled, PAPI won't be able to abort the instance. Consider adding a Grab activity with from all/to all and abort turned on.
Grab the instance and then abort it.
Dan

Similar Messages

  • How to access biz data of process instances in workspace at any time in 11g

    Hi,
    We are using Oracle BPM Suite 11g.
    Our users want to be able to check and search the business data associated with the process instance at any time (i.e. even after the instance is completed. And the business data should be included in the task list or search result list in the BPM workspace.
    I am new to Oracle BPM 11g. Please help. For the data to be displayed in the workspace, should I define them as “Process Data Objects”?
    Regarding to how to display the data, I find something about Flexfield. But the Oracle document says the Flexfield is for the data that saved in human workflow database schema. When the process instance is completed, will the data in human workflow database for this instance be removed? Can I setup flexfield for the Process Data Objects?

    Hi Ramandeep,
    Apparently I am not getting the required exception.
    I have a TF that outputs an Invalid Region Site when I run it and the when I run it I only got the loading page image of ADF.
    Looking at JDEV logs, I see an Invalid Region Site error
    Here's what I did, I created a TF template with only one view in it like this.
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-template id="TFTemplate">
        <default-activity id="__7">errorPage</default-activity>
        <exception-handler id="__14">errorPage</exception-handler>
        <view id="errorPage">
          <page>/com/test/errorPage.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-template>
    </adfc-config>My error page as this:
    <af:panelGroupLayout id="pgl1">
         <af:outputText value="Error has occurred!" id="ot2"/>
         <af:outputText value="#{pageFlowScope.MyErrorHandler.stacktrace}" id="ot1"/>
    </af:panelGroupLayout>...and my bean.
    public class MyErrorHandler
      public String getStacktrace() { 
        ControllerContext context = ControllerContext.getInstance();
        ViewPortContext currentRootViewPort = context.getCurrentRootViewPort();
        Exception exceptionData = currentRootViewPort.getExceptionData();
        if (currentRootViewPort.isExceptionPresent())
          if(exceptionData!=null)
            return exceptionData.getMessage();
        return null;
      }But exception data still returns null.
    I exactly wanted to show this invalid region site but it seems I cannot catch it.
    Any idea why?

  • 'End Terminate' event does not completely terminate the process instance!

    Hi,
    my process make use of the 'End Terminate' event, this will be used pending on the outcome of a prior task, using the 'Exclusive' gateway. This works quite well but in case of process termination some strange behavior happens.
    The Enterprise Manager tell me that the process instance is in state 'Terminated' but the BPM Workspace in the 'Process Tracking' tab this instance is still in state 'Running' and if I check the WFTASK database table the process instance is still in state 'OPEN' and not 'CANCELED'.
    So my question is, do I use the 'End Terminate' event the wrong way or is this a bug/feature?
    Thanks in advance,
    Daniel
    PS: I use BPM Suite 11.1.1.5 with Feature Pack.

    If we see a human task active even after termination end event is not considered a bug... I'm sorry, but i think that if every task active in the process instance is not terminated or "killed", the terminate end event is not working well. So we are talking about a bug.
    If I'm wrong, what is the expected behavior of teminate end event?
    Thanks in advance.

  • How to change the attribute of process instance by PAPI web service

    Is it possible to change the value of the attribute of one process instance by PAPI web servcie?
    thanks!

    That information is stored in the table PPROCINSTANCE in the engine database in the column instancedata, it is a blob.
    HTH

  • How to handle no of BPEL process Instances

    Hi,
    I am facing issue at my cleint. Here is the scenario
    1) I have Business Event
    2) BPEL is subscribed to event using Oracle Application Adapter
    3) No every time new message comes in queue, causes new BPEL process Instances
    4) So suppose there are 1 million message per day then BPEL Server is dying.
    What is the best way to handle it?

    This is managed via the dspMaxThreads and ReceiverThreads parameters, by default these are set to poor values, dspMaxThreads by default is set to 100 (domain level) whereas by default ReceiverThreads is set to 40. According to the performance guide the total of dspMaxThreads for all domains should be <= ReceiverThreads, so making some adjustment to the dspMaxThreads parameter should help.

  • How to Delete a Java Proxy from Visual Admin

    Hi Experts,
    I have created a JAVA Proxy and deplyed on the J2EE server. I use the Visual Admin to check if it is deployed or not. Now because of the tests there are so many proxies on the J2EE server, I want to delete some (that are not being used). But in Visual Admin I do not see an option to delet the proxy.
    Can anyone help me how to delet the proxy.
    Thanks
    SB

    Used SDM to delete them.

  • How to delete silence in batch process using Audition CS6

    I've started using Audition CS6 recently.
    I'm able to delete silence at the beginning and end of the source audio files using delete silence effect (from diagnostics window).
    I'm not able to record this as new favorite so that I can apply it in the batch process.
    How can I delete silence at the beginning and end of the source audio files (1000 or more files) using batch process?
    It will be of great help if I can get guidance on this, instead of manually editing these files.
    Thanks in advance for any assistance.

    yes, the favorite is not aware of the diagnostic panel (and delete silence action).
    and the silence at the beginning and end varies between the files, is there any way to deal with?
    it doesn't look productive to scan for the silence and delete the silences manually for each individual file (for more than 1000 files).
    can we create a macro or use some scripting in audition to deal with this in a batch process?
    Or is there any other tool that's recommended to have this part done in a reliable manner?

  • How to delete master data via process chain

    Hi All,
    I have to delete master data before loading it again via a process chain.
    In the process chain I chose the process " complete deletion of the data target content" but here I did not find infoobject as the data target option to delete the data.
    Please suggest how to solve this.
    Thanks,
    Harini

    Hi Harini,
    P_CHABNM - It is for the reference characteristic.
    I think if you dont have a ref characteristic then give the info-object name.
    This is what I fetched fom help.
    Reference characteristic
    The reference characteristic has the technical properties of a characteristic such as data type and length, as well as the master data (attributes, texts and hierarchies). The characteristic itself also has buinesses semantics.  Several characteristics can refer to the same reference  characteristic. Such characteristics automatically have the same technical properties and master data.
    Example:
    The characteristics sender cost center and receiver cost center use the reference characteristiccost center and with it the same values and the same texts.
    Bye
    Dinesh

  • How to delete Master data using Process Chain

    I need to delete data in respective data targets such as Infocubes, DSO’s & Master data Infoobjects. It was fine with Infocubes & DSOs  using respective process type. But the issue is with Master data Infoobjects.
    Is there any process type by using which I can delete data in Master data Infoobjects using process chain?

    Murali,
    Master data object process type is not there because in BW, master data is conformed or is shared by other infoproviders. Due to this dependency, master data loading is a bit more complex. You need to drop all the data from all the infproviders which are using the master data you want to delete.
    -Saket

  • How to delete selected records from process form child form

    Hi,
    I have one child table attached to process form which has 6 columns.
    I have added 3 rows to the child form . if i tried to remove any row from the form always the first record is removing even though it is not selected to remove. I have coded according to Re: Removing from Child Process Form
    Please help me
    thanks in advance

    Can you tell us the code you had written?
    Regards,
    A

  • BPM 11g- Terminate process instance

    Hi,
    How can I terminate a process instance that could either be sitting in an Human Interactive or a Timer activity.
    TaskService is one solution but I don't want to take that route to achieve this simple requirement. Is there any recommended pattern to implement this.
    I also thought of an event boundary with interuupting event, but not sure what to write there..
    It was easy in Oracle BPm 10G where you could have a Notification Wait with interrupt and that is attached to an "Automatic" activity where we could say:
    this.action=ABORT;
    Thanks
    Raj

    Hi Raj
    1. Terminate means you want to End that Process no matter where it is at any instance of time. Say if I have BPM Process with 10 SwimLanes it can be at any of the Lanes with any User. I am taking simple Example with Human Tasks, but you can apply for other component like Timer servces etc.
    2. I hope you are aware of 2 things specially for Human Tasks: Action named "Withdraw" and a role named "Process Owner". For any human task, under Actions menu you should See a Withdraw option. You can code your application to capture this output using XOR gateway and if outcome is "WITHDRAW" directly end the process and go to End Node. If you have many places like this, there is easy way instead of running wires eveywhere. Create a simple throw even that goes to End Node. And after each human task check outcome if Withdraw, that that error, which will end the process. I hope you got the point.
    b) The reason I mentioned Process Owner is, generally I do NOT give Withdraw control to each User who can work on any Task. If accidentally that User do this action, thats it. The process ENDS and you can never retriive it back. So under .TASK file, I preven Withdraw action to Asssignee and Instead give this action only to OWNER (Process Owner). Process owner is like admin who can pretty much see any tasks and I would give him all the permissions like these Withdraw, Reassing, Suspend etc etc. This gives more controlled power to your application. Anyhow, in bpm workspace, login as process owner and search for any Task aged for long time and jus Withdraw it.
    You can do all the above using APIs also as far as you have Withdraw action going to the End Node.
    If your requirement is something else, ignore above notes. But still you can think along the above lines, if all you want is to Kill a Running Process anytime.
    Thanks
    Ravi Jegga

  • Security Settings For Deleting Process Instance Information

    Hi there,
    We are currently having issues with our more "novice" users deleting "unsuccessful" or "error" process instances. Are their any security settings we could use for this type of user profile that would not allow them to delet these instances?
    This is in PS Financials V8.9
    Thanks, Dan
    Edited by: user6340243 on 5-Mar-2009 9:58 AM

    Hi Dan,
    Yes you can do that. The process file associated with the Userid is not having Permission to alter process request.
    Identify the Process Profile permission list:
    Navigation: PeopleTools > Security > User Profile
    Make changes to the Process profile permission list:
    Navigation: PeopleTools > Security > Permission Lists
    Select the appropriate process profile permission list.
    Go to 'Process' Tab. Click on 'Process Profile Permissions' hyper link. Under 'Allow process request' section should be changed to Owner or none based on your requierment.
    Hope this helps.
    Regards,
    Pratheepan

  • Synchronizing on Process Instance Object

    Hi,
    We have a process web service, which is used to create, notify and update BPM process instances.
    This process web service is accessed from Java code.
    The java code uses a re-try mechanism to talk to the process web service.
    We want this to be changed using wait-notify. But we have only the string value for Process Instance ID.
    Can anybody help me on how could we get the BPM process instance object with the Process Instance ID?
    I hope for this case we should synchronize on the BPM process Instance Object.
    Please find below the current code snippet with re-try which needs to be changed as wait-notify.
    for(int i = retryCount; i >= 0; i--) {
    try {
    sResult = wsClient.notifyUpdate(oEvent, oTG, sInstId);
    break;
    catch(Exception e) {
    if(i == 0) {
    throw e;
    logger.error(getClass().getName() + " - Failed to call wsClient.notifyUpdate()");
    try {
    logger.info(getClass().getName() + " - Retrying bpmUpdateProcessInstance ... " + (retryCount - i + 1) + " times in "
    + (System.currentTimeMillis() - startTimeMillis) + " millis.");
    Thread.sleep(retryInterval);      
    catch(InterruptedException ignore) {
         //silent catch is fine here
    }// end for loop

    Hi,
    Please correct me if I miss-understood your question.
    You want to know the process instance Id of a particular BPM process ?
    You want to do it through java code or in BPM process layer ?
    Which version of OBPM/ALBPM you are using ?
    Bibhu

  • How to delete GP process instance?

    Good day! Am I able to delete an GP process instance? I can stop it by using IGPRuntimeManager.stopProcess, but I need to completly remove it - like it's possible from the GP Administartion page... Are there any undocument features? May be reflection?

    Hi
    check this thread  to stop the GP Process Instance  , hope this could help you
    Re: Stopping a process remotely
    Thanks

  • BPM 11g - Abort process instance

    I have a BPMN process that does 3 things:
    1. Calls the third party interface
    2. Starts the Timer proces aynchronously. This timer process is to make sure that the task gets picked up up an admin user (Human Task);if we don't get the response within the agreed time limit.
    3. Awaits the response.
    So, when we get the response back from the backend system, it should do 2 things:
    1. Stop the timer process.This could either be in a waiting state (i.e if the timer hasn't expired) or might have moved to the Human task step.
    2. Notify the awaiting instance so that it is then moved onto the next step in the process.
    I have used correlationId to match the request and response.It is working (with Send/Receive task) and notifying the waiting instance, but I am not sure how to abort the running Timer process.
    Should I use an interrupting event subprocess in my Timer process, that if called should throw an exception. This will then move the Timer process instance to the Exception handling flow and that will lead to the termination of the process instance, or is there a better way to achieve this. TaskService is the other option I thought of, but to achieve this simple thing, I thought that would be an overkill. Is there a re-commended pattern to meet this requirement.
    Thanks
    Raj
    Edited by: user588394 on 21-Feb-2013 09:04

    Hi Raj
    1. Terminate means you want to End that Process no matter where it is at any instance of time. Say if I have BPM Process with 10 SwimLanes it can be at any of the Lanes with any User. I am taking simple Example with Human Tasks, but you can apply for other component like Timer servces etc.
    2. I hope you are aware of 2 things specially for Human Tasks: Action named "Withdraw" and a role named "Process Owner". For any human task, under Actions menu you should See a Withdraw option. You can code your application to capture this output using XOR gateway and if outcome is "WITHDRAW" directly end the process and go to End Node. If you have many places like this, there is easy way instead of running wires eveywhere. Create a simple throw even that goes to End Node. And after each human task check outcome if Withdraw, that that error, which will end the process. I hope you got the point.
    b) The reason I mentioned Process Owner is, generally I do NOT give Withdraw control to each User who can work on any Task. If accidentally that User do this action, thats it. The process ENDS and you can never retriive it back. So under .TASK file, I preven Withdraw action to Asssignee and Instead give this action only to OWNER (Process Owner). Process owner is like admin who can pretty much see any tasks and I would give him all the permissions like these Withdraw, Reassing, Suspend etc etc. This gives more controlled power to your application. Anyhow, in bpm workspace, login as process owner and search for any Task aged for long time and jus Withdraw it.
    You can do all the above using APIs also as far as you have Withdraw action going to the End Node.
    If your requirement is something else, ignore above notes. But still you can think along the above lines, if all you want is to Kill a Running Process anytime.
    Thanks
    Ravi Jegga

Maybe you are looking for