Administration > Workflows > Configuring a workflow
  

Configuring a workflow

If the predefined workflows don't meet your organizational needs, configure your own workflows.
You can configure multi-step approval workflows in Metadata Command Center that suit your organizational needs. The workflows start when you work with assets in Data Governance and Catalog.
Perform the following tasks to configure a workflow:
  1. 1Configure workflow details with general information such as workflow name and description.
  2. 2Design the workflow using various components of the BPMN infrastructure.
  3. 3Validate the workflow to check for errors and resolve them.
  4. 4Save and publish the workflow.

Configuring workflow details

Provide general information such as workflow name and description to start configuring your own workflows.
    1In Metadata Command Center, click New.
    2Select Workflow from the list of asset types.
    3Select Workflow and click Create.
    The New dialog box appears.
    The New dialog box with Workflow selected and an option to create a BPMN-based workflow.
    4In the Workflow Details dialog box, enter a name and an optional description for the workflow.
    The Workflow Details dialog box appears.
    The Workflow Details dialog box.
    5To start designing a BPMN-based workflow, click OK.

Designing a workflow

Use various components of the BPMN infrastructure to design a workflow.
    1On the canvas, select a swimlane to enter a name and an optional description on the Properties tab.
    By default, the canvas has three swimlanes named Role 1, Role 2, and Role 3. You can add and delete swimlanes.
    2Drag the Start component from the palette to a swimlane on the canvas.
    When you add a component, you can define its properties. You can delete, cut, copy, and paste components. You can also undo, redo, and search for components in a workflow.
    3Select the Start component and enter a name and an optional description.
    You can add additional components to a swimlane in one of the following ways:
    4To include a human decision in a workflow, add a User Task component.
    Note: Workflows must include at least one user task.
    5To enter the basic properties of a user task, select the User Task component.
    The Properties tab of a user task appears.
    The New Workflow page includes a canvas with start and user task components. Here, the Properties tab of User Task 1 is highlighted, showing the properties Name, Description, Priority, and Due In Days.
    The following table describes the properties that you can enter for a user task:
    Property
    Description
    Name
    Name for the user task.
    Description
    A short description that explains the user task.
    Task Priority
    Level of importance or urgency assigned to the task.
    Select one of the following values:
    • - High
    • - Medium
    • - Low
    The Tasks Inbox page in Data Governance and Catalog shows a visual summary of the total number of tasks categorized by their priorities.
    Due In Days
    Number of days in which the task is due. If the user doesn't complete the task within the period, the task remains in an overdue status.
    Maximum value is 14.
    6To specify how the task can be completed, click the Outcomes tab.
    The Outcomes tab of a user task appears.
    The Outcomes tab of User Task 1 with no task outcomes.
    To add a task outcome, perform the following steps:
    1. aClick Add and enter a name.
    2. bTo mandate that users enter comments to complete the task outcome, select Enter comments to complete the task.
    3. cClick Save.
    You can create a list of possible decisions that a task owner can take on the task. Outcomes defined in each user task appear as actions of workflow tickets in Data Governance and Catalog. For example, you can add Approve, Reject, and Return as possible outcomes for a task. Task owners who need to approve a request can evaluate the request raised, make a decision, and take necessary action. They can approve the request if it meets the requirements, reject if not, or return if more information is required. If a request is returned, then another user task can be added to re-evaluate the request and to resubmit the request if it meets the requirements, or discard if not.
    Note: User tasks in the workflow must have at least one task outcome. You can't use workflows that include user tasks without outcomes.
    7To allow a workflow to take different paths, add the Decision Gateway component.
    The workflow takes a decision based on the previous task outcomes you select.
    8Select the Decision Gateway component and enter a name and an optional description.
    9Select the outgoing connections from the Decision Gateway component.
    The Properties tab of an outgoing connection from a Decision Gateway component appears.
    The Properties tab of an outgoing connection from the Decision Gateway 1 component with Approve selected as the Outcome.
    To configure the connection properties, perform the following steps:
    1. aSelect an outcome for an outgoing connection.
    2. The task outcomes defined in the user task appear in the Outcome list.
    3. bSpecify an optional description.
    10To run multiple tasks concurrently, add the Parallel Gateway component.
    11To enter names and optional descriptions, select the Parallel Gateway start and end components.
    12Select the outgoing connections from the Parallel Gateway start component and add user tasks.
    The Properties tab of a Parallel Gateway start component appears.
    The Properties tab of the Parallel Gateway Start 1 component.
    13Optionally, between the divergent and convergent gateway pair that comprise a Parallel Gateway component, you can add another Parallel Gateway component or a Decision Gateway component.
    You can add a maximum of three consecutive levels of Parallel Gateway components or three Decision Gateway components.
    For example, in a loan approval process, after the initial application review, a parallel gateway splits the workflow into independent concurrent tasks such as credit risk assessment, KYC documentation collection, and legal compliance checks. Within these tasks, you can add an additional parallel gateway for credit risk assessment to concurrently analyze different risk factors. You can also add a decision gateway to the credit risk assessment task to branch the process further based on whether additional documentation is required.
    If a Decision Gateway has an outgoing path that loops back to the workflow task that precedes it, ensure that you add the task, the gateway, and the outgoing path all to the same swimlane.
    14Optionally, to explicitly end the workflow, add a Terminal End to the parallel gateway.
    The Terminal End component terminates all active tasks and prevents initiation of any subsequent tasks configured in the workflow.
    15You can continue to add user tasks, decisions, and parallel gateways based on your business requirement.
    16To mark the completion of the workflow, add the End component.
    17Select the End component and enter a name and an optional description.
    You can validate and then save and publish the workflow.

Validating a workflow

When you design a workflow, you can use the Validations panel to check if there are validation errors and resolve them.
    1Click the Validations icon in the toolbar.
    The Validations panel appears with errors grouped by components.
    2Click an error.
    The cursor moves to the erroneous component. Take the required corrective action to resolve the error.
The Validations panel refreshes each time you correct an error.

Saving and publishing a workflow

After you design a new workflow, save and publish the workflow.
You can save a workflow with errors and the workflow changes to the Draft lifecycle. Before you publish a workflow, you need to validate the workflow. No component must be in an invalid state. For more information about validations, see Validating a workflow.
After you publish a new workflow, you can use the published workflow to configure workflow events in Metadata Command Center.
Important: You can select only published workflows when you configure workflow events.