File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -202,9 +202,16 @@ Endpoint | The Public ServiceNow URL visible in configuration wizard on the Hack
202
202
Authentication Type | No authentication
203
203
Content | ` {"event_name":"close_report","element_id":"${sys_id}"} `
204
204
<
8000
td data-grid-cell-id="diff-3e162acc5f1772de63846c82ed18987ff43b7765dc53e81e0f651ad4ea2619ec-205-204-0" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-deletionNum-bgColor, var(--diffBlob-deletion-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">205
- 4 . Navigate to ** System Definition > Business Rules** .
206
- 5 . Click ** New** to create a new business rule.
207
- 6 . Enter these values for these fields on the ** When to run** tab:
205
+ 4 . Add these two HTTP Headers on the same HTTP Request tab:
206
+
207
+ Name | Value
208
+ ----- | -----
209
+ Accept | application/json
210
+ Content-Type | application/json
211
+
212
+ 5 . Navigate to ** System Definition > Business Rules** .
213
+ 6 . Click ** New** to create a new business rule.
214
+ 7 . Enter these values for these fields on the ** When to run** tab:
208
215
209
216
Field | Value
210
217
----- | -----
@@ -214,7 +221,7 @@ When | Async
214
221
Update | Make sure the box is checked
215
222
Filter Conditions | State: changes to : Closed
216
223
217
- 7 . Enter this script on the ** Advanced** tab:
224
+ 8 . Enter this script on the ** Advanced** tab:
218
225
219
226
```
220
227
(function executeRule(current, previous /*null when async*/) {
You can’t perform that action at this time.
0 commit comments