Skip to main content

Workflows and Approvals

Overview

Workflows in Openlane let you automate governance decisions around object changes by defining triggers, conditions, and actions. Typical actions include approvals, notifications, and follow-up automation.

From a user perspective, you configure workflow definitions. The workflow engine then evaluates changes, creates the required workflow records, and manages approval routing and state transitions.

For approval-based workflows, Openlane supports pre-commit and post-commit behavior:

  • PRE_COMMIT: approval-eligible changes are staged before applying
  • POST_COMMIT: changes commit first and approval/review activity runs afterward

How It Works

What You Configure vs. What the Engine Manages

You configure:

  • WorkflowDefinition content (triggers, conditions, actions)
  • Scope and targeting choices (schema type, selectors, target groups/users/resolvers)
  • Operational state (active, revisioning, lifecycle updates)

The engine manages automatically:

  • Workflow instance creation and progression
  • Proposal staging for approval-gated changes
  • Assignment generation, quorum checks, and completion logic
  • Event timeline updates and workflow state transitions

Current implementation detail from the workflow package docs:

  • AUTO_SUBMIT is the effective submission mode for approval workflows today
  • draft proposal submission is not currently exposed as a user-facing flow

Compliance Significance

  • SOC 2: CC2 and CC5 (governance and controlled change)
  • ISO 27001: change management and approval traceability

Practical Examples

  • Require approval before changing high-impact fields on compliance-critical records.
  • Route different approval actions to different groups based on workflow conditions.
  • Trigger notifications after approvals complete to keep owners informed.

Examples

OperationAPI
CreatecreateBulkCSVWorkflowDefinition
UpdateupdateWorkflowDefinition
# Create
Name,WorkflowKind,SchemaType,Draft,Active,CooldownSeconds
Control Status Governance Workflow,APPROVAL,Control,false,true,60
Evidence Review Workflow,APPROVAL,Evidence,false,true,60
# Update
ID,Revision,Active,Draft
WFD01J9WFLOW1111111111111,2,true,false
WFD01J9WFLOW2222222222222,2,true,false