# Copy triggers from step enter event to widget event

**URL:** <https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101>\
**Category:** Product Suggestions\
**Tags:** apps\
**Created:** [July 7, 2021, 7:49am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101 "2021-07-07T07:49:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/amit/32/968_2.png) [@Amit](https://community.tulip.co/u/Amit)\
**Post date:** [July 7, 2021, 7:49am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/1 "2021-07-07T07:49:12Z")

</div>

Hello,  
There is no way to copy entire trigger between to types of objects, for example from step on enter event to a button widget.

If I created a trigger in the step enter event and than I have to create the same logic on a button click event, it can’t be copied, I have to open another window and manual copy command after command, very furstrating.

For example, I created a trigger that inital value of a step (for some variable clear them, for other, gives default value that is suit for this step only), at first I put it in on step enter event, than got the idea to add a button for initial the screen, so …

Please think how to resolve this issue.

Thank you,  
Amit

---

<div class="post-metadata">

**Author:** ![ZixuanLi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/zixuanli/32/108_2.png) [@ZixuanLi](https://community.tulip.co/u/ZixuanLi)\
**Post date:** [July 20, 2021, 12:49pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/2 "2021-07-20T12:49:03Z")

</div>

Hi Amit, I don’t have a delivery date for this, but I’m actively working on this. The use case you described is very helpful.

---

<div class="post-metadata">

**Author:** ![Amit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/amit/32/968_2.png) [@Amit](https://community.tulip.co/u/Amit)\
**Post date:** [July 25, 2021, 4:57am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/3 "2021-07-25T04:57:27Z")

</div>

Hi Li,  
Thank you for notify me about that, have a great day

Amit

---

<div class="post-metadata">

**Author:** ![SNash](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SNash](https://community.tulip.co/u/SNash)\
**Post date:** [January 11, 2022, 4:16pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/4 "2022-01-11T16:16:28Z")

</div>

Hi,

Is this still being worked on as its very frustrating?

Thanks,

Shane

---

<div class="post-metadata">

**Author:** ![pete](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete/32/5653_2.png) [@pete](https://community.tulip.co/u/pete)\
**Post date:** [January 11, 2022, 11:01pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/5 "2022-01-11T23:01:25Z")

</div>

Hi @SNash- Yes, we are looking at this now! Out of curiosity - are there any triggers you find yourself copying again and again?

---

<div class="post-metadata">

**Author:** ![SNash](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SNash](https://community.tulip.co/u/SNash)\
**Post date:** [January 11, 2022, 11:21pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/6 "2022-01-11T23:21:25Z")

</div>

Hi Pete,

My use case is very similar to the original poster. I have a button with around 10 triggers on (some quite detailed) and it turns out that I would like to move most of them into an ‘On Step Enter’ trigger on another page. Iv had quite a few instances where iv wanted to move triggers between different trigger types, some have been a quick to replicate but some have taken quite a while. Also, if you have to manually copy them across and the triggers are quite complex, then you also run the risk of getting the detail wrong and breaking the app. Copy and paste is always the safer option 🙂

---

<div class="post-metadata">

**Author:** ![SNash](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SNash](https://community.tulip.co/u/SNash)\
**Post date:** [January 19, 2022, 9:44am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/7 "2022-01-19T09:44:20Z")

</div>

Hi Pete,

As this was actively being looked into 6 months ago and is now being looked at again, do you have any expected delivery date? Although im sure it is complicated to implement, it feels like standard functionality that users would make use of.

---

<div class="post-metadata">

**Author:** ![pete](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete/32/5653_2.png) [@pete](https://community.tulip.co/u/pete)\
**Post date:** [January 20, 2022, 4:04pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/8 "2022-01-20T16:04:33Z")

</div>

Hi @SNash Thanks for following up, sorry for the delayed response. We are planning a series of improvements for how triggers are created and managed - with this request being one of them. We are excited to rollout these changes, but this specific request is delayed as a result. Best guess is middle of the year. In the meantime, would you be interested in talking more about triggers? If so, please use [this link](https://calendly.com/peterneylan/tulip-community-discussions) to schedule a call. 🙂

---

<div class="post-metadata">

**Author:** ![Rakitha](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/rakitha/32/4668_2.png) [@Rakitha](https://community.tulip.co/u/Rakitha)\
**Post date:** [July 8, 2022, 4:28am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/9 "2022-07-08T04:28:09Z")

</div>

cant wait for this feature… this will save so much time.  
my use case is also to copy triggers from button to step enter.

---

<div class="post-metadata">

**Author:** ![Alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex](https://community.tulip.co/u/Alex)\
**Post date:** [November 2, 2022, 3:12pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/10 "2022-11-02T15:12:51Z")

</div>

Is there any update to this topic?

I’ve go a similiar problem: I’m maintaining some apps, that run several triggers one after another which are assigned to a button. One of these apps runs 24 triggers with a single button widget - some triggers are rather simple, some very complex. As this app was updated several times over the last two years the same button is used in a few different steps and after the release of r236 the triggers were also copied to input widgets. Unfortunately this makes maintaining and updating apps a pain as I have to look through tons of copied triggers.

I would like to simplify these apps by copying the affected trigger-functions to an own “execute” step as on step enter triggers. This way I could simplify all the buttons and input widgets. The widgets will then only go to the “execute” step and the last trigger would then go back to the previous step. This way those apps would be much leaner and easier to maintain.

---

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [November 2, 2022, 3:58pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/11 "2022-11-02T15:58:25Z")

</div>

Hey @Alex -

Not a ton of movement on this one yet (at least not directly). We did enable the ability to change the `when` type for step and app level triggers to streamline some copying, but haven’t yet extended that to `widget trigger > step trigger`.

In the past ~6 months, a team has been working on a slightly new, but significantly more powerful, trigger experience to help address some of the reusability pain points that exist in triggers. The ‘more powerful’ part of this new experience has mandated some engineering work on the backend, but that is nearing a v1 state. This work should go into alpha and beta testing in the back half of this year and should see the broader Tulip world sometime in early 2023. Reusability is a first order priority of this work.

Pete

---

<div class="post-metadata">

**Author:** ![ChrisF](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@ChrisF](https://community.tulip.co/u/ChrisF)\
**Post date:** [January 24, 2024, 2:44pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/12 "2024-01-24T14:44:41Z")

</div>

Hi @Pete_Hartnett

any news?  
Now it’s early 2024…

As long as I can’t copy triggers between events, buttons and other widgets, is it easier to integrate a possibility to simulate a “Button\_click” (or other) events and call/run so all of the corresponding triggers from the widget?

For example:  
I have a trigger for an input field when pressing the enter key. The same trigger will fire when I hit the “search” button.  
So there are redundant triggers for different widgets.

What do you think about it? Easier to implement or too different?

Regards Chris

---

<div class="post-metadata">

**Author:** ![thorsten.langner](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@thorsten.langner](https://community.tulip.co/u/thorsten.langner)\
**Post date:** [January 24, 2024, 3:46pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/13 "2024-01-24T15:46:56Z")

</div>

Such a Workaround would be using something like this custom widget for delay…  
The delay could also be 1ms (or even 0ms?)

> [@Need to Go to Next step after 2 seconds](https://community.tulip.co/t/need-to-go-to-next-step-after-2-seconds/10317/4):
>
> You can use a custom widget. I built one, and you can use it. Input is the delay in milliseconds (2000 = 2s) “Label” is only to label the Widget itself, if you use more than one in one step. Start → here you need to add a bool variable. If you want to start the delay, you set the bool true. It will reset automatically to false and it will fire an event after the given time. Add your triggers you want to fire after the delay time to the widget, not to the button or step… [customWidget-Delay…](https://community.tulip.co/uploads/short-url/uLhPKYAu9jN7CfTQpv7e87bUn4F.json)

However, this is still a workaround, and you would always need the wise foresight to know what to put in here… So it will only be useful for:

- you know you want to call one triggerset from a button and step enter
- you need the actual delay

In my opinion, there is a lot around this topic:

- enter in a text input is an additional trigger set to maintain, you will additionally need a button
- calling the same functions from different scenarios (coming from a specific step, manual button, clicking into a table, device input…
- executing the same from keybord or barcode scanner…
- resetting variables for multiple use  
-…

all of these could be functions you could store in a step or on app level (local / global) and just call it…

---

<div class="post-metadata">

**Author:** ![Amit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/amit/32/968_2.png) [@Amit](https://community.tulip.co/u/Amit)\
**Post date:** [January 25, 2024, 6:58am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/14 "2024-01-25T06:58:29Z")

</div>

Such solution for using same trigger in different widget would be great for me too, I have this use case in so much steps and apps, maybe a solution like function (called also procedure in Delphi or Function Module in SAP…) doing single process that you can use in different steps and apps would be very usefull, like, for example, write data into a table that ocour in many places accross app.

Thank you,  
Amit Berku

---

<div class="post-metadata">

**Author:** ![ChrisF](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@ChrisF](https://community.tulip.co/u/ChrisF)\
**Post date:** [January 25, 2024, 2:02pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/15 "2024-01-25T14:02:20Z")

</div>

Thanks @thorsten.langner  
that’s a great workaround/solution.  
It’s just a pity that I can’t copy triggers from steps or buttons.

Regards Chris

---

<div class="post-metadata">

**Author:** ![jakerigos](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/jakerigos/32/6898_2.png) [@jakerigos](https://community.tulip.co/u/jakerigos)\
**Post date:** [January 31, 2024, 6:49pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/16 "2024-01-31T18:49:02Z")

</div>

Thank you all for your input on copying/pasting triggers (especially around functions and workarounds that you’re currently using).

This is great feedback and will revisit this as we look to tackle these issues.

Sincerely,

Jake

---

<div class="post-metadata">

**Author:** ![Richard-SNN](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/richard-snn/32/1166_2.png) [@Richard-SNN](https://community.tulip.co/u/Richard-SNN)\
**Post date:** [August 27, 2024, 1:59pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/17 "2024-08-27T13:59:56Z")

</div>

I may start a new thread but I think there’s a more simple solution…

Often times I have a LOT of logic in a `Submit` button based on manual input that needs to be verified, but I also want to be able to auto advanced based on barcode input if I know it’s safe to do so.

What if there was just a new action type where you can simulate a button press as an action?

Then I would only have to maintain the logic in one place.

---

<div class="post-metadata">

**Author:** ![thorsten.langner](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@thorsten.langner](https://community.tulip.co/u/thorsten.langner)\
**Post date:** [August 28, 2024, 3:57pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/18 "2024-08-28T15:57:55Z")

</div>

Hi @Richard-SNN

> [@Richard-SNN](#):
>
> What if there was just a new action type where you can simulate a button press as an action?

I feel like I’ve read this suggestion before …  
Still a great idea!

One issue with this is, that I would start only building triggers in buttons and then call them from anywhere… and than start hiding all that buttons… so: Why the button?

That’s why we already discussing triggers to be saved separately (like the variables window or the record placeholder tab or so) and then call them from where ever you like.  
That way you can build a trigger library, you can call from a button, a step, an input widget…

What do you think? That’s basically exact what you suggested, but without the button if you don’t need it!

Here are some threads around this Idea…

- [Global trigger editor - Product Suggestions - Tulip Community](https://community.tulip.co/t/global-trigger-editor/10568/6)
- [Quality of Life: Triggers Library - Product Suggestions - Tulip Community](https://community.tulip.co/t/quality-of-life-triggers-library/6739)
- [Point to other trigger function within trigger - Product Suggestions - Tulip Community](https://community.tulip.co/t/point-to-other-trigger-function-within-trigger/12194/1)

So you dont need a new thread, you can add your thougts right there… 🙂

---

<div class="post-metadata">

**Author:** ![Richard-SNN](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/richard-snn/32/1166_2.png) [@Richard-SNN](https://community.tulip.co/u/Richard-SNN)\
**Post date:** [August 29, 2024, 2:15pm UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/19 "2024-08-29T14:15:13Z")

</div>

Yes, shortly after I posted it I got an email to talk about reusable triggers 🙂

---

<div class="post-metadata">

**Author:** ![jacek.kos](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/jacek.kos/32/6526_2.png) [@jacek.kos](https://community.tulip.co/u/jacek.kos)\
**Post date:** [December 19, 2024, 10:51am UTC](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101/20 "2024-12-19T10:51:56Z")

</div>

Hi, @thorsten.langner that solution with the delay is really pretty clever!  
Anyway this topic was raised on 2021 and now we are heading 2025.  
Tulip team what are the plans for copying triggers between widget/step/app? (it’s still to be honest pain in the ass)  
I also agree that even better solution could be reusable functions (with parameters) which can be triggered from anywhere in the app.

[Next page](https://community.tulip.co/t/copy-triggers-from-step-enter-event-to-widget-event/3101.md?page=2)
