REST テーブル API を使用してインスタンスからデータを取得すると、HTTP-200 が返されますが、すべてのデータが JSON 応答本文に含まれているわけではありませんIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } REST テーブル API を使用してインスタンスからデータを取得すると、HTTP-200 が返されますが、すべてのデータが JSON 応答本文に含まれているわけではありません。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } すべてのリリースに適用されます。 Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } クライアントで JSON 応答本文を分析したところ、最後にエラーが表示されます。 ...test","application":"appr","u_state":"","escalated_ticket":""}],"error":{"detail":"No such column Check logs for error trace or enable glide.rest.debug property to verify REST request processing","message":"Transaction cancelled: maximum execution time exceeded"},"status":"failure"} This indicates that one of the REST Transaction Quota Rules have been exceeded. Meaning that the request ran too long and was terminated. To get details on which Quota Rule was exceeded check the node logfile, in this example the "REST Table API request timeout" was exceeded: 2019-09-11 14:09:02 (858) glide.quota.manager Quota exceeded for REST Table API request timeout, requesting cancel2019-09-11 14:09:02 (858) glide.quota.manager WARNING *** WARNING *** Transaction: Cancelling transaction #320040 /api/now/table/sn_customerservice_case (maximum execution time exceeded): Thread API_INT-thread-2 (null, 3EF11742DBBFB300483F5D104B9619B4), after 60682ms2019-09-11 14:09:02 (863) glide.quota.manager SYSTEM Cancelled 0 child transactions2019-09-11 14:09:02 (864) API_INT-thread-2 3EF11742DBBFB300483F5D104B9619B4 txid=36f11742dbbf WARNING *** WARNING *** Long Transaction started at 09/11/19 14:08:02.176, Memory at start was 677, Memory is 669, SQL count is 1,167, BR count is now 158.2019-09-11 14:09:02 (864) API_INT-thread-2 3EF11742DBBFB300483F5D104B9619B4 txid=36f11742dbbf WARNING *** WARNING *** Transaction cancelled: maximum execution time exceeded2019-09-11 14:09:02 (865) API_INT-thread-2 3EF11742DBBFB300483F5D104B9619B4 txid=36f11742dbbf SEVERE *** ERROR *** Transaction cancelled: maximum execution time exceededjava.lang.RuntimeException: Transaction cancelled: maximum execution time exceededat com.glide.rest.serializer.impl.JSONSerializer.handleSerializeException(JSONSerializer.java:163)at com.glide.rest.serializer.impl.JSONSerializer.serializeServiceResult(JSONSerializer.java:59)at com.glide.rest.handler.impl.ServiceResultHandlerImpl.serialize(ServiceResultHandlerImpl.java:130)at com.glide.rest.handler.impl.ServiceResultHandlerImpl.serializeIterable(ServiceResultHandlerImpl.java:116)at com.glide.rest.handler.impl.ServiceResultHandlerImpl.processServiceResultBody(ServiceResultHandlerImpl.java:94) これは、要求がクォータルールで定義された「最大期間 (秒)」よりも長く実行されたことを意味します。 クォータルールは以下にあります。 システム定義 >トランザクションクォータルール Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } この問題には、少なくとも 2 つの個別の解決策があります。 (1)クォータルールの「最大期間(秒)」の延長クォータルールを変更するには、[システム定義]-[トランザクションクォータルール>に移動します。これは、セマフォが長時間拘束され、インスタンスに大量の要求が送られる場合にパフォーマンスの問題を引き起こす可能性があるため、最適なオプションではない可能性があります。API_INTセマフォが枯渇するリスクが高くなります。 (2) より良いオプションは、要求がより迅速に実行されるように、応答で返される結果を制限することです。REST API カスタムクエリパラメーターを使用します。sysparm_queryを使用して要求内のクエリを変更したり、sysparm_fieldsを使用して返されるフィールドを制限したりして、sysparm_limitとsysparm_offsetを使用して限られた数の行のみを送り返す複数の要求を送信できます。 REST API カスタムクエリパラメーターの詳細については、次のドキュメントを参照してください。 https://docs.servicenow.com/csh?topicname=c_RESTAPI.html&version=latest