Approvals
This category lists the 25 Runtime system commands under system.approval..
1. List definitions
Full name: system.approval.definition.list
List approval definition records. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval definition list \
[--keyword value] [--cursor value] [--limit n] [--json]
Parameters:
keyword(optional)— Matches process name, code, description, subject, or statussubjectType(optional)— Only form_data is supported by this listcursor(optional)— Opaque nextCursor from the previous requestlimit(optional)— Maximum items, 1-100; defaults to 20
2. Retrieve definition
Full name: system.approval.definition.get
Retrieve approval definition resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval definition get --definition-id <uuid> [--json]
Parameters:
definitionId(required)— Approval definition UUID discovered with its list command
3. Create definition
Full name: system.approval.definition.create
Create approval definition resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval definition create \
(--definition-json json|--definition-file path) [--json]
Parameters:
code(required)— Tenant-unique immutable-style code using lowercase letters, digits, and underscoresname(required)— Process display namedescription(optional)— Nullable process descriptionsubjectType(required)— Must be form_datasubjectKey(required)— Enabled subject form UUIDsubjectName(required)— Current subject form nameschema(required)— Initial approval graph; an empty nodes/edges draft is allowed only here
4. Update definition
Full name: system.approval.definition.update
Update approval definition resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval definition update \
--definition-id <uuid> (--definition-json json|--definition-file path) \
[--json]
Parameters:
definitionId(required)— Approval definition UUID discovered with its list commandcode/name/description(optional)— Basic process metadatasubjectType/subjectKey/subjectName(optional)— Replacement enabled form subject triple. Keep all three consistent
5. Enable definition
Full name: system.approval.definition.enable
Enable approval definition resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval definition enable --definition-id <uuid> [--json]
Parameters:
definitionId(required)— Disabled approval definition UUID discovered with its list command
6. Archive definition
Full name: system.approval.definition.archive
Archive approval definition resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval definition archive --definition-id <uuid> [--json]
Parameters:
definitionId(required)— Approval definition UUID discovered with its list command
7. Delete definition
Full name: system.approval.definition.delete
Delete approval definition resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: High risk
sl system approval definition delete --definition-id <uuid> [--json]
Parameters:
definitionId(required)— Archived approval definition UUID discovered with its list command
8. List definition versions
Full name: system.approval.definition.version.list
List approval definition version records. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval definition version list \
--definition-id <uuid> [--cursor value] [--limit n] [--json]
Parameters:
definitionId(required)— Approval definition UUID discovered with its list commandcursor/limit(optional)— Opaque nextCursor and 1-100 version limit
9. Create definition version
Full name: system.approval.definition.version.create
Create approval definition version resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval definition version create \
--definition-id <uuid> (--graph-json json|--graph-file path) [--json]
Parameters:
definitionId(required)— Approval definition UUID discovered with its list commandschema(required)— Complete connected graph validated against the approval compiler and tenant resources
10. Publish definition version
Full name: system.approval.definition.version.publish
Publish approval definition version resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval definition version publish \
--definition-id <uuid> --version-id <uuid> [--json]
Parameters:
definitionId(required)— Approval definition UUID discovered with its list commandversionId(required)— Draft definition version UUID discovered with its list command
11. List records
Full name: system.approval.record.list
List approval record records. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval record list \
[--definition-id <uuid>] [--form-api-name value] [--status value] \
[--from iso --to iso] [--keyword value] [--cursor value] [--limit n] \
[--definition-json json|--definition-file path] [--json]
Parameters:
status(optional)— Current task statusinstanceStatus(optional)— Overall instance statusdefinitionId/formApiName(optional)— Process and form filtersinitiatorMemberId/currentApproverMemberId(optional)— Member UUID filtersstartedAtFrom/startedAtTo(optional)— Paired ISO datetimes with offsetskeyword/searchFieldApiName(optional)— Keyword and optional field-specific search; field search requires formApiNamecursor/limit(optional)— Opaque nextCursor and 1-100 result limit; keep filters unchanged between requests
12. Retrieve record column settings
Full name: system.approval.record.column-settings.get
Retrieve approval record column settings resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval record column-settings get \
--form-api-name value [--json]
Parameters:
formApiName(required)— Form API name, or all for common approval columns
13. Save record column settings
Full name: system.approval.record.column-settings.save
Save approval record column settings resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval record column-settings save \
--form-api-name value (--definition-json json|--definition-file path) \
[--json]
Parameters:
formApiName(required)— Same scope used by getcolumns(required)— Complete ordered column snapshot: fieldId, apiName, hidden, sortOrder
14. Retrieve instance
Full name: system.approval.instance.get
Retrieve approval instance resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval instance get --instance-id <uuid> [--json]
Parameters:
instanceId(required)— Approval instance UUID discovered with its list command
15. Withdraw an administrative action from the instance
Full name: system.approval.instance.admin-withdraw
Withdraw an administrative action from approval instance. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: High risk
sl system approval instance admin-withdraw \
--instance-id <uuid> --reason value [--json]
Parameters:
instanceId(required)— Running approval instance UUID discovered with its list commandreason(required)— Mandatory administrator reason recorded as the withdrawal comment
16. Retrieve task
Full name: system.approval.task.get
Retrieve approval task resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval task get --task-id <uuid> [--json]
Parameters:
taskId(required)— Approval task UUID discovered with its list command
17. Record an administrative decision for the task
Full name: system.approval.task.admin-decide
Record an administrative decision for approval task. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: High risk
sl system approval task admin-decide \
--task-id <uuid> (--definition-json json|--definition-file path) \
[--json]
Parameters:
taskId(required)— Pending approval task UUID discovered with its list commanddecision(required)— approved, rejected, or returnedreason(required)— Mandatory administrator reasonmentionedMemberIds(optional)— Up to 50 active member UUIDsreturnTarget(optional)— Required only for returned: initiator, restart, or a prior nodeKey
18. Add an administrative signature to the task
Full name: system.approval.task.admin-add-sign
Add an administrative signature to approval task. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval task admin-add-sign \
--task-id <uuid> (--definition-json json|--definition-file path) \
[--json]
Parameters:
taskId(required)— Pending approval task UUID discovered with its list commandmemberIds(required)— 1-50 active tenant member UUIDsreason(required)— Mandatory administrator reason
19. List timeout rules
Full name: system.approval.timeout-rule.list
List approval timeout rule records. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval timeout-rule list \
[--keyword value] [--cursor value] [--limit n] [--json]
Parameters:
keyword(optional)— Rule name filtercursor/limit(optional)— Opaque nextCursor and 1-100 result limit
20. Retrieve timeout rule
Full name: system.approval.timeout-rule.get
Retrieve approval timeout rule resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Read
sl system approval timeout-rule get --rule-id <uuid> [--json]
Parameters:
ruleId(required)— Timeout rule UUID discovered with its list command
21. Create timeout rule
Full name: system.approval.timeout-rule.create
Create approval timeout rule resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval timeout-rule create \
(--definition-json json|--definition-file path) [--json]
Parameters:
name(required)— Rule namescopeType/definitionIds(required)— selected_definitions requires IDs; all_definitions requires an empty listtimeoutValue/timeoutUnit(required)— Primary timeout durationactionRemind/actionAutoClose(required)— At least one action must be trueremindTimeoutValue/remindTimeoutUnit(required)— Reminder duration fieldsautoCloseTimeoutValue/autoCloseTimeoutUnit(required)— Auto-close duration fieldsincludeInProgressInstances(required)— Whether enabling also schedules eligible running instancesrepeatRemind/repeatRemindValue/repeatRemindUnit(required)— Repeat configuration; repeat requires remindersenabled(optional)— Fixed false for CLI creation; call enable after review
22. Update timeout rule
Full name: system.approval.timeout-rule.update
Update approval timeout rule resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval timeout-rule update \
--rule-id <uuid> (--definition-json json|--definition-file path) \
[--json]
Parameters:
ruleId(required)— Timeout rule UUID discovered with its list commandconfiguration fields(optional)— Partial configuration update; enabled is intentionally excluded
23. Enable timeout rule
Full name: system.approval.timeout-rule.enable
Enable approval timeout rule resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval timeout-rule enable --rule-id <uuid> [--json]
Parameters:
ruleId(required)— Disabled timeout rule UUID discovered with its list command
24. Disable timeout rule
Full name: system.approval.timeout-rule.disable
Disable approval timeout rule resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: Write
sl system approval timeout-rule disable --rule-id <uuid> [--json]
Parameters:
ruleId(required)— Enabled timeout rule UUID discovered with its list command
25. Delete timeout rule
Full name: system.approval.timeout-rule.delete
Delete approval timeout rule resource. This tenant-scoped Runtime command validates its input against the registered command schema. · Risk: High risk
sl system approval timeout-rule delete --rule-id <uuid> [--json]
Parameters:
ruleId(required)— Disabled timeout rule UUID discovered with its list command