Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dca3630

Browse files
Update servicenow-integration.md
1 parent 90187c9 commit dca3630

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/programs/servicenow-integration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ HTTP Method | POST
8787
function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
8888
// Retrieve the incident with the passed in sys_id
8989
var sys_id = request.body.data.sys_id;
90+
// Create a new record for the table you want to use (in our example `incident`)
9091
var incident = new GlideRecord('incident');
9192
incident.get(sys_id);
9293
// Add comment to incident item
@@ -232,7 +233,7 @@ Name | Add Comment
232233
Table | Journal Entry [sys\_journal\_field]
233234
Advanced | Make sure the box is checked
234235

235-
14. Enter these values for these fields on the **When to run** tab:
236+
14. Enter these values for these fields on the **When to run** tab. In this example, we use the `incident` table, if you use a different escalation table use that name here instead of `incident`.
236237

237238
Field | Value
238239
----- | ------
@@ -300,7 +301,7 @@ Content-Type | application/json
300301
7. Click **Submit**.
301302
8. Navigate to **System Definition > Business Rules**.
302303
9. Click **New** to create a new business rule.
303-
10. Enter these values for these fields on the **When to run** tab:
304+
10. Enter these values for these fields on the **When to run** tab. In this example, we use the `incident` table, if you use a different escalation table use that name here instead of `incident`.:
304305

305306
Field | Value
306307
----- | -----

0 commit comments

Comments
 (0)