IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  [7.1.1] Cleaning a testing environment

    Posted 09/10/08 09:39 AM

    Hi dear members,

    I have a little request. We have a test environment with 7.1.1 wm components. We have one process that mix human/automatic tasks in a process. We had also enabled Optimize and every audit parameters.

    Our need is very simple : we want to erase every Tasks and Process Instance in this environment. By performing this action we want also in MWS > Administration > Business > Business Process that Used value are set as “No” (for deleting old process version).

    Maybe can we recreate some database components with the "Database Component Configurator? But in this case I don’t know which of them to “recreate”.

    Our constraint is : keeping IS/MWS configuration.

    Many thanks for your help ! :slight_smile:

    REM Database : SQL Server 2005


    #webMethods-BPMS
    #BPM
    #webMethods


  • 2.  RE: [7.1.1] Cleaning a testing environment

    Posted 09/11/08 01:17 PM

    Personally I’d use something like VMWare for a complete environment reset, unless you need to test the hardware as well. This is quick and reliable for testing scenarios from a known start point.

    You could recreate some of the schema which would also remove the process/task definitions as well as instances - sorry, I don’t know the specific schema component names off-hand.

    If you need a quick reset of just the instances, you can always delete the content of the instance tables. It’s not a supported way but might be OK for a test environment that would be rebuilt later. Alternatively, use the data purge (although I think that might leave ‘today’ intact).


    #webMethods
    #BPM
    #webMethods-BPMS


  • 3.  RE: [7.1.1] Cleaning a testing environment

    Posted 09/22/08 03:27 PM

    Hi Rob,

    Thanks for your information.
    Yes Cleaning the environnement is possible by using the Database Configurator and “recreate” some schemes.

    I did it … but it cleans everything ! :slight_smile:

    Well it seems that we have another possibility. I copy/Paste something here but for the moment I don’t test it :

    Go to DB tables WMGENERATIONRECEIPT, WMPROCESS, WMPROCESSRECENT, WMSTEPDEFINITION, WMSTEPTRANSITIONDEFINTION and delete process instances.

    First Search the PROCESS_NAME with

    select * from WMGENERATIONRECEIPT
    Have a look on your DATA, in production please make a backup of them

    select * from WMGENERATIONRECEIPT where PROCESSKEY = ‘PROCESS_NAME’
    select * from WMPROCESS where PROCESSKEY = ‘PROCESS_NAME’
    select * from WMPROCESSRECENT where PROCESSKEY = ‘PROCESS_NAME’
    select * from WMSTEPDEFINITION where PROCESSKEY = ‘PROCESS_NAME’
    select * from WMSTEPTRANSITIONDEFINITION where PROCESSKEY = ‘PROCESS_NAME’
    Delete what you need in this sequence

    – Erase Live DATA
    delete from WMPROCESS where PROCESSKEY = ‘PROCESS_NAME’
    delete from WMPROCESSRECENT where PROCESSKEY = ‘PROCESS_NAME’
    – Erase Definition
    delete from WMSTEPTRANSITIONDEFINITION where PROCESSKEY = ‘PROCESS_NAME’
    delete from WMSTEPDEFINITION where PROCESSKEY = ‘PROCESS_NAME’
    delete from WMGENERATIONRECEIPT where PROCESSKEY=‘PROCESS_NAME’


    #webMethods-BPMS
    #webMethods
    #BPM