If the predefined workflows don't meet your organizational needs, you can design your own workflows.
Use the following components to design workflows:
•Swimlane. Partition a set of steps in a workflow and visually distinguish task responsibilities between different user roles.
•Start. Start a workflow.
•User Task. When a human intervention is needed to evaluate requests, make decisions, and take necessary actions. A human action is required for approvals. For example, you might want to add a user task step to a loan approval process.
•Decision. A control point in a workflow. Use to control the direction of the workflow based on your decision in a user task. For example, approve the request if it meets the requirements, reject if not, or return if more information is required.
•Connections. Connect components in a workflow.
•End. End a workflow.
1In Metadata Command Center, click New.
2Select Workflow from the list of asset types.
3Select Workflow and click Create.
The New dialog box appears.
4In the Workflow Details dialog box, enter a name and an optional description for the workflow.
The Workflow Details dialog box appears.
5Click OK to design a BPMN-based workflow.
6Select a swimlane to enter a name and an optional description on the Properties tab.
By default, there are three swimlanes named Role 1, Role 2, and Role 3. You can add and delete swimlanes.
7Drag and drop the Start component from the palette to a swimlane on the canvas.
You can add components to a swimlane in one of the following ways:
- Drag the required components from the palette on the left onto the swimlane.
- Select an existing component on the swimlane and choose the next component.
When you add an component, you can also define its properties. You can delete, cut, copy, and paste components. You can also undo, redo, and find components in a workflow.
8Select the Start component to enter a name and an optional description.
9Add the User Task component to include a human decision in a workflow.
Note: Workflows must include at least one user task.
10Select the User Task component to enter the basic properties of the user task.
The following table describes the properties that you can enter for a user task:
Property
Description
Name
Enter a name for the user task.
Description
Enter a description for the user task.
Task Priority
Select the priority of the user task.
Due In Days
Enter the 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 and incomplete status.
You must specify a value for each user task. Maximum value is 14.
The Properties tab of a user task appears.
11On the Outcomes tab of the user task, specify how the task must be completed. Click Add to add a task outcome and enter a name.
You can create a list of possible decisions that a task owner can take on the task. 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 a 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 human tasks without outcomes when you configure workflow events in Metadata Command Center. Outcomes defined in each user task appear as actions of workflow tickets in Data Governance and Catalog.
The Outcomes tab of a user task appears.
12Add the Decision component. Use the Decision component to allow a workflow to take different paths.
The workflow takes a decision based on the previous task outcomes you select.
13Select the Decision component to enter a name and an optional description.
14Select the outgoing connections from the Decision component and select task outcomes and enter optional descriptions.
The task outcomes defined in the user task appear here as lists.
The Properties tab of an outgoing connection from the Decision component appears.
15To add multiple levels of approvals, continue to add user tasks and decisions based on your business requirement.
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 verify if there are validation errors and view the error details.
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 workflow, save and publish the workflow. You can configure workflow events only on published workflows. You can't edit a workflow after you publish it.
In the canvas, click Save to save the workflow, and then click Publish. To publish a workflow, the workflow must be successfully validated. No component must be in an invalid state. For more information about validations, see Validating a workflow.
After you publish a 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.