概要
ServiceNow開発で一番覚えるべきことは機能ごとの管理テーブル
基本機能に絞って、アプリとテーブルの対応表を作成した。
対応表
| アプリケーション | 英名 | 対応テーブル |
|---|---|---|
| フォーム | Form | sys_ui_form |
| リスト | ListLayout | sys_ui_list |
| リストコントロール | ListControll | sys_ui_list_controll |
| 関連リスト | related list | sys_ui_related_list |
| 表示ルール | rule view | sysrule_view |
| UIページ | UI page | sys_ui_page |
| ビジネスルール | business rule | sys_script |
| スクリプトインクルード | script include | sys_script_include |
| 予定スクリプト | auto script | sysauto_script |
| イベント登録 | event register | sysevent_register |
| UIポリシー | ui policy | sys_ui_policy |
| ロール | role | sys_user_role |
| アクセスコントロール | acl | sys_security_acl |
| システムプロパティ | property | sys_properties |
| メッセージ | message | sys_ui_message |
| アプリケーションメニュー | application menu | sys_app_application |
| アプリケーションメニュー(mobile) | application menu | sys_ui_application |
| モジュール | module | sys_app_module |
| モジュール | (mobile) | sys_ui_module |
| 通知 | notification | sys_notification |
| サービスポータル | service portal | sp_portal |
| サービスポータルページ | service portal pages | sp_page |
| サービスポータルウィジェット | service portal widget | sp_widget |
| ポータルページ | portal page | sys_portal_page |
| カタログアイテム | catalog item | sc_cat_item |
| レコードプロデューサー | record producer | sc_cat_item_producer |
| カタログ | catalog | sc_catalog |
| カテゴリ | category | sc_category |
| カタログUIポリシー | catalog ui policy | catalog_ui_policy |
| 変数セット | variable set | item option new set |
| カタログクライアントスクリプト | catalog_crient_script | catalog_script_client |
| エクスポート定義 | export definition | sys_export_definition |
| フロー | flow | sys_hub_flow |
| アクション | sys_flow_step_definition |
function cancelTicket(){
var answer=confirm("Are you sure you want to cancel this record?");
if (answer==true)
{
gsftSubmit(null, g_form.getFormElement(), 'cancel_change'); //MUST call the 'Action name' set in this UI Action
}
else
{
return false;
}
}
if(typeof window == 'undefined')
{
current.state = 8;
current.update();
action.setRedirectURL(current);
gs.addInfoMessage('The current change request has been cancelled.');
}