Skip to main content

Workflow Publication Endpoint

Summary

One native operation publishes the current draft of a tenant-visible definition. Its authoritative method and route are in the endpoint catalog.

Processing

The command requires tenant context, loads the full definition graph, and invokes aggregate publication. A current draft with at least one step is required. The response is the reloaded full definition DTO.

Results

Missing definitions produce not-found. Missing or empty drafts produce validation failures. Successful publication returns the definition with updated status and published-version number.

Security

The route has no backend authorization requirement, so verified publication access control is Not implemented.

Requires Confirmation

Publishing permissions, approval of authored changes and concurrency between update/publication require confirmation.

Source References

  • microservices/src/workflow-service/Api/WorkflowEndpoints.cs
  • microservices/src/workflow-service/Application/Commands/WorkflowDefinitionCommands.cs
  • microservices/src/workflow-service/Domain/Workflow/WorkflowDefinition.cs

See Also

Keywords

Workflow API, approval endpoint, Workflow Service.

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Next review: 2026-10-20