Skip to content

Commit 1c3155c

Browse files
committed
fix(servicenow): stop constant interpolation leaking into tool descriptions
The docs generator and the client-facing integration catalog read tool descriptions from source rather than from the evaluated module, so a template literal like `state ${INCIDENT_STATE.RESOLVED}` shipped to users verbatim: `apps/sim/lib/integrations/integrations.json` and the published ServiceNow integration page both rendered `${INCIDENT_STATE.RESOLVED}` instead of `6`. Inline the base-system coded values in the description text; the constants stay in use everywhere behavior depends on them. Also drops an escaped `\'` in the `inputDisplayValue` description for the same reason, and adds a standing guard test asserting no subBlock id carries two different seeded defaults — the invariant behind the per-operation defaulting bug, now checked structurally rather than only through the four per-operation cases.
1 parent aeda3eb commit 1c3155c

17 files changed

Lines changed: 99 additions & 63 deletions

apps/docs/content/docs/en/integrations/servicenow.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Create an incident in ServiceNow. Reference fields (caller, assignment group, as
239239
| `impact` | string | No | Impact: 1 \(High\), 2 \(Medium\), or 3 \(Low\). |
240240
| `urgency` | string | No | Urgency: 1 \(High\), 2 \(Medium\), or 3 \(Low\). |
241241
| `priority` | string | No | Priority 1-5 \(1 Critical … 5 Planning\). Normally derived from impact and urgency, so prefer setting those. |
242-
| `state` | string | No | Incident state coded value. Base system: $\{INCIDENT_STATE.NEW\}=New, $\{INCIDENT_STATE.IN_PROGRESS\}=In Progress, $\{INCIDENT_STATE.ON_HOLD\}=On Hold, $\{INCIDENT_STATE.RESOLVED\}=Resolved, $\{INCIDENT_STATE.CLOSED\}=Closed, $\{INCIDENT_STATE.CANCELED\}=Canceled. Defaults to New. |
242+
| `state` | string | No | Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled. Defaults to New. |
243243
| `assignmentGroup` | string | No | Assignment group \(assignment_group\) — sys_id of the sys_user_group. |
244244
| `assignedTo` | string | No | Assigned to \(assigned_to\) — sys_id of the sys_user. |
245245
| `cmdbCi` | string | No | Configuration item \(cmdb_ci\) — sys_id of the affected CI. |
@@ -330,7 +330,7 @@ Search ServiceNow incidents by state, priority, assignment, caller, or text. All
330330
| Parameter | Type | Required | Description |
331331
| --------- | ---- | -------- | ----------- |
332332
| `searchText` | string | No | Text to match against the incident short description using the ServiceNow LIKE operator, which matches anywhere in the field. |
333-
| `state` | string | No | Incident state coded value. Base system: $\{INCIDENT_STATE.NEW\}=New, $\{INCIDENT_STATE.IN_PROGRESS\}=In Progress, $\{INCIDENT_STATE.ON_HOLD\}=On Hold, $\{INCIDENT_STATE.RESOLVED\}=Resolved, $\{INCIDENT_STATE.CLOSED\}=Closed, $\{INCIDENT_STATE.CANCELED\}=Canceled. |
333+
| `state` | string | No | Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled. |
334334
| `priority` | string | No | Priority coded value 1-5 \(1 Critical … 5 Planning\). |
335335
| `assignmentGroup` | string | No | sys_id of the assignment group. |
336336
| `assignedTo` | string | No | sys_id of the assigned user. |
@@ -379,7 +379,7 @@ Update fields on an existing ServiceNow incident. Only the fields you supply are
379379
| --------- | ---- | -------- | ----------- |
380380
| `shortDescription` | string | No | New short description. |
381381
| `description` | string | No | New detailed description. |
382-
| `state` | string | No | Incident state coded value. Base system: $\{INCIDENT_STATE.NEW\}=New, $\{INCIDENT_STATE.IN_PROGRESS\}=In Progress, $\{INCIDENT_STATE.ON_HOLD\}=On Hold, $\{INCIDENT_STATE.RESOLVED\}=Resolved, $\{INCIDENT_STATE.CLOSED\}=Closed, $\{INCIDENT_STATE.CANCELED\}=Canceled. Use Resolve or Close ServiceNow Incident for those transitions so the resolution fields are populated. |
382+
| `state` | string | No | Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled. Use Resolve or Close ServiceNow Incident for those transitions so the resolution fields are populated. |
383383
| `impact` | string | No | Impact: 1 \(High\), 2 \(Medium\), or 3 \(Low\). |
384384
| `urgency` | string | No | Urgency: 1 \(High\), 2 \(Medium\), or 3 \(Low\). |
385385
| `priority` | string | No | Priority coded value 1-5 \(1 Critical … 5 Planning\). |
@@ -425,7 +425,7 @@ Update fields on an existing ServiceNow incident. Only the fields you supply are
425425

426426
### Resolve ServiceNow Incident
427427

428-
Move a ServiceNow incident to Resolved (state $\{INCIDENT_STATE.RESOLVED\}) with a resolution code and resolution notes.
428+
Move a ServiceNow incident to Resolved (state 6) with a resolution code and resolution notes.
429429

430430
#### Input
431431

@@ -469,7 +469,7 @@ Move a ServiceNow incident to Resolved (state $\{INCIDENT_STATE.RESOLVED\}) with
469469

470470
### Close ServiceNow Incident
471471

472-
Move a ServiceNow incident to Closed (state $\{INCIDENT_STATE.CLOSED\}) with a resolution code and resolution notes. Closing normally requires the itil_admin or admin role.
472+
Move a ServiceNow incident to Closed (state 7) with a resolution code and resolution notes. Closing normally requires the itil_admin or admin role.
473473

474474
#### Input
475475

@@ -662,7 +662,7 @@ Search ServiceNow change requests by state, type, risk, assignment, or text. All
662662
| Parameter | Type | Required | Description |
663663
| --------- | ---- | -------- | ----------- |
664664
| `searchText` | string | No | Text to match against the change short description using the ServiceNow LIKE operator, which matches anywhere in the field. |
665-
| `state` | string | No | Change state coded value. Base system: $\{CHANGE_STATE.NEW\}=New, $\{CHANGE_STATE.ASSESS\}=Assess, $\{CHANGE_STATE.AUTHORIZE\}=Authorize, $\{CHANGE_STATE.SCHEDULED\}=Scheduled, $\{CHANGE_STATE.IMPLEMENT\}=Implement, $\{CHANGE_STATE.REVIEW\}=Review, $\{CHANGE_STATE.CLOSED\}=Closed, $\{CHANGE_STATE.CANCELED\}=Canceled. |
665+
| `state` | string | No | Change state coded value. Base system: -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled. |
666666
| `type` | string | No | Change type: "normal", "standard", or "emergency". |
667667
| `risk` | string | No | Risk coded value. The choice list is configured per instance. |
668668
| `assignmentGroup` | string | No | sys_id of the assignment group. |
@@ -711,7 +711,7 @@ Update fields on an existing ServiceNow change request. Only the fields you supp
711711
| --------- | ---- | -------- | ----------- |
712712
| `shortDescription` | string | No | New short description. |
713713
| `description` | string | No | New detailed description. |
714-
| `state` | string | No | Change state coded value. Base system: $\{CHANGE_STATE.NEW\}=New, $\{CHANGE_STATE.ASSESS\}=Assess, $\{CHANGE_STATE.AUTHORIZE\}=Authorize, $\{CHANGE_STATE.SCHEDULED\}=Scheduled, $\{CHANGE_STATE.IMPLEMENT\}=Implement, $\{CHANGE_STATE.REVIEW\}=Review, $\{CHANGE_STATE.CLOSED\}=Closed, $\{CHANGE_STATE.CANCELED\}=Canceled. |
714+
| `state` | string | No | Change state coded value. Base system: -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled. |
715715
| `risk` | string | No | Risk coded value. The choice list is configured per instance. |
716716
| `impact` | string | No | Impact: 1 \(High\), 2 \(Medium\), or 3 \(Low\). |
717717
| `priority` | string | No | Priority coded value 1-5 \(1 Critical … 5 Planning\). |
@@ -757,14 +757,14 @@ Update fields on an existing ServiceNow change request. Only the fields you supp
757757

758758
### Move ServiceNow Change State
759759

760-
Move a ServiceNow change request to another state. Base-system change model states are $\{CHANGE_STATE.NEW\}=New, $\{CHANGE_STATE.ASSESS\}=Assess, $\{CHANGE_STATE.AUTHORIZE\}=Authorize, $\{CHANGE_STATE.SCHEDULED\}=Scheduled, $\{CHANGE_STATE.IMPLEMENT\}=Implement, $\{CHANGE_STATE.REVIEW\}=Review, $\{CHANGE_STATE.CLOSED\}=Closed, $\{CHANGE_STATE.CANCELED\}=Canceled. The state machine rejects transitions whose conditions are not met.
760+
Move a ServiceNow change request to another state. Base-system change model states are -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled. The state machine rejects transitions whose conditions are not met.
761761

762762
#### Input
763763

764764
| Parameter | Type | Required | Description |
765765
| --------- | ---- | -------- | ----------- |
766-
| `state` | string | Yes | Target state coded value: $\{CHANGE_STATE.NEW\} \(New\), $\{CHANGE_STATE.ASSESS\} \(Assess\), $\{CHANGE_STATE.AUTHORIZE\} \(Authorize\), $\{CHANGE_STATE.SCHEDULED\} \(Scheduled\), $\{CHANGE_STATE.IMPLEMENT\} \(Implement\), $\{CHANGE_STATE.REVIEW\} \(Review\), $\{CHANGE_STATE.CLOSED\} \(Closed\), or $\{CHANGE_STATE.CANCELED\} \(Canceled\). |
767-
| `closeCode` | string | No | Close code, required when moving to Closed \($\{CHANGE_STATE.CLOSED\}\): "successful", "successful_issues", or "unsuccessful". |
766+
| `state` | string | Yes | Target state coded value: -5 \(New\), -4 \(Assess\), -3 \(Authorize\), -2 \(Scheduled\), -1 \(Implement\), 0 \(Review\), 3 \(Closed\), or 4 \(Canceled\). |
767+
| `closeCode` | string | No | Close code, required when moving to Closed \(3\): "successful", "successful_issues", or "unsuccessful". |
768768
| `closeNotes` | string | No | Close notes describing the outcome of the change. |
769769
| `workNotes` | string | No | Internal work note explaining the transition. |
770770

@@ -995,14 +995,14 @@ Retrieve a single ServiceNow requested item (RITM) by number (e.g., RITM0010001)
995995

996996
### List ServiceNow Approvals
997997

998-
List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the "$\{APPROVAL_STATE.REQUESTED\}" state, which is what a user's pending approvals look like.
998+
List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the "requested" state, which is what a user's pending approvals look like.
999999

10001000
#### Input
10011001

10021002
| Parameter | Type | Required | Description |
10031003
| --------- | ---- | -------- | ----------- |
10041004
| `approverSysId` | string | No | sys_id of the approver \(sys_user\) whose approvals should be listed. Use Find ServiceNow User to resolve an email address to a sys_id. |
1005-
| `state` | string | No | Approval state: "$\{APPROVAL_STATE.REQUESTED\}" \(pending, the default\), "$\{APPROVAL_STATE.APPROVED\}", or "$\{APPROVAL_STATE.REJECTED\}". Pass an empty string with a custom query to list every state. |
1005+
| `state` | string | No | Approval state: "requested" \(pending, the default\), "approved", or "rejected". Pass an empty string with a custom query to list every state. |
10061006
| `approvalFor` | string | No | sys_id of the record being approved, matched against the sysapproval reference field. |
10071007

10081008
#### Output
@@ -1046,7 +1046,7 @@ Approve or reject a ServiceNow approval record by setting its state on the Appro
10461046
| Parameter | Type | Required | Description |
10471047
| --------- | ---- | -------- | ----------- |
10481048
| `approvalSysId` | string | Yes | sys_id of the approval record on the sysapproval_approver table. Use List ServiceNow Approvals to find it. |
1049-
| `decision` | string | Yes | Decision to record: "$\{APPROVAL_STATE.APPROVED\}" or "$\{APPROVAL_STATE.REJECTED\}". |
1049+
| `decision` | string | Yes | Decision to record: "approved" or "rejected". |
10501050
| `comments` | string | No | Comment to record alongside the decision. This is a journal field. |
10511051

10521052
#### Output

apps/sim/blocks/blocks/servicenow.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,11 @@ export const ServiceNowBlock: BlockConfig<ServiceNowResponse> = {
220220
{ text: ', matching', field: 'query' },
221221
],
222222
servicenow_get_change_next_states: [
223-
{ text: 'Get the next available states for change request', field: 'changeSysId', core: true },
223+
{
224+
text: 'Get the next available states for change request',
225+
field: 'changeSysId',
226+
core: true,
227+
},
224228
],
225229
servicenow_list_catalog_items: [
226230
'List catalog items',
@@ -1730,7 +1734,8 @@ Output: {"state": "2", "assigned_to": "john.doe", "work_notes": "Assigned and st
17301734
},
17311735
allowedStates: {
17321736
type: 'json',
1733-
description: 'State coded values whose transition conditions the change request already meets',
1737+
description:
1738+
'State coded values whose transition conditions the change request already meets',
17341739
},
17351740
stateLabels: {
17361741
type: 'json',

apps/sim/lib/integrations/integrations.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17984,11 +17984,11 @@
1798417984
},
1798517985
{
1798617986
"name": "Resolve Incident",
17987-
"description": "Move a ServiceNow incident to Resolved (state ${INCIDENT_STATE.RESOLVED}) with a resolution code and resolution notes."
17987+
"description": "Move a ServiceNow incident to Resolved (state 6) with a resolution code and resolution notes."
1798817988
},
1798917989
{
1799017990
"name": "Close Incident",
17991-
"description": "Move a ServiceNow incident to Closed (state ${INCIDENT_STATE.CLOSED}) with a resolution code and resolution notes. Closing normally requires the itil_admin or admin role."
17991+
"description": "Move a ServiceNow incident to Closed (state 7) with a resolution code and resolution notes. Closing normally requires the itil_admin or admin role."
1799217992
},
1799317993
{
1799417994
"name": "Add Incident Comment",
@@ -18012,7 +18012,7 @@
1801218012
},
1801318013
{
1801418014
"name": "Move Change State",
18015-
"description": "Move a ServiceNow change request to another state. Base-system change model states are ${CHANGE_STATE.NEW}=New, ${CHANGE_STATE.ASSESS}=Assess, ${CHANGE_STATE.AUTHORIZE}=Authorize, ${CHANGE_STATE.SCHEDULED}=Scheduled, ${CHANGE_STATE.IMPLEMENT}=Implement, ${CHANGE_STATE.REVIEW}=Review, ${CHANGE_STATE.CLOSED}=Closed, ${CHANGE_STATE.CANCELED}=Canceled. The state machine rejects transitions whose conditions are not met."
18015+
"description": "Move a ServiceNow change request to another state. Base-system change model states are -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled. The state machine rejects transitions whose conditions are not met."
1801618016
},
1801718017
{
1801818018
"name": "List Change Tasks",
@@ -18040,7 +18040,7 @@
1804018040
},
1804118041
{
1804218042
"name": "List Approvals",
18043-
"description": "List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the \"${APPROVAL_STATE.REQUESTED}\" state, which is what a user's pending approvals look like."
18043+
"description": "List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the \"requested\" state, which is what a user's pending approvals look like."
1804418044
},
1804518045
{
1804618046
"name": "Approve or Reject",

apps/sim/tools/servicenow/close_incident.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export const closeIncidentTool: ToolConfig<
2424
> = {
2525
id: 'servicenow_close_incident',
2626
name: 'Close ServiceNow Incident',
27-
description: `Move a ServiceNow incident to Closed (state ${INCIDENT_STATE.CLOSED}) with a resolution code and resolution notes. Closing normally requires the itil_admin or admin role.`,
27+
description:
28+
'Move a ServiceNow incident to Closed (state 7) with a resolution code and resolution notes. Closing normally requires the itil_admin or admin role.',
2829
version: '1.0.0',
2930

3031
params: {

apps/sim/tools/servicenow/create_incident.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
DEFAULT_DISPLAY_VALUE,
3-
INCIDENT_STATE,
4-
SERVICENOW_TABLES,
5-
} from '@/tools/servicenow/constants'
1+
import { DEFAULT_DISPLAY_VALUE, SERVICENOW_TABLES } from '@/tools/servicenow/constants'
62
import {
73
additionalFieldsParam,
84
authParams,
@@ -89,7 +85,8 @@ export const createIncidentTool: ToolConfig<
8985
type: 'string',
9086
required: false,
9187
visibility: 'user-or-llm',
92-
description: `Incident state coded value. Base system: ${INCIDENT_STATE.NEW}=New, ${INCIDENT_STATE.IN_PROGRESS}=In Progress, ${INCIDENT_STATE.ON_HOLD}=On Hold, ${INCIDENT_STATE.RESOLVED}=Resolved, ${INCIDENT_STATE.CLOSED}=Closed, ${INCIDENT_STATE.CANCELED}=Canceled. Defaults to New.`,
88+
description:
89+
'Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled. Defaults to New.',
9390
},
9491
assignmentGroup: {
9592
type: 'string',

apps/sim/tools/servicenow/find_user.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export const findUserTool: ToolConfig<ServiceNowFindUserParams, ServiceNowRecord
3939
type: 'string',
4040
required: false,
4141
visibility: 'user-or-llm',
42-
description: 'Text to match against the display name using the ServiceNow LIKE operator, which matches anywhere in the field.',
42+
description:
43+
'Text to match against the display name using the ServiceNow LIKE operator, which matches anywhere in the field.',
4344
},
4445
active: {
4546
type: 'string',

apps/sim/tools/servicenow/list_approvals.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const listApprovalsTool: ToolConfig<
2424
> = {
2525
id: 'servicenow_list_approvals',
2626
name: 'List ServiceNow Approvals',
27-
description: `List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the "${APPROVAL_STATE.REQUESTED}" state, which is what a user's pending approvals look like.`,
27+
description: `List approval records from the ServiceNow Approval [sysapproval_approver] table. Defaults to the "requested" state, which is what a user's pending approvals look like.`,
2828
version: '1.0.0',
2929

3030
params: {
@@ -40,7 +40,8 @@ export const listApprovalsTool: ToolConfig<
4040
type: 'string',
4141
required: false,
4242
visibility: 'user-or-llm',
43-
description: `Approval state: "${APPROVAL_STATE.REQUESTED}" (pending, the default), "${APPROVAL_STATE.APPROVED}", or "${APPROVAL_STATE.REJECTED}". Pass an empty string with a custom query to list every state.`,
43+
description:
44+
'Approval state: "requested" (pending, the default), "approved", or "rejected". Pass an empty string with a custom query to list every state.',
4445
},
4546
approvalFor: {
4647
type: 'string',

apps/sim/tools/servicenow/list_change_requests.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
CHANGE_STATE,
3-
DEFAULT_DISPLAY_VALUE,
4-
SERVICENOW_TABLES,
5-
} from '@/tools/servicenow/constants'
1+
import { DEFAULT_DISPLAY_VALUE, SERVICENOW_TABLES } from '@/tools/servicenow/constants'
62
import { authParams, listParams, recordListOutputs } from '@/tools/servicenow/params'
73
import type {
84
ServiceNowListChangesParams,
@@ -34,13 +30,15 @@ export const listChangeRequestsTool: ToolConfig<
3430
type: 'string',
3531
required: false,
3632
visibility: 'user-or-llm',
37-
description: 'Text to match against the change short description using the ServiceNow LIKE operator, which matches anywhere in the field.',
33+
description:
34+
'Text to match against the change short description using the ServiceNow LIKE operator, which matches anywhere in the field.',
3835
},
3936
state: {
4037
type: 'string',
4138
required: false,
4239
visibility: 'user-or-llm',
43-
description: `Change state coded value. Base system: ${CHANGE_STATE.NEW}=New, ${CHANGE_STATE.ASSESS}=Assess, ${CHANGE_STATE.AUTHORIZE}=Authorize, ${CHANGE_STATE.SCHEDULED}=Scheduled, ${CHANGE_STATE.IMPLEMENT}=Implement, ${CHANGE_STATE.REVIEW}=Review, ${CHANGE_STATE.CLOSED}=Closed, ${CHANGE_STATE.CANCELED}=Canceled.`,
40+
description:
41+
'Change state coded value. Base system: -5=New, -4=Assess, -3=Authorize, -2=Scheduled, -1=Implement, 0=Review, 3=Closed, 4=Canceled.',
4442
},
4543
type: {
4644
type: 'string',

apps/sim/tools/servicenow/list_incidents.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
DEFAULT_DISPLAY_VALUE,
3-
INCIDENT_STATE,
4-
SERVICENOW_TABLES,
5-
} from '@/tools/servicenow/constants'
1+
import { DEFAULT_DISPLAY_VALUE, SERVICENOW_TABLES } from '@/tools/servicenow/constants'
62
import { authParams, listParams, recordListOutputs } from '@/tools/servicenow/params'
73
import type {
84
ServiceNowListIncidentsParams,
@@ -34,13 +30,15 @@ export const listIncidentsTool: ToolConfig<
3430
type: 'string',
3531
required: false,
3632
visibility: 'user-or-llm',
37-
description: 'Text to match against the incident short description using the ServiceNow LIKE operator, which matches anywhere in the field.',
33+
description:
34+
'Text to match against the incident short description using the ServiceNow LIKE operator, which matches anywhere in the field.',
3835
},
3936
state: {
4037
type: 'string',
4138
required: false,
4239
visibility: 'user-or-llm',
43-
description: `Incident state coded value. Base system: ${INCIDENT_STATE.NEW}=New, ${INCIDENT_STATE.IN_PROGRESS}=In Progress, ${INCIDENT_STATE.ON_HOLD}=On Hold, ${INCIDENT_STATE.RESOLVED}=Resolved, ${INCIDENT_STATE.CLOSED}=Closed, ${INCIDENT_STATE.CANCELED}=Canceled.`,
40+
description:
41+
'Incident state coded value. Base system: 1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed, 8=Canceled.',
4442
},
4543
priority: {
4644
type: 'string',

apps/sim/tools/servicenow/params.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ export const inputDisplayValueParam: ServiceNowParams = {
8383
type: 'boolean',
8484
required: false,
8585
visibility: 'user-or-llm',
86-
description:
87-
'Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user\'s timezone rather than GMT.',
86+
description: `Set to true to write display names into reference fields (e.g., assigned_to: "Beth Anglin") and let ServiceNow resolve them to sys_ids. Defaults to false, meaning reference fields must be sys_ids. Note that true also reinterprets date and time values in the requesting user's timezone rather than GMT.`,
8887
},
8988
}
9089

0 commit comments

Comments
 (0)