# Tasks workflow in OpenMetadata

## Tasks Workflow in OpenMetadata: Taking data collaboration to the next level

*Written by: Vivek Subramanian*, Shilpa Vernekar, Marisa

As part of the Data Collaboration feature of OpenMetadata, first, we added an activity feed that allowed everyone to keep up to date on all of the important changes and updates in one quick glance. In the [0.9.0 release of OpenMetadata](https://blog.open-metadata.org/openmetadata-0-9-0-release-8e7b93ab1882), we introduced the ability to reply and create entire conversation threads around all of the various activities across any data asset.

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/dc06cbc2-650d-4bff-b5de-8c424fd9596b.png)

In [release 0.11.0](https://blog.open-metadata.org/openmetadata-0-11-release-8b82c85636a), we are taking it to the next level by extending conversation threads to Tasks and adding support for reactions with emojis. In this blog, we discuss the motivation and the technical implementation details of the tasks workflow.

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/e7836623-8d49-44dd-99d2-a5c1e0c0e8e9.gif)

## Motivation

Collaboration is a missing aspect in the current landscape of Data that impedes the data teams in an organization to understand and work together with data better. Oftentimes, data teams are left with no option to ask their questions related to a data asset directly to the users who own it or have the most knowledge about it. These conversations happen in hallways, over slack and emails, and the rich metadata is never captured. We want to solve this problem.

*Why is this column marked as PII data? Can you please add tests to validate the range of values in the column? Are we using this table to generate the monthly reports?*

Understanding the data plays a crucial role for any data team to be successful. Relying on hallway conversations as well as other external tools to collaborate and get answers to the questions stated above is time-consuming, results in context switches from tool to tool, and is not effective.

If asking questions is one part, where are these questions being asked are the other part of the problem. The data exists in one tool, the requests for information are made in another, and the notification of the resolutions is part of yet another tool. OpenMetadata tasks workflow tracks the entire process from the initiation of a request to the completion of the task like updating the description — all in one tool. Thereby avoiding the chaos of closing the loop in multiple tools.

## Tasks Workflow

With the introduction of Data Collaboration features in the earlier releases of OpenMetadata, users were able to collaborate around data assets by creating conversation threads and mentioning other users in the organization to get quick answers from.

We decided to take it to the next level by introducing the Tasks workflow with a specific set of tasks that can be created around Data assets. Users can now create a “Request Description” task and assign it to the owner of a Data asset. They can also suggest a new description to crowdsource data knowledge. In this flow, when the owner of the Data asset logs in, a notification pops up for all the tasks that are assigned to them. Once the suggested description is accepted or a new description is added, the task is automatically closed and the creator of the task is notified of the task completion. This completes the loop on getting answers to any specific requests or suggestions a user might have.

Now, users can also react to a conversation thread or a task with Emojis. Discuss, collaborate, and share reactions with their team.

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/3af2eb83-143b-4e29-8e8a-045cb7f8822f.png)

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/0bc24f08-051c-4fae-8225-c4e2c4dc88a2.png)

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/1137023c-f31b-40aa-bae8-d1ec7a44bd0c.png)

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/8e672d4a-3609-46e5-b937-c15c4941276b.png)

## Tracking the Tasks

We’ve made it easier for users to get notified and keep track of all the tasks assigned to them as well as the one’s created by them. The homepage of OpenMetadata now lists both the conversation threads and tasks as part of the Activity Feed as shown below. Users can navigate to the respective task pages by clicking on any of the feeds listed here.

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/9665fea0-a009-4d38-9865-98568953968c.png)

On the right sidebar of the Homepage, users can view a count of the pending tasks assigned to them. Check out the screenshot above.

Apart from the homepage, the User Profile page lists all the tasks assigned to the user and also has an optional filter to display the tasks that were created by the user.

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/38f24dc5-fa0c-4956-93b7-9699c1cc67e7.png)

You can also find the tasks that are currently open by going to any data asset page as seen in the screenshots below.

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/5ab23f14-8920-403c-9b98-ea9e0bbbbefd.png)

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/b5e02514-5f33-4b58-bcce-f3afb0e35210.png)

## Implementation

Tasks is an extension to Conversation threads since we also want users to add replies and reactions to tasks similar to conversations. To achieve this, a new field “type” is introduced in the *Thread entity *to determine whether the thread is a Conversation or a Task. For tasks, a new section “task” is added to the [Thread entity JSON](https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-core/src/main/resources/json/schema/entity/feed/thread.json) to store details that are specific to the task such as Assignees, Task Status (open or closed), etc.

Every task gets a unique number that is auto-incremented to give each task a perma-link in OpenMetadata. This makes it easy to share the tasks with other users in the organization or bookmark them in their browsers.

## Watch it in Action

Here is a quick preview of the Tasks workflow in action.

<!-- embed:22f606f5c5cb8b951908340b3aac85d9 -->

## What’s Next

We will continue to evolve the Data Collaboration aspect of OpenMetadata based on the feedback from our amazing community. The following features or enhancements are currently chartered in our roadmap. Please watch out for them in our upcoming releases.

- The tasks workflow will be extended to “**Request Tags**” and “**Request Update Tags**” for all the entities that support tags in OpenMetadata.
- Users can convert existing conversation threads into a **generic task** that can be manually closed upon completion of the task.
- Add **Announcement banners** to entities to notify all the users about upcoming maintenance, deprecations and so on with the Announcements feature.
- Enhanced **Notifications menu** and support for desktop notifications in supported browsers and operating systems.
At OpenMetadata, we are working hard to build meaningful, seamless collaboration to ensure data accuracy and consistency. *We aim to strongly connect the entire data team, so in turn, they can make timely & accurate data available to the decision-makers.*

## Get in Touch

If you’ve enjoyed reading this article and want to say hi, do not hesitate to reach out! Please take a look at our GitHub [repo](https://github.com/open-metadata/OpenMetadata) and drop us a line in [Slack](https://slack.open-metadata.org/).

![](https://cdn.hashnode.com/uploads/gql/6a2ba683b960f45f04f3cf5e/20e6851a-d92f-4edd-9bef-006d9d27ad95.png)

