Compliance Check
Runs a backend compliance primitive and returns its result (status, confidence, routingAction, auditEntry).
Category: Flow Control & Logic · Group: Flow Control · Activity name: InvokePrimitive

Example
outputVariable = InvokePrimitive("<primitiveId>", input={}, context={})
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Primitive | string | Yes | Id of the compliance primitive to run (e.g. aml_pep_check, four_eyes_approval, gdpr_minimise, audit_trail). | |
| Inputs | object | Payload bound to the primitive's inputs. Map each to a value or {{ expression }}. | ||
| Context | object | Workflow/step context for the audit entry (workflowId/stepId). Org and actor are set server-side. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | json | Stores the primitive result: status, confidence, routingAction (approve/review/block), and the audit entry. |