Instance stuck in OBPM 10GR3

Hello all,
We have a problem with one of our processes. There is an instance which is stuck in one of the Interactive activities waiting for someone to login and execute it. The person who was suppose to execute it has left the organization.
Now we have a re-assignment code as well as an escalation code.
But unfortunately ,for this instance, there is nobody else to re-assign that work item.
Also, we have disabled the Assignable and Suspendable option in Properties of an Interactive Activity i.e. when we right click and select Runtime.
Therefore, this instance is now stuck .
How do we either cancel or abort this instance?
When we try to deploy another version of the process, the changes are only applicable to the new instances and not the previous instances?

Hi,
You can do this by using PAPI else log into the ALBPMENGINE schema (DB) and run the following query.
delete from ALBPMENGINE.PEXCEPTION where INSTID in (<InstanceId to be aborted>);
delete from ALBPMENGINE.PPROCINSTEVENT where instid in (<InstanceId to be aborted>);
delete from ALBPMENGINE.PROCINSTGROUP where instancein in (<InstanceId to be aborted>);
delete from ALBPMENGINE.PPROCINSTANCE where instid in (<InstanceId to be aborted>);
Commit;
I hope this help you.
Bibhu

Similar Messages

  • JSP Timeout in OBPM 10GR3

    Hi all,
    My JSP in OBPM 10GR3 is getting timed out quickly. How can I increase the timeout of my JSP?
    Because it shows on the UI workspace that "The task cannot be resumed".
    How can I increase the timeout of my JSP?

    There is probably one more reason why this may be happening. Again, I don't have a running 10g instance to verify this, but may be you can. Once a user clicks on the work item (or left menu in the case of a Global Create) in the inbox, and the dialog opens up, if you do a browser refresh, the popup will close, but probably , behind the scene, the screen-flow is not closed. Now , if you click on your global create again, you may get a Task cannot be resumed.
    Not sure, but try this, and the only way around may be to tell users not to refresh the screen when the popup is up, if they do and get a 'Task cannot be resumed' , they will have to log out and log back in.

  • JSP problems in OBPM 10GR3

    Hi all,
    When I try to access a JSP from my Global creation in OBPM 10GR3, sometimes this message appears:-
    [<W> 0830 15:19:41.296] Main (<5> [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'): Error workspace-1314782980927
    [     (cont)     ] Main: The Task cannot be resumed
    [     (cont)     ] Main: Detail:<br>The reason could be one of the following<br><ol> <li>You have already finished the task execution</li> <li>You have the autologin option enabled and the session for this execution has expired .<br></li></ol>
    [     (cont)     ] Main:
    [     (cont)     ] Main: fuego.web.exception.ItemAlreadyExecutedException: The Task cannot be resumed
    [     (cont)     ] Main: Detail:<br>The reason could be one of the following<br><ol> <li>You have already finished the task execution</li> <li>You have the autologin option enabled and the session for this execution has expired .<br></li></ol>
    [     (cont)     ] Main:
    [     (cont)     ] Main: at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:213)
    [     (cont)     ] Main: at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:104)
    [     (cont)     ] Main: at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    [     (cont)     ] Main: at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
    [     (cont)     ] Main: at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    [     (cont)     ] Main: at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:123)
    [     (cont)     ] Main: at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    [     (cont)     ] Main: at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    [     (cont)     ] Main: at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    [     (cont)     ] Main: at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    [     (cont)     ] Main: at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at fuego.web.filter.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:39)
    [     (cont)     ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    [     (cont)     ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    [     (cont)     ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    [     (cont)     ] Main: at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    Any idea why?

    There is probably one more reason why this may be happening. Again, I don't have a running 10g instance to verify this, but may be you can. Once a user clicks on the work item (or left menu in the case of a Global Create) in the inbox, and the dialog opens up, if you do a browser refresh, the popup will close, but probably , behind the scene, the screen-flow is not closed. Now , if you click on your global create again, you may get a Task cannot be resumed.
    Not sure, but try this, and the only way around may be to tell users not to refresh the screen when the popup is up, if they do and get a 'Task cannot be resumed' , they will have to log out and log back in.

  • View Items in OBPM 10GR3

    Does anybody know how to bring the last initiated process instance to be seen first in the worklist views in OBPM 10GR3?
    By default, the last initiated worklist item is posted at the end and one has to scroll down all the way to the last initiated item.
    How can we bring that to the front?

    Enter in the Workspace Administrator, go to the presentations option, take the presentation associated to your inbox, typically default_instances take the column "received" and put to sort by this column choosing descending.
    HTH

  • Aborting an Automatic Activity from OBPM 10GR3 workspace

    Hi all,
    I can abort Interactive Activities from the OBPM 10GR3 workspace just by selecting that instance, the selecting the action as ABORT from the BULK ACTIONS on the right hand side and the entire instance is aborted.
    But how do I abort Automatic Activities from the OBPM 10GR3 workspace?
    When my instance arrives at an automatic activity, I am unable to abort it from the BPM workspace.
    There is no option when you right click an Automatic Activity and select RUNTIME , which says, "If enabled, the instance can be aborted by the user".
    So how do we do that ( from the OBPM 10GR3 Workspace)?

    The "If enabled, the instance can be aborted by the user" needs to be selected when you abort via PAPI...
    Since aotumatic activitys do not appear in the workspace you cannot abort them from there.
    You can connect via PAPI, find the instance and abort it from another instance.
    Even though must automatic activitys are built so they finish before you can even go and abort them.
    I think its a strange design to have an aotumatic activity that is up long enough for you to cancel it but as i said above...
    1) Select abortable on the activity.
    2) Find the instance and abort
    Fuego.Papi.InstanceFilter ifilter = new InstanceFilter();
    ProcessService.connectTo(url : Fuego.Server.directoryURL, user :<username>, password : <password>);
    ifilter.create(processService : ProcessService);
    ifilter.searchScope = new SearchScope(participantScope : ParticipantScope.ALL , statusScope : StatusScope.ONLY_INPROCESS);
    //Notice i write public variable and not instance variable
    ifilter.addAttributeTo(variable : <public variable (such as description or one of your own)>, comparator : Comparison.<the one that fits you>, value : <value>);
    Fuego.Papi.Instance[] cInstances = ProcessService.getInstancesByFilter(filter : ifilter);
    foreach (instance in cInstances)
    //Second type of filtering (checking current activity and process), you can check just the activity name if its a unique name
    if (instance.activityName == <aotumatic activity name> && instance.processId.contains(regexp : '/<process name>/'))
    instance.abort();
    I use a similer code snippet to remove Interactive activities.
    Just notice that you filter only the instances you really want to take down.

  • Error while deploying a project to the OBPM 10GR3 Server

    Hi all,
    I am trying to deploy my current project to the OBPM 10GR3 server and it gives me the following exception. I am not sure what is this exception.
    The project compiles well in Studio 10GR3.
    Cannot publish the project.
    'close' is not a function. Caused by: 'close' is not a function.
    Does anybody know what is the exception?

    Got it..
    I was using Fuego.Sql.DynamicSQL.close(Iterator)
    For a an executeUpdate query which returns an int.
    But I used it in a method and did not use that method inside my process or screenflow.
    But it did not give me any error/exception while compiling it in Studio.
    It gave me an exception while publishing in Enterprise.
    This is strange.
    It should have given me an error/exception while compiling itself rather than while publishing in Enterprise.

  • Problem while Introspecting a Web-Service in OBPM 10GR3 studio

    I get the following problem while Introspecting a Web-Service in OBPM 10GR3 studio:-
    Introspecting...
    downloading /test-ws/testc?wsdl [Error] Instrospection exception: Web Service WSDL parse exception: HTTPS hostname wrong: should be <test-01.test.net>...
    Any idea why?
    It runs well in a browser, eclipse and SOAP UI?

    have you create the destination?
    do  you use the wizard to generate code?
    usually there is catch clause for this line of code
    wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
    Edited by: John Wu on Dec 16, 2010 11:51 PM

  • Return value for Direct OBPM SQL Query in OBPM 10GR3

    Hi all,
    I use a direct SQL Query provided by OBPM 10GR3 in my automatic activity to select certain elements from the db. The query is as follows:-
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    // statements
    logMessage("-- The id is-->" +element.id);
    This only returns when the id is found in the db but returns nothing when not found in db?
    How can I always get a return value? atleast a true or false, so that I can put IF statements?
    Because if it returns nothing, the loop does not execute {}? So we cannot put something like:-
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    logMessage("-- The id is-->" +element.id);
    if(element.id == null)
    logMessage("-- Id Not Found -->" );
    else
    logMessage("-- Id Found -->");
    How can I always get a return value from my OBPM direct query ?
    Remember , I am not using DynamicSQL in this case?

    Hi,
    Set a Boolean flag value to False before the SQL query.
    Some thing like:
    boolean flag = false;
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    logMessage("-- The id is-->" +element.id);
    flag = true;
    if(flag) {
    logMessage("-- Id Found -->" );
    else
    logMessage("-- Id Not Found -->");
    Hope the above logic would work fine.
    Bibhu
    Edited by: Bibhuti Bhusan on Sep 2, 2011 11:48 AM

  • Using Assoc Arrays in OBPM 10GR3 for 25 million comparisons

    Can we use Associative arrays in OBPM 10GR3 to do 25 million comparisons or even more than that?
    I have two assoc arrays which I compare with each other 25 million times by looping them one inside the other.
    For e.g.
    for(int i = 0; i < 5000; i++)
    for(j=0; j < 5000; j++)
    if(i==j)
    logMessage ("The value is equal");
    when I try to do that, I get an error:-
    Persistence Data error.
    I get this error:-
    Error while persisting the transaction data: 'An error occurred while accesing the database. Detail:SQL statement: 'unknown' ' Details: An error occurred while accesing the database. Detail:SQL statement: 'unknown' Caused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 302 seconds BEA1-25BFB4A4F3934EFC9C00 at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1418) at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330) at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189) at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64) at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92) at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482) at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541) at fuego.server.persistence.jdbc.JdbcServerActivityPersMgr.insertInstanceEvent(JdbcServerActivityPersMgr.java:913) at fuego.server.persistence.Persistence.storeInstanceEvent(Persistence.java:944) at fuego.server.execution.EngineExecutionContext.persistEvents
    So can we use such a big comparison on OBPM 10GR3. If yes, how?

    Don't use ASSOC Arrays. Use SETs.
    Also increase the JTA timeout in Weblogic to like say 600 seconds.

  • Text File opened in Wordpad cannot be parsed on OBPM 10GR3

    Hi all,
    Text File opened in Wordpad cannot be parsed on OBPM 10GR3
    Why is that?
    I use the following code to parse a file:-
    textFile = TextFile();
    textFile.open(name : "C:\testFile.txt");
    logMessage("---Does file exist?--> " + textFile.exists);
    foreach (line in textFile.lines) {
    logMessage("-- The LINE is-->" + line);
    pinBlockProcessing.linesCount = pinBlockProcessing.linesCount + 1;
    pinBlockProcessing.deviceIdentifierArray[] = line;
    textFile.close();

    Hi all,
    I also used other two methods to parse such a file which can be opened in Wordpad but not in Notepad.
    1) I used Java.Util.Scanner
    2) I also created and compiled a program/package/class which gets a file and parses it using Java.Util.Scanner using Java in Eclipse.
    I created a JAR out of it and tried to use this JAR in my process by introspecting it and then passing the file to be parsed to the methods in this JAR file.
    But this did not work either. Although the program does work in plain Java in Eclipse. It compiles and parses a a file which can be opened in Wordpad but not in Notepad.
    My program for both these methods was :-
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.util.Scanner;
    public class Test{
    public static void main(String args[]) throws IOException {
    FileReader fin = new FileReader("./testFile.txt");
    Scanner src = new Scanner(fin);
    src.useDelimiter("\n");
    while (src.hasNext()) {
    System.out.println(src.next());
    fin.close();
    This does not work either.
    All programs and methods work when a text file can be opened in NotePad.
    What could be possible solution in OBPM 10GR3?
    It is something to do with Carriage Return and generating a file in UNIX which when opened in Notepad shows one straight horizontal line and when opened in Wordpad shows vertical lines.

  • How to install a plugin in OBPM 10GR3

    How do we install a plugin in OBPM 10GR3. Any steps that you guys know of?
    I want to install a plugin which actually needs to be installed for eclipse but since OBPM 10GR3 is built on top of eclipse, I think I can install it in OBPM 10GR3..
    Please guide through the process.?

    BPM Studio (10g) is just a plugin for eclipse. To install other plugins, just use the Help - Software Updates - Find and Install
    HTH,
    -Kevin

  • Internet Explorer CLOSE Button for OBPM 10GR3 Presentations

    Hi all,
    I am using OBPM 10GR3 presentations with a POPUP window.
    I already have a close button to close the presentation. This is a Global Interactive Activity which displays the dashboards.
    The Global Interactive Activity contains a screenflow and inside the screenflow I have a Interactive Component Call to call the presentation.
    Now the presentation opens smoothly and everything is displayed.. When we hit the CLOSE button everything goes away and when we open it again it again comes back to the previous Interactive Component Call and restarts.
    BUT
    When we Close the window itself instead of using the CLOSE button of the presentations, and we re-open, we get the previous data.
    This is because we do not hit the CLOSE button of the presentation instead hit the IE WINDOW CLOSE button on the top right hand corner besides the minimize maximize button.
    Therefore the call is still inside the screenflow inside the Global Interactive Activity and therefore it waits for the user to hit the CLOSE button of the presentations otherwise does not close.
    How can we resolve this issue?
    How can we make sure, that if the user closes the IE WINDOW itself using the CLOSE button, it closes the presentation itself and when re-opened displays the previous presentation?

    Hi,
    First of all this is a training issue with the user. It is not advisable not to press the close button of the IE.
    Nevertheles you can disable to close button of the presentaion.
    You can remove the x from dialogs by doing this. Open the executionDialog.xhtml file in the <OraBPMEnterpriseHomeDirectory>\webapps\workspace\jsf\common directory (both Studio and Enterprise have this file).
    Change the text on line 81 from this:
    <oc:Dialog verticalAlign="top" offsetY="40" backColor="#D4E1EB" borderColor="#517B9E"
    borderStyle="solid" borderWidth="1px" id="executionDialog#{componentBean.id}"
    title="#{fn:getMsg('EXECUTION')}" broadcastName="executionDialog#{componentBean.id}"
    maximized="#{componentBean.executionDialogMaximized}" width="#{componentBean.executionDialogWidth}"
    height="#{componentBean.executionDialogHeight}" titleBarCssClass="bpmWorkspaceDialogHeader"
    displayMaximizeButton="true"
    modal="false" jsObjectName="executionDialog#{componentBean.id}">
    to this:
    <oc:Dialog verticalAlign="top" offsetY="0" backColor="#FFFFFF" borderColor="#FFFFFF"
    borderStyle="solid" borderWidth="1px" id="executionDialog#{componentBean.id}"
    title="#{fn:getMsg('EXECUTION')}" broadcastName="executionDialog#{componentBean.id}"
    maximized="#{componentBean.executionDialogMaximized}" width="#{componentBean.executionDialogWidth}"
    height="#{componentBean.executionDialogHeight}" titleBarCssClass="bpmWorkspaceDialogHeader"
    displayMaximizeButton="true"
    displayCloseButton="false" modal="false" jsObjectName="executionDialog#{componentBean.id}">
    This change does a couple things. The addition of the text "displayCloseButton="false"" removes the x button that is causing the undesired results you're getting and setting the colors to #FFFFFF changes the light blue border around dialog boxes to white.
    Bibhu

  • Clearance of aborted instances in workspace in OBPM 10gR3

    Hi all,
    We have 4000 aborted instances when we see in the OBPM workspace for now. The instances which were aborted later after the 4000 instances cannot be seen now in the workspace when we search for them by the following route:-
    Inside the workspace--> Show Filters --> Include the processes whose instances need to be seen --> Status --> Aborted..
    How can we delete these 4000 instances from the workspace and how can we see more than 4000 instances aborted in the workspace?
    Is there a limit?

    Poke around your engine's property settings. One of them (Instances cache / PAPI instance retrieval size) is set to 4000.
    As far as getting rid of the aborted instances, look at how often your engine's caducator (the "latency" setting) runs (typically every 48 hours) and how long the instances that have reached the end activity (the instance expiration setting) are looked at (typically every 15 days).
    Dan

  • When & how to use Instance.route(activityName) method  in OBPM 10gr3.

    Hi
    Could some one please briefly explain the use of Instance.route(activityName) method & plz share if you have any examples on it
    Thanks in advance.
    Santosh K.

    I tried your code and I have no trouble getting entries back. Looking at the internal code, if and exception occurs the method just returns an empty IList. So you  need to check for something like this in the ULS logs "Cannot access ULS share
    on \\{0}\logs", appears to  be a permissions issue.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Best Practice for using JSP in OBPM 10gr3

    Hi Guys,
    We are using JSP for UI in our project. We are new to the OBPM. wants to clarify some things.
    1. is it good to have jsp in screenflows or if we can manage it outside BPM also with same effect
    2. How is the BPM database structured. Is the PAPI API's avaialble to get all the desired information from it.
    3. Is notes/attachments/audits managed in BPM database or if we can manage it in external db also.. how to access these from java if it can be managed in BPM db.
    4. What are the pro's and cons of PAPI vs JMS
    Thanks in Advance!!!!

    1. is it good to have jsp in screenflows or if we can manage it outside BPM also with same effectOthers will probably disagree, but I always say to use Screenflows and to use the out of the box Workspace. They are built in as part of the product and you'll be facing a ton of work trying to duplicate this functionality outside.
    2. How is the BPM database structured. Is the PAPI API's avaialble to get all the desired information from it.Unless it's a project variable or a variable that is marked as "Separated", the instance variables are stored in a single blob in a row in the Engine's database. PAPI can retrieve the instance variable information (I posted something on how to do this a while back on this forum and can find it if you need it).
    3. Is notes/attachments/audits managed in BPM database or if we can manage it in external db also.. how to access these from java if it can be managed in BPM db.The out of the box notes and attachments are also stored as part of the blob. On the project I'm currently on, the customer wanted the attachments stored separately in an external database so we did not use the out of the box attachments. They wanted what they call "tasks" stored in a separate database. These tasks were for ad hoc queries to send a question to any department / user and then store the history of responses and routing.
    4. What are the pro's and cons of PAPI vs JMSSorry - you lost me here. Sure someone else will pick up on the comparison between the API Oracle BPM uses and JMS, but I'm not getting it.
    Dan

Maybe you are looking for

  • Powershell Script Send-zip not working when running in cmd

    I found there is powershell send-zip script available in technet.  I tested it and found that it works when the script is running under powershell env, but when it is calling in cmd env, I can see the zip file, but there is nothing in it.  If I add t

  • Global Temp Table vs. PL/SQL Table

    Hi, I'm trying to find out which better (efficient) to use in coding, a Global Temporary Table or PL/SQL table. The process requires evaluation to what data stored in the tbale. Thanks in advance.

  • How to print the attribute name and value?

    Hi, All, I am learning Jaxp and DOM. I am trying to parse a xml document using DOM as DocumentBuilder builder = factory.newDocumentBuilder(); document = builder.parse( new File(argv[0]) ); Assume that my xml have three levels. For each node, there is

  • Lumia 822

    i put a sd card from my droid into my lumia the pics and video load but i can not find the files that are on the card. when i plug the phone to a pc everything on the card shows up what am i doing wrong Solved! Go to Solution.

  • I need a procedure for creating a new user in SAP NW(BPC)

    Hi, I am doing Migration project from SAP BPC MS to NW. I don't know how to create a new user in NW. Could you please provide a document to create or add a new user in NW. Thanks and Regards Krishna