Magidoc

updateFinanceApprovalRule
Mutation

Replace an approval rule. A full overwrite guarded by a modifiedAt compare-and-set, so a concurrent edit is refused rather than silently losing the other operator's change. Access: 'setupUpdate' in a workspace where finance is enabled. Errors: the create-side validation, plus a refusal when the rule changed while being edited. Documents already held by this rule keep the route they were given — their copy does not move.

Arguments

#

ruleId

ID !
Non-null

input

Non-null

Response

#

Returns FinanceApprovalRule !.

Example

#