Web UI
When fetching a document through the Rest API, you can use the runningWorkflows enricher and check that document.contextParameters.runningWorkflows is not empty to conditionally display a Tab or an Action.
When fetching a document through the Rest API, you can use the runningWorkflows enricher and check that document.contextParameters.runningWorkflows is not empty to conditionally display a Tab or an Action.