Magidoc

getFinanceApprovalRules
Query

The workspace's approval rules, lowest priority first. Access: members of the workspace, in a workspace where finance is enabled — the same gate the other setup registries use. Reading which rules exist carries no capability of its own. Errors: none beyond the access gate; an unmatched filter returns no rows rather than refusing.

Arguments

#

workspaceId

ID !
Non-null

includeInactive

Inactive rules gate nothing; excluded by default so the list shows what is in force.

search

Matches the rule name and its stored record types.

statuses

Display statuses to narrow to — Active or Closed, derived from the rule's active flag rather than stored. Supersedes includeInactive when given.

sortBy

sortDirection

limit = 200

skip

Response

#

Returns [FinanceApprovalRule !]!.

Example

#