|
| 1 | +--- |
| 2 | +title: Workflows in Azure Purview |
| 3 | +description: This article describes workflows in Azure Purview, the roles they play, and who can create and manage them. |
| 4 | +author: nayenama |
| 5 | +ms.author: nayenama |
| 6 | +ms.service: purview |
| 7 | +ms.subservice: purview-data-catalog |
| 8 | +ms.topic: conceptual #Required; leave this attribute/value as-is. |
| 9 | +ms.date: 03/09/2022 |
| 10 | +ms.custom: template-concept |
| 11 | +--- |
| 12 | + |
| 13 | +# Workflows in Azure Purview |
| 14 | + |
| 15 | +[!INCLUDE [Region Notice](./includes/workflow-regions.md)] |
| 16 | + |
| 17 | +Workflows are automated, repeatable business processes that users can create within Azure Purview to validate and orchestrate CUD (create, update, delete) operations on their data entities. Enabling these processes allow organizations to track changes, enforce policy compliance, and ensure quality data across their data landscape. |
| 18 | + |
| 19 | +Since the workflows are created and managed within Azure Purview, manual change monitoring or approval are no longer required to ensure quality updates to the data catalog. |
| 20 | + |
| 21 | +## What are workflows? |
| 22 | + |
| 23 | +Workflows are automated processes that are made up of [connectors](#workflow-connectors) that contain a common set of pre-established actions and are run when specified operations occur in your data catalog. |
| 24 | + |
| 25 | +For example: A user attempts to delete a business glossary term that is bound to a workflow. When the user submits this operation, the workflow runs through its actions instead of, or before, the original delete operation. |
| 26 | + |
| 27 | +Workflow [actions](#workflow-connectors) include things like generating approval requests or sending a notification, that allow users to automate validation and notification systems across their organization. |
| 28 | + |
| 29 | +Currently, there are two kinds of workflows: |
| 30 | + |
| 31 | +* **Data governance** - for data policy, access governance, and loss prevention. [Scoped](#workflow-scope) at the collection level. |
| 32 | +* **Data catalog** - to manage approvals for CUD (create, update, delete) operations for glossary terms. [Scoped](#workflow-scope) at the glossary level. |
| 33 | + |
| 34 | +These workflows can be built from pre-established [workflow templates](#workflow-templates) provided in the Azure Purview studio, but are fully customizable using the available workflow connectors. |
| 35 | + |
| 36 | + |
| 37 | +## Workflow templates |
| 38 | + |
| 39 | +For all the different types of user defined workflows enabled and available for your use, Azure Purview provides templates to help [workflow administrators](#who-can-manage-workflows) create workflows without needing to build them from scratch. The templates are built into the authoring experience and automatically populate based on the workflow being created, so there's no need to search for them. |
| 40 | + |
| 41 | +Templates are available to launch the workflow authoring experience. However, a workflow admin can customize the template to meet the requirements in their organization. |
| 42 | + |
| 43 | +## Workflow connectors |
| 44 | + |
| 45 | +Workflow connectors are a common set of actions applicable across all workflows. They can be used in any workflow in Azure Purview to create processes customized to your organization. Currently, the available connectors are: |
| 46 | + |
| 47 | +- **Approval connector** – Generates approval requests and assign the requests to individual users or Microsoft Azure Active Directory groups. |
| 48 | + |
| 49 | + Azure Purview workflow approval connector currently supports two types of approval types: |
| 50 | + * First to Respond – This implies that the first approver’s outcome (Approve/Reject) is considered final. |
| 51 | + * Everyone must approve – This implies everyone identified as an approver must approve the request for the request to be considered approved. If one approver rejects the request, regardless of other approvers, the request is rejected. |
| 52 | + |
| 53 | +- **Task Connector** - Creates, assigns, and tracks a task to a user or Azure AD group as part of a workflow. |
| 54 | + |
| 55 | +- **Send Email** – Sends emails as part of a workflow. |
| 56 | + |
| 57 | +## Workflow scope |
| 58 | + |
| 59 | +Once a workflow is created and enabled, it can be bound to a particular scope. This gives you the flexibility to run different workflows for different areas/departments in your organization. |
| 60 | + |
| 61 | +Data governance workflows are scoped to collections, and can be bound to the root collection to govern the whole Azure Purview catalog, or any subcollection. |
| 62 | + |
| 63 | +Data catalog workflows are scoped to the glossary and can be bound to the entire glossary, any single term, or any parent term to manage child-terms. |
| 64 | + |
| 65 | +If there's no workflow directly associated with a scope, the workflow engine will traverse upward in the scope hierarchy to determine closest workflow, and run that workflow for the operation. |
| 66 | + |
| 67 | +For example, the AdatumCorp Purview account has the following collection hierarchy: |
| 68 | + |
| 69 | +Root Collection > Sales | Finance | Marketing |
| 70 | + |
| 71 | +- **Root collection** has the workflow _Self-Service data access default workflow_ defined and bound. |
| 72 | +- **Sales** has _Self-Service data access for sales collection_ defined and bound. |
| 73 | +- **Finance** has _Self-Service data access for finance collection_ defined and bound. |
| 74 | +- **Marketing** has no workflows directly bound. |
| 75 | + |
| 76 | +In the above setup, when an access request is made for a data asset in Finance collection, the _Self-Service data access for finance collection_ workflow is run. |
| 77 | + |
| 78 | +However, when a request access is made for a data asset in Marketing collection, _Self-Service data access default workflow_ is triggered. Because there are no workflows bound at the Marketing scope, the workflow engine traverses to the next level in the scope hierarchy, which is Marketing's parent: the root collection. The workflow at the parent scope, the root collection scope, is run. |
| 79 | + |
| 80 | +## Who can manage workflows? |
| 81 | + |
| 82 | +A new role, **Workflow Admin** is being introduced with workflow functionality. |
| 83 | + |
| 84 | +A Workflow admin defined for a collection can create self-service workflows and bind these workflows to the collections they have access to. |
| 85 | + |
| 86 | +A Workflow admin defined for any collection can create approval workflows for the business glossary. In order to bind the glossary workflows to a term you need to have at least [Data reader permissions](catalog-permissions.md). |
| 87 | + |
| 88 | +## Next steps |
| 89 | + |
| 90 | +Now that you understand what workflows are, you can follow these guides to use them in your Azure Purview account: |
| 91 | + |
| 92 | +- [Self-service data access workflow for hybrid data estates](how-to-workflow-self-service-data-access-hybrid.md) |
| 93 | +- [Approval workflow for business terms](how-to-workflow-business-terms-approval.md) |
| 94 | +- [Manage workflow requests and approvals](how-to-workflow-manage-requests-approvals.md) |
| 95 | + |
0 commit comments