Workflow Instances
Terminate a running governance workflow instance with the OpenMetadata REST API
POST
POST /v1/governance/workflowInstances/{id}/terminate
Terminate a Workflow Instance
Stop a governance workflow instance and record it asFAILURE. Only administrators can call this endpoint.
Why you are terminating the instance. Up to 1,000 characters. OpenMetadata adds it to the audit text of the termination, for example
Terminated by <user>: <reason>.POST /v1/governance/workflowInstances/{id}/terminate
Returns
200: The terminated workflow instance, recorded asFAILURE.202: A job of the instance’s periodic batch trigger is running on this server. OpenMetadata records a stop request and returns the instance that is still running. The batch sink stops before its next sub-batch and the trigger stops before its next batch. Then the instance is recorded asFAILURE.
200.