# Read notification Value of task

**URL:** <https://forums.freertos.org/t/read-notification-value-of-task/10908>\
**Category:** Kernel\
**Created:** [October 16, 2020, 1:27pm UTC](https://forums.freertos.org/t/read-notification-value-of-task/10908 "2020-10-16T13:27:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zoharb](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@Zoharb](https://forums.freertos.org/u/Zoharb)\
**Post date:** [October 16, 2020, 1:27pm UTC](https://forums.freertos.org/t/read-notification-value-of-task/10908/1 "2020-10-16T13:27:08Z")

</div>

Hey guys,

how can I read the notification value of the currently task?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [October 16, 2020, 1:33pm UTC](https://forums.freertos.org/t/read-notification-value-of-task/10908/2 "2020-10-16T13:33:25Z")

</div>

Use [https://www.freertos.org/ulTasknotifyValueClear.html](https://www.freertos.org/ulTasknotifyValueClear.html) with ulBitsToClear set to 0 if you also want to leave the notification value unchanged. You could also use [https://www.freertos.org/xTaskNotifyWait.html](https://www.freertos.org/xTaskNotifyWait.html) with xTicksToWait set to 0.

---

<div class="post-metadata">

**Author:** ![Zoharb](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@Zoharb](https://forums.freertos.org/u/Zoharb)\
**Post date:** [October 16, 2020, 1:43pm UTC](https://forums.freertos.org/t/read-notification-value-of-task/10908/3 "2020-10-16T13:43:22Z")

</div>

Thanks for your answer, I’ll try to asking in different way.

Inside the task itself, I have some conditions (if-else) that check the notification value. Hence I need to know where can I check those values

---

<div class="post-metadata">

**Author:** ![hs2](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@hs2](https://forums.freertos.org/u/hs2)\
**Post date:** [October 16, 2020, 2:23pm UTC](https://forums.freertos.org/t/read-notification-value-of-task/10908/4 "2020-10-16T14:23:25Z")

</div>

What exactly do you want to do or maybe better what bigger problem do you want to solve ? It’s unfortunately still not clear (to me) ☹  
Especially what do you mean by ‘where can I check those values’ ?
