scf_set_control_procedure
Link an approved or published procedure document to an SCF control, or pass null to unlink it. Ensures each control maps to its signed-off procedure.
Instructions
Link one control to its signed-off procedure document, or null to unlink (write — editor+). The document must be this org's procedure, approved or published when linked (400 otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| scf_id | Yes | SCF control identifier in DOMAIN-NN format — obtain from scf_list_scoped_controls | |
| document_id | Yes | Procedure document UUID — obtain from scf_list_documents; null unlinks. A later edit sends the document back to review; the link stays and scf_list_scoped_controls shows procedure_document_status |