# autotaskTrigger value

**URL:** <https://forum.openzeppelin.com/t/autotasktrigger-value/31813>\
**Category:** Defender\
**Tags:** defender, sentinel\
**Created:** [September 12, 2022, 10:24am UTC](https://forum.openzeppelin.com/t/autotasktrigger-value/31813 "2022-09-12T10:24:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev-Cnote](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/dev-cnote/32/4211_2.png) [@dev-Cnote](https://forum.openzeppelin.com/u/dev-Cnote)\
**Post date:** [September 12, 2022, 10:24am UTC](https://forum.openzeppelin.com/t/autotasktrigger-value/31813/1 "2022-09-12T10:24:31Z")

</div>

Hello,

Was setting up a sentinel script, I know the `autotaskCondition` is id of your autotask script. I would like to know what value `autotaskTrigger` takes.

> <https://github.com/OpenZeppelin/defender-client/blob/master/examples/create-sentinel/index.js#L48>

---

<div class="post-metadata">

**Author:** ![slw.eth](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/slw.eth/32/12499_2.png) [@slw.eth](https://forum.openzeppelin.com/u/slw.eth)\
**Post date:** [September 12, 2022, 1:26pm UTC](https://forum.openzeppelin.com/t/autotasktrigger-value/31813/2 "2022-09-12T13:26:52Z")

</div>

You can optionally use [Autotask Conditions](https://docs.openzeppelin.com/defender/sentinel#autotask_conditions) to provide additional filtering logic to the Sentinel, whereas the optional Autotask Trigger parameter specifies the Autotask ID that you would like to be triggered by the Sentinel (in addition to the notification channel you specify, etc).
