How to Purge ONLY multiple STALE instances from the Instances Tab in a sing

Hi BPEL Gurus,
In BPEL Process Manager (Instances Tab), I am able to see all the
instances (Active, Completed, Faulted, Aborted and Stale).
We are using Oracle's SOA Suite 10.1.3.1
The Instances Tab also gives me an option to filter out different
state of instances, with this kind of filtering,
I am able to view either Active instances or only Stale instances.
But my primary concern is after doing this filtering,
If I want to delete all the 100 Stale instances in a single command,
How do I achieve this ?
I am able to delete only single instance at a time, which is really
a time-consuming activity.
Is there some kind of SQL Script (Delete statement), which does
the above activity to delete 100 Stale instances in one go.
If there is any SQL Script, please do provide me with the same,
since this is a critical production issue for us.
Also on which Oracle schema, do I need to execute the above SQL Script.
All BPEL Geeks, please do help me.
Thanks & Regards,
Gopal D. Kalsekar
Senior Software Developer
Business Solutions (eGroup)
M.H. Alshaya Company W.L.L.
www.alshaya.com
P :- (965) 224 3598
F :- (965) 224 2488
E :- [email protected]

Hi Riko,
     Marc Kelderman has done an excellent job by writing
     purge_bpel_dehydration Stored Procedure.
     But after having a look at ORABPEL schema,
     no records are visible in any of the tables.
     (Is there any way to unhide these records in TOAD 6.3.2 ?)
     Also the script mentions about CUBE_INSTANCE table.
     In this table, there is a STATE column.
     What number do I need to specify in the WHERE clause
     of my SELECT query for this STATE column, so that I can
     only retrieve and delete STALE instances.
     Also as we are using SOA Suite 10.1.3.1, there is no
     such table by the name of WFTASK.
     I can see only 2 tables PC_TASK and TASK in ORABPEL schema.
     From which table, do I need to delete.
     Please confirm.
Thanks & Regards,
Gopal D. Kalsekar

