Get the App
SLTechnology News&Howtos  ›  Servers  › 

On how to delete a custom table in a non-Global state

Shulou Source: shulou.com Published: 2022-06-02 08:32:05 09月30日 Update

When we create an incorrect table in a non-Global state, it is impossible to delete the table using the normal method, that is, the delete button does not exist. This operation was also proposed by others a long time ago and thought to be BUG.

Https://hi.service-now.com/kb_view.do?sysparm_article=KB0623901

This is a question raised with SN a long time ago, but the SN reply will not be fixed until the New York version. In fact, SN has already provided an API from the Helsinki version, which is not obvious, but we need to do it ourselves. This API can help us to delete the action.

Here are the secrets:

Var tu = new TableUtils ()

Tu.dropAndClean ('sn_customerservice_scope_xxxx_table_name')

Https://docs.servicenow.com/bundle/madrid-application-development/page/app-store/dev_portal/API_reference/TableUtils/concept/c_TableUtilsAPI.html

Tags: Version method state normal action button secret book but this is the problem. Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Shulou Tech Info Redmi Microsoft