FAQ:How to Delete all Supportworks ITSM Call Data: Difference between revisions

From support-works
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
| version=1.1
| version=1.1
| authors=Hornbill Support
| authors=Hornbill Support
| applicableto=Supportworks ITSM 2.x
| applicableto=Supportworks ITSM 2.x and above
}}
}}


The following describes how to remove all Call-related data from within Supportworks ITSM (for ITSM 2.x versions).
The following describes how to remove all Call-related data from within Supportworks ITSM (for ITSM Enterprise 2.x versions and above).


Please note that this will not remove any mail related data.


A backup of the system is advised before following these instructions.
'''Please Note'''
* A backup of the system is advised before following these instructions.
* These instructions will not remove any mail related data.
* If your system has been customised to create additional tables which contain call related data; these tables will also need to be cleared down in addition to the ones listed below. The names of these additional tables may contain either ''_oc_'' or ''_opencall_''.
* Errors indicating that a table does not exist can be ignored.
 


# Launch the Supportworks Server Configuration Program, via '''Start > Programs > Supportworks Server > Supportworks Server Configuration.
# Launch the Supportworks Server Configuration Program, via '''Start > Programs > Supportworks Server > Supportworks Server Configuration.
# On the '''Server''' Tab, stop the '''SwServerService''' process.
# On the '''Server''' Tab, stop the '''SwServerService''' process.
# Launch the Supportworks Interactive SQL Program, via '''Start > Programs > Hornbill Core Services > Interactive SQL''') (Or If on Third Party Db the Query tool of choice)
# Launch the Supportworks Interactive SQL Program, via '''Start > Programs > Hornbill Core Services > Interactive SQL''') (Or a Query tool of choice if you're using a database other than that provided by Supportworks)
# Enter the following statements: (Note: a WHERE clause should be used if you do not wish to DELETE ALL current call data)
# Enter the following statements: (Note: a WHERE clause should be used if you do not wish to DELETE ALL current call data)
#: '''Application Database'''
#: <code>use swdata;</code>
#: <code>use swdata;</code>
#: <code>delete from opencall;</code>
#: <code>delete from opencall;</code>
Line 28: Line 33:
#: <code>delete from itsm_opencall_problem;</code>
#: <code>delete from itsm_opencall_problem;</code>
#: <code>delete from itsm_opencall_rfc;</code>
#: <code>delete from itsm_opencall_rfc;</code>
#: <code>delete from cmn_rel_opencall_aba;</code>
#: <code>delete from cmn_rel_opencall_ci;</code>
#: <code>delete from cmn_rel_opencall_ci;</code>
#: <code>delete from cmn_rel_opencall_ila;</code>
#: <code>delete from cmn_rel_opencall_kb;</code>
#: <code>delete from cmn_rel_opencall_oc;</code>
#: <code>delete from cmn_rel_opencall_oc;</code>
#: <code>delete from cmn_rel_opencall_rakb;</code>
#: <code>delete from bpm_oc_auth;</code>
#: <code>delete from bpm_oc_auth;</code>
#: <code>delete from bpm_oc_hist;</code>
#: <code>delete from bpm_oc_hist;</code>
#: <code>delete from bpm_oc_stage;</code>
#: <code>delete from bpm_oc_task;</code>
#: <code>delete from bpm_oc_task;</code>
#: <code>delete from tpperformance</code>
#: <code>delete from call_activity;</code>
#: <code>delete from extoc_newequip</code> ''(if present)''
#: <code>delete from tpperformance</code>
#: <code>delete from extoc_newstarter </code> ''(if present)''
#: <code>delete from extoc_cfh</code>
#: <code>delete from extoc_newequip</code>
#: <code>delete from extoc_newstarter </code>
#: <code>delete from ila_oc_hist;</code>
#: <code>delete from itsm_oc_uri;</code>
#: <code>delete from itsm_oc_wiz;</code>
#: <code>delete from oc_audit;</code>
#: <code>delete from onhold_oc_notifiers;</code>
#: <code>delete from swkb_feedback;</code>
#: <code>delete from userdb_rating;</code>
#: <code>update swkb_articles set callref = null;</code> ''this will leave the knowledgebase article but remove the link to a call''
#: '''Knowledgebase Database'''
#: <code></code>
#: <code>Use sw_knowledgebase;</code>
#: <code>delete from kbunpubcalls;</code>
#: <code>update kbdocuments set callref = null;</code> ''this will leave the knowledgebase article but remove the link to a call''
#: '''System Database'''
#: <code></code>
#: <code></code>
#: <code>Use sw_systemdb;</code>
#: <code>Use sw_systemdb;</code>
Line 42: Line 68:
#: <code>delete from opencall_sla_evts;</code>
#: <code>delete from opencall_sla_evts;</code>
#: <code>delete from opencall_sla;</code>
#: <code>delete from opencall_sla;</code>
#: <code>delete from opencall_sla_exc;</code>
#: <code>delete from opencall_sla_hold;</code>
#: <code>delete from updatedb_call_index;</code>
#: <code>delete from wc_calltasks;</code>
#: <code>delete from watchcalls;</code>
#: <code>delete from system_cfastore;</code>
#: <code>delete from system_cfastore;</code>
#: <code></code>
#: <code></code>
Line 48: Line 79:
#: <code>Update system_counters set  count=1 where name=’nextcallreference’;</code>
#: <code>Update system_counters set  count=1 where name=’nextcallreference’;</code>
#: <code>Exit;</code>
#: <code>Exit;</code>
# Delete the following files
# Delete all the sub-folders and files in the following location on the Supportworks Server. This folder contains Call File Attachments
#: '''C: /Program Files/Hornbill/Supportworks Server/Data/_cfastore/FOLDER/*.*'''
#: '''C: /Program Files/Hornbill/Supportworks Server/Data/_cfastore/*.*'''
#:  (Where "C: /Program Files/Hornbill/" is the default installation folder and "FOLDER" is the folder containing the File attachments for the  given range of calls)
#:  (Where "C: /Program Files/Hornbill/" is the default installation folder)
# In the Supportworks Server Configuration Program, restart the '''SwServerService''' process, and check that all test data has been removed.
# In the Supportworks Server Configuration Program, start the '''SwServerService''' process, and check that all test data has been removed.

