how link the userevent scipt to workflow where whe...
# general
m
how link the userevent scipt to workflow where when click on button excute spacif userEvent script
a
There are multiple ways to approach this, but I think the simplest might be to just move your UE script code to a Workflow Action Script and add that action to the state that the button click transitions to.
Another way is to notice that the button click transitions to a new state, on Entry to that state you could set a field to indicate to an existing UE script that the button has been clicked. The UE script could check that field's value beforeLoad or whenever needed, and clear the field again to prevent performing the action again, if desired.
👍 1
1