Hide custom workflow via tags ?



Hi Team,

We have an option to hide system generated workflows via Workflow:System tags, I need the same functionality to hide specific workflows on site level.

For ex : If we have 2 applications, Application A and Application B so apps B’s workflow shouldn’t visible in A’s pages as same as other site. Like Workflow:System, I can create custom tags for Apps A and Apps B to hide custom workflows.

Can you please let me know how we can override workflow api to achieve this ?