# Is it possible to get the acting party in the init and update functions of a Trigger?

**URL:** <https://forum.canton.network/t/is-it-possible-to-get-the-acting-party-in-the-init-and-update-functions-of-a-trigger/3568>\
**Category:** App Development\
**Tags:** trigger\
**Created:** [December 13, 2021, 1:36pm UTC](https://forum.canton.network/t/is-it-possible-to-get-the-acting-party-in-the-init-and-update-functions-of-a-trigger/3568 "2021-12-13T13:36:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernhard](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bernhard/32/356_2.png) [@bernhard](https://forum.canton.network/u/bernhard)\
**Post date:** [December 13, 2021, 1:36pm UTC](https://forum.canton.network/t/is-it-possible-to-get-the-acting-party-in-the-init-and-update-functions-of-a-trigger/3568/1 "2021-12-13T13:36:49Z")

</div>

The `rule` takes the acting party as an argument, but the initialisation and update functions don’t. How do I find out who a trigger acts as in those functions?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [December 13, 2021, 1:40pm UTC](https://forum.canton.network/t/is-it-possible-to-get-the-acting-party-in-the-init-and-update-functions-of-a-trigger/3568/2 "2021-12-13T13:40:09Z")

</div>

Right now you can’t do that. You can for read as parties via `getReadAs` and there is no reason why we can’t expose something similar for act as. I’ve opened [Expose acting party in trigger outside of rule · Issue #12125 · digital-asset/daml · GitHub](https://github.com/digital-asset/daml/issues/12125) to track this.

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [January 7, 2022, 7:57am UTC](https://forum.canton.network/t/is-it-possible-to-get-the-acting-party-in-the-init-and-update-functions-of-a-trigger/3568/3 "2022-01-07T07:57:23Z")

</div>

Starting from next week’s snapshot you can use `getActAs` to get access to the party in init, update and the rule.
