# Do something while workflow is running

**URL:** <https://community.weweb.io/t/do-something-while-workflow-is-running/9392>\
**Category:** How do I?\
**Tags:** design\
**Created:** [June 27, 2024, 1:34pm UTC](https://community.weweb.io/t/do-something-while-workflow-is-running/9392 "2024-06-27T13:34:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![unlustucru](https://avatars.discourse-cdn.com/v4/letter/u/e36b37/32.png) [@unlustucru](https://community.weweb.io/u/unlustucru)\
**Post date:** [June 27, 2024, 1:34pm UTC](https://community.weweb.io/t/do-something-while-workflow-is-running/9392/1 "2024-06-27T13:34:06Z")

</div>

I’d like to change a text for the duration of the execution of a workflow (from the moment it gets triggered to the moment it ends).

Is there a way form the element (formula?) to do this?

I could use an action at the beginning of the workflow and one at the end of it to achieve this, but I’d need to create tons of variables (there’s a lot of such elements).

---

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [June 27, 2024, 1:55pm UTC](https://community.weweb.io/t/do-something-while-workflow-is-running/9392/2 "2024-06-27T13:55:29Z")

</div>

Why not create a component? Then you can make a workflow that can be triggered from outside of it

---

<div class="post-metadata">

**Author:** ![unlustucru](https://avatars.discourse-cdn.com/v4/letter/u/e36b37/32.png) [@unlustucru](https://community.weweb.io/u/unlustucru)\
**Post date:** [June 27, 2024, 2:09pm UTC](https://community.weweb.io/t/do-something-while-workflow-is-running/9392/3 "2024-06-27T14:09:36Z")

</div>

How would I use dynamic text for the component variable value?

---

<div class="post-metadata">

**Author:** ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)\
**Post date:** [June 27, 2024, 2:20pm UTC](https://community.weweb.io/t/do-something-while-workflow-is-running/9392/4 "2024-06-27T14:20:15Z")

</div>

You make a property called Text and then bind the text content to that property
