# In Matillion, We have a TASK HISTORY which is really having detailed data. Is there any way I can use those data and trigger an email? like failure jobs task history or some specific job task history.

Curious to know. Any suggestions, please

**URL:** <https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372>\
**Category:** Matillion ETL\
**Created:** [June 17, 2021, 8:52am UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372 "2021-06-17T08:52:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://matillioncommunity.discourse.group/u/Shan)\
**Post date:** [June 17, 2021, 8:52am UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/1 "2021-06-17T08:52:31Z")

</div>

In Matillion, We have a TASK HISTORY which is really having detailed data. Is there any way I can use those data and trigger an email? like failure jobs task history or some specific job task history.

Curious to know. Any suggestions, please.

---

<div class="post-metadata">

**Author:** ![ganesh\_pitchai](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@ganesh\_pitchai](https://matillioncommunity.discourse.group/u/ganesh_pitchai)\
**Post date:** [June 17, 2021, 8:10pm UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/2 "2021-06-17T20:10:33Z")

</div>

[@Shan](https://matillioncommunity.discourse.group/u/Shan)​ For a long everyone expecting this feature. Unfortunately as of now, we don't have an option in Matillion.

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://matillioncommunity.discourse.group/u/Shan)\
**Post date:** [June 18, 2021, 9:19am UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/3 "2021-06-18T09:19:43Z")

</div>

do we have any workaround to fetch those details?

---

<div class="post-metadata">

**Author:** ![DirkZ](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@DirkZ](https://matillioncommunity.discourse.group/u/DirkZ)\
**Post date:** [June 18, 2021, 11:58am UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/4 "2021-06-18T11:58:21Z")

</div>

Hello,

you can use the SNS notification component inside of your Matillion jobs, for example in case of an error.

If you need a seperate process you can read the complete task history details also via Matillion API, so you can create a seperate process for example outside of Matillion to read the task history by API, check details and send emails in case that jobs are failed.

---

<div class="post-metadata">

**Author:** ![DirkZ](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@DirkZ](https://matillioncommunity.discourse.group/u/DirkZ)\
**Post date:** [June 28, 2021, 10:07am UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/5 "2021-06-28T10:07:10Z")

</div>

Hello,

sorry for the late feedback, i was last week on vacation.

You can use the Version 0 of Matillion API to get informations from task history independent from project.

For this use for example "https://[your-instance-URL]/rest/v0/tasks?running=false&since=2021-06-28".

In this example you receive all tasks from today.

I hope this helps to fulfill your requirements.

&nbsp;

Regards,

Dirk

---

<div class="post-metadata">

**Author:** ![ganesh\_pitchai](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@ganesh\_pitchai](https://matillioncommunity.discourse.group/u/ganesh_pitchai)\
**Post date:** [June 18, 2021, 5:39pm UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/6 "2021-06-18T17:39:08Z")

</div>

[@DirkZ](https://matillioncommunity.discourse.group/u/DirkZ)​ Where we can find the Matillion API to get the task history?

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://matillioncommunity.discourse.group/u/Shan)\
**Post date:** [June 21, 2021, 1:38pm UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/7 "2021-06-21T13:38:56Z")

</div>

I am looking for the same information.

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://matillioncommunity.discourse.group/u/Shan)\
**Post date:** [June 29, 2021, 12:14pm UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/8 "2021-06-29T12:14:56Z")

</div>

Hello,

No problem! Hope you had a great vacation !

&nbsp;

Let me try this approach and get back to you in case of any issues

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://matillioncommunity.discourse.group/u/Shan)\
**Post date:** [June 29, 2021, 12:48pm UTC](https://matillioncommunity.discourse.group/t/in-matillion-we-have-a-task-history-which-is-really-having-detailed-data-is-there-any-way-i-can-use-those-data-and-trigger-an-email-like-failure-jobs-task-history-or-some-specific-job-task-history-curious-to-know-any-suggestions-please/1372/9 "2021-06-29T12:48:09Z")

</div>

Hi DirkZ,

&nbsp;

I am using Matillion ETL

Version: 1.41.4 (build 417) and i have tried to follow the below post but i am unable to create a file itself.

[Creating a Generic API Query Profile in Matillion | InterWorks](https://interworks.com/blog/2020/04/28/creating-a-generic-api-query-profile-in-matillion/)

&nbsp;

Any help or reference will be more helpful :)