Similar Messages

  • How can i create multiple apple ids from the same mac

    There seems to be a limit on how many apple ids can be created from the same cpu. Trying to create 100 apple ids for a client to use on ipads distributed to employees i found i could only create three or four before i got the message account cannot be created, contact itunes support. Had the same problem creating multiple itunes accounts through the App Store.

    I found this discussion because I need to create dozens of Apple IDs for the faculty and staff of the school for which I'm the IT Director.
    This is weak.
    Apple, PLEASE upgrade the Apple ID system so it represents the current needs and paradigm.
    What am I thinking, Apple (like Google) don't follow user discussion forums, except by accident when an employee sees something and is motivated enough to carry the water for users in need.

  • How to save only newly added elements from the trailing list

    Dear,
    I have a shuttle bean with left and right trailing lists.
    At some point I save the right trailing list content to DB. Then I add additinal elements to the trailing list. Trying to save again gives me oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key
    exception.
    What is the approach I can take to only save newly added elements from the shuttle?
    I am wondering if I can put the extra logic (what logic would that be - do I need to check the PK value that is already in the database?) in the AM method with which I save the shuttle like here (TicketID and ResponsibilityID are primary key)
    if (items != null)
    Object ia[] = items.toArray();
    for(int i=1; i<ia.length; i++)
    Row rowApproval = vo.createRow();
    vo.insertRow(rowApproval);
    rowApproval.setNewRowState(Row.STATUS_INITIALIZED);
    Row row = vo.getCurrentRow();
    row.setAttribute("TicketId",items.get(0));
    row.setAttribute("ResponsibilityId",items.get(i) );
    row.setAttribute("Status",items.get(i));
    or should I do something in the EO?
    Thank you
    Anatoliy

    Hi,
    Can you please clarify - do I have to make a loop? I mean for every record/element in the trailing list
    I run the VO (that I will create) VO.executeQuery?Yes you do need to execute the VO for every record....by passing the different parameter in each iteration.
    Regards,
    Gyan

  • How do I delete recently closed windows from the history tab

    when closing the browser, even after private viewing, the site shows in the recently closed windows section of the history button on the toolbar. how can I delete this section. I have options set in the tool section but still doesn't work. helppppppppppppppppppp!

    Make sure to close all tabs in a window before closing that window.
    Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.
    *http://kb.mozillazine.org/about:config

  • How do I delete individual phone calls from the recent tab on my 3GS?

    Hi there all,
    My first post online in an Apple forum. God I wish I switched from my HTC pile of %$*&! to an iPhone earlier, what a great phone.
    I have gone online and read the manual as to trying to find the answer but I can't. So maybe fellow users can assist me?
    In the recent calls tab on Ver 3.1 How do I delete individual calls without deleting the entire history of all the other calls?
    Say I have ten phone calls on my screen in the recent tab. I want to delete the one from Bob Claus and leave the rest of the history of all other callers there?
    How does one do this please?
    Many thanks in advance for your assistance and advice.

    Welcome to the discussions,
    this is not supported at this time. If you want this feature, you can leave your suggestion directly here http://www.apple.com/feedback/iphone.html

  • Can't create multiple dependent LOVs from the same bind variable

    Hi all,
    I'm having difficulty creating multiple dependent LOVs from queries based on the same bind variable in my JSF application (JDev 10.1.3.1). Basically I have a static LOV in a af:selectOneChoice component from which users select a value which then becomes the bind variable value for two separate queries that generate two different dependent LOV. Having developed the code along the lines of Steve Muench 's blog (http://radio.weblogs.com/0118231/2006/04/03.html#a685), the first dependent LOV works really well. The first dynamic LOV gets refreshed whenever the list from the static LOV changes, and I can execute other queries based on the values selected.
    The problem arises when I want to create the second dynamic/dependent LOV that has the same bind variable based on the same selected value from the static LOV. Here I would also like the functionality whereby the second dynamic LOV is also refreshed after the selected value in the static LOV changes. Thinking that all I had to do was replicate the methodology used in creating the first dependent LOV, I created the second iterator, invokeAction and other binding components in the PageDef. The executable section now looks like the following:
    <iterator id="SelectStaticQueryViewObjIterator"
                  Binds="SelectStaticQueryViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery1BindParameter"
                  Binds="ExecuteWithParams1" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery1ViewObjIterator"
                  Binds="SelectDynamicQuery1ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery2BindParameter"
                  Binds="ExecuteWithParams2" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery2ViewObjIterator"
                  Binds="SelectDynamicQuery2ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>I now have a problem whereby everytime I change the value of the static LOV, multiple HTML components for the same ADF component are being generated (the LOVs are refreshed via PPR). The surprising thing is that this duplicating behaviour applies to all ADF components listed after the first dynamic LOV in the *.jspx source. For example, I have a <af:outputText="Test Text"/> component created after the first dynamic LOV. Each time the value in the static LOV changes, a duplicate HTML component is created. This also applies to the 'related' second dynamic LOV which is bound to a af:selectOneChoice component - multiple dropdown lists are created. I've checked with the browser's Page Source and there are actually multiple html components being generated with their own unique ADF-generated IDs. I've tried all different options for the Referesh and RefreshCondition attibutes in the second invokeAction element but nothing seems to eliminate this issue.
    Any suggestions about how I might create multiple dependent LOVs from the same bind variable that get refreshed when the selected value changes would be greatly appreciated.
    Thanks
    George

    Hi all,
    Just updating the thread on how I've overcome this issue. As it stood the manner in which I was trying to solve my use case, as described above, was creating an absolute mess. Then with a blank sheet of paper I quickly realised that a much simpler solution would be to create a whole series of master-detail VOs and build my components around them. Thankfully I haven't had any issues going down this path as yet.
    Cheers
    George

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • How do I get multiple return results from a function

    IDBASKET IDSTAGE DTSTAGE
    3 1 24-JAN-03
    3 5 25-JAN-03
    4 1 13-FEB-03
    4 5 13-FEB-03
    5 3 21-FEB-03
    I input is a single IDBASKET number from this table and this function works fine only if it has one IDSTAGE per idbasket. (idbasket#5)
    But how do I get it to return a result for an IDBASKET when it has multiple IDSTAGE? (idbasket#3 & 4)
    THANKS MUCH,
    MAT
    SQL> CREATE OR REPLACE FUNCTION status_desc_sf
    2 (p_code NUMBER)
    3 RETURN VARCHAR2
    4 IS
    5 lv_output_txt VARCHAR2(30);
    6 BEGIN
    7 IF p_code = 1 THEN lv_output_txt := 'Order submitted';
    8 ELSIF p_code = 2 THEN lv_output_txt := 'Accepted, sent to shipping';
    9 ELSIF p_code = 3 THEN lv_output_txt := 'Backordered';
    10 ELSIF p_code = 4 THEN lv_output_txt := 'Cancelled';
    11 ELSIF p_code = 5 THEN lv_output_txt := 'Shipped';
    12 ELSE lv_output_txt := 'No information';
    13 END IF;
    14 RETURN lv_output_txt;
    15 END;
    16 /

    Duplicate thread:
    How do I get multiple return results from a function

  • TS3899 How can i delete multiple e-mails from my iphone 4S. There are indicated more than 1500 e., but when i open the file there is indicated: no e-mail.

    How can i delete multiple e.mails from my iPhone 4 S. ? It shows the presence of more than 1500 e-mails. But when I try to open the account it shows that there a no e-mails. So i cannot delete them.

    I would disconnect the email on your phone...
    And reconnect again and if it still does that go on an actual computer, log on and delete the mails with ease...
    Hope this helps..it may just need to be refreshed...

  • How can I add multiple email addresses  from spreadsheet into email?

    how can I add multiple email addresses  from spreadsheet into email?

    I have tried that, but the system reads the emails as one long email and I can't find any way of separating them - it ignores spaces, colons and I have also tried putting them through a word doc... still does not work. It works perfectly easily on a PC system!! ( I have just moved to a mac!)
    any ideas would be good
    thanks

  • How do I copy multiple email addresses from one email sent TO me into a new message?

    How do I copy multiple email addresses from an email sent to me into a new message?

    Are they in the body of the mail?
    Hold your finger down in that mail until the little blue bubble pops up. One of the options should be to select all. Choose that and all will be hilighted. then a pop up comes up to copy, choose that, open your destination and hold your finger down to get the paste dialogue.

  • I have iphoto 6.  How do I only selecy certain photos from my camera when importing rather than all of them as show in the import page that loads

    I have iphoto 6.  How do I only selecy certain photos from my camera when importing rather than all of them as show in the import page that loads

    You use Image Capture (in your Applications Folder) for that job - or upgrade to a later iPhoto.
    Regards
    TD

  • How do I get to the screen in Mail that allows you to delete multiple "Previous Recipients"  from the list? I have seen it but cannot find it again. Help.

    How do I get to the screen in Mail that allows you to delete multiple "Previous Recipients"  from the list? I have seen this screen but cannot find it again. It shows all of the "Previous Recipients" in a long list. You can edit the list by selecting multiple names or all names with the command key and delete. Help.

    Launch the Mail app on your Mac and go to Window>Previous Recipients.

  • I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one made AFTER the lost data. How can I access an older backup from the cloud?

    I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one it made AFTER the lost data. How can I access an older backup from the cloud?

    Why don't you talk to apple and find out if backup exists? That conversation with apple will stop your guessing.

  • How can I remove multiple duplicate photos from Photoshop Elements 6 catalogue?

    How can I remove multiple duplicate photos from Elements 6 catalogue?

    Newer versions have similarity recognition software but in PSE6 you have to do it manually.

Maybe you are looking for

  • Tooltip on pushbutton on alv report selection screen

    Hi Experts, I have a selection screen with two pushbuttons i want to provide tooltip on this button when user takes his cursor on it .. some part of my code Selection screen: SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01. SELECTION-SCR

  • How to Publish on the Web a PDF document in Reading mode only

    Hello, I'm planning to post on my web site my manuscript in PDF format. I would like to make it available in a reading mode only.. I wonder if ADOBE LIVECYCLE Rights Management would allow me to do so in a safe manner. What would be the cost? Thanks.

  • Where is the HP8563_32.dll file located?

    Can someone direct me the HP8563E_32.dll file?  It was not included in the HP8563E driver that I downloaded from NI.com. Thanks, Jared

  • Why is my macbook air webcam so slow?

    i have the app PhotoBooth the one that the mac brought and even if im not using any programs or internet is kinda slow is faster when i dont use nothing but i thought that if i move or something it will do it at the same time not seconds later. IS TH

  • Getting below error on running initialize_services.sh

    [localhost control]$ ./initialize_services.sh --force Removing existing application provisioning... [10.24.13 14:11:56] INFO: Removing application. Any active components will be forced to stop. [10.24.13 14:11:57] SEVERE: Caught an exception while tr