Skip to content

Commit aeda3eb

Browse files
committed
docs(servicenow): cite the page that actually documents approval statuses
The approval state constants pointed at the classic-approvals landing page, which does not list the statuses. Approval status is documented separately and names four — Requested, Approved, Rejected, and Not Requested.
1 parent 05e3538 commit aeda3eb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

apps/sim/tools/servicenow/constants.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@ export const CHANGE_CLOSE_CODE_OPTIONS = [
9999

100100
/**
101101
* Approval record `state` values on the Approval [sysapproval_approver] table.
102-
* Source: https://www.servicenow.com/docs/bundle/australia-build-workflows/page/administer/approvals/reference/r_Approvals.html
102+
*
103+
* ServiceNow documents four approval statuses — Requested, Approved, Rejected,
104+
* and Not Requested — at
105+
* https://www.servicenow.com/docs/bundle/australia-build-workflows/page/administer/approvals/concept/c_ApprovalStatus.html
106+
* Only the three a caller acts on are listed here; `not_requested` is reachable
107+
* through the raw state parameter.
103108
*/
104109
export const APPROVAL_STATE = {
105110
REQUESTED: 'requested',

0 commit comments

Comments
 (0)