# On click workflow not executing on Right Click open in new tab/window

**URL:** https://community.weweb.io/t/on-click-workflow-not-executing-on-right-click-open-in-new-tab-window/4987
**Category:** Ask us anything
**Created:** [October 20, 2023, 5:12pm UTC](https://community.weweb.io/t/on-click-workflow-not-executing-on-right-click-open-in-new-tab-window/4987 "2023-10-20T17:12:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chrisb](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/chrisb/32/2834_2.png) [@chrisb](https://community.weweb.io/u/chrisb)
#### Post date: [October 20, 2023, 5:12pm UTC](https://community.weweb.io/t/on-click-workflow-not-executing-on-right-click-open-in-new-tab-window/4987/1 "2023-10-20T17:12:19Z")

</div>

I have a button that when clicked a) Links to another page and b) executes a workflow (triggered by On Click).  
In production, when a user Right Clicks and chooses Open In New Tab or Window, the page does change BUT, the workflow does not execute.

Am I doing something incorrectly on the setup to enable this to work?

 ![Screenshot 2023-10-20 at 10.06.44 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0916e26c48a38ec69430239459385b71168eac91.png)  
 ![Screenshot 2023-10-20 at 10.07.24 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a6a03298397c436606b170fee800b972d0c0d9c3.png)  
 ![Screenshot 2023-10-20 at 10.39.54 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/095a620f0ec076d4d6b4bf5f90acf4eaeb5e27fe.png)

---

<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: [October 23, 2023, 11:37am UTC](https://community.weweb.io/t/on-click-workflow-not-executing-on-right-click-open-in-new-tab-window/4987/2 "2023-10-23T11:37:29Z")

</div>

You would probably be better off if you added the Change page action after your Change variable value action in the workflow and then removing the link from the element