Latest revision as of 11:40, 26 September 2018



Status: Published
Version: 1.1
Authors: Hornbill Support
Applies to: Supportworks ITSM 2.x and above

The following describes how to remove all Call-related data from within Supportworks ITSM (for ITSM Enterprise 2.x versions and above).


Please Note

  • A backup of the system is advised before following these instructions.
  • These instructions will not remove any mail related data.
  • If your system has been customised to create additional tables which contain call related data; these tables will also need to be cleared down in addition to the ones listed below. The names of these additional tables may contain either _oc_ or _opencall_.
  • Errors indicating that a table does not exist can be ignored.


  1. Launch the Supportworks Server Configuration Program, via Start > Programs > Supportworks Server > Supportworks Server Configuration.
  2. On the Server Tab, stop the SwServerService process.
  3. Launch the Supportworks Interactive SQL Program, via Start > Programs > Hornbill Core Services > Interactive SQL) (Or a Query tool of choice if you're using a database other than that provided by Supportworks)
  4. Enter the following statements: (Note: a WHERE clause should be used if you do not wish to DELETE ALL current call data)
    Application Database
    use swdata;
    delete from opencall;
    delete from updatedb;
    delete from calltasks;
    delete from swissues;
    delete from itsm_opencall_problem;
    delete from itsm_opencall_rfc;
    delete from cmn_rel_opencall_aba;
    delete from cmn_rel_opencall_ci;
    delete from cmn_rel_opencall_ila;
    delete from cmn_rel_opencall_kb;
    delete from cmn_rel_opencall_oc;
    delete from cmn_rel_opencall_rakb;
    delete from bpm_oc_auth;
    delete from bpm_oc_hist;
    delete from bpm_oc_stage;
    delete from bpm_oc_task;
    delete from call_activity;
    delete from tpperformance
    delete from extoc_cfh
    delete from extoc_newequip
    delete from extoc_newstarter
    delete from ila_oc_hist;
    delete from itsm_oc_uri;
    delete from itsm_oc_wiz;
    delete from oc_audit;
    delete from onhold_oc_notifiers;
    delete from swkb_feedback;
    delete from userdb_rating;
    update swkb_articles set callref = null; this will leave the knowledgebase article but remove the link to a call
    Knowledgebase Database
    Use sw_knowledgebase;
    delete from kbunpubcalls;
    update kbdocuments set callref = null; this will leave the knowledgebase article but remove the link to a call
    System Database
    Use sw_systemdb;
    delete from opencall;
    delete from updatedb;
    delete from opencall_sla_evts;
    delete from opencall_sla;
    delete from opencall_sla_exc;
    delete from opencall_sla_hold;
    delete from updatedb_call_index;
    delete from wc_calltasks;
    delete from watchcalls;
    delete from system_cfastore;
  5. Enter the following statements to reset the call reference counters and close the interactive SQL Window:
    Use sw_systemdb;
    Update system_counters set count=1 where name=’nextcallreference’;
    Exit;
  6. Delete all the sub-folders and files in the following location on the Supportworks Server. This folder contains Call File Attachments
    C: /Program Files/Hornbill/Supportworks Server/Data/_cfastore/*.*
    (Where "C: /Program Files/Hornbill/" is the default installation folder)
  7. In the Supportworks Server Configuration Program, start the SwServerService process, and check that all test data has been removed.