# \[WATCHER\] Is it possible put in the payload the ack state?

**URL:** <https://discuss.elastic.co/t/watcher-is-it-possible-put-in-the-payload-the-ack-state/341594>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [August 24, 2023, 4:58pm UTC](https://discuss.elastic.co/t/watcher-is-it-possible-put-in-the-payload-the-ack-state/341594 "2023-08-24T16:58:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rossana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rossana/32/94216_2.png) [@Rossana](https://discuss.elastic.co/u/Rossana)\
**Post date:** [August 24, 2023, 4:58pm UTC](https://discuss.elastic.co/t/watcher-is-it-possible-put-in-the-payload-the-ack-state/341594/1 "2023-08-24T16:58:30Z")

</div>

Hi,

I want to know if it's possible **take the acknowledge state** of a watcher for an action.

This is my scenario:

I have a watcher and the actions of it are index and webhook. But I want to include the ack state in the payload execution.

ACK status

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/6/960b1575594536e2e98441e013f22b95599b4ffd.jpeg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1b125a063f1dce61210f6054e48c483db305b6ae.jpeg)

Payload

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e6ad747648a6a218c26c1d0cbd55d29d436e9d6f.jpeg)

Watcher transform

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/97a086df945a5e123b41a8f9ec0e19e487bfa507.png)  
I want to include in this payload ☝. but **I dont know how** and **if it is possible**.

could be something like: **ctx.status.alertas\_wh.ack.state** , **but I really dont know!**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 21, 2023, 4:59pm UTC](https://discuss.elastic.co/t/watcher-is-it-possible-put-in-the-payload-the-ack-state/341594/2 "2023-09-21T16:59:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
