3 weeks ago
Hello @Dan_Wroblewski,
Can you help me?
I want to use the "Receive event" logic on a Data Variable canvas to trigger it from another part of the app, I set "Fired from Trigger Event" option in the event source, on the "Trigger event" I set it to trigger the receive event from earlier, but it doesn't show on the option list, instead I need to edit the trigger node and set the receive event there, but even that way the receive event doesn't get triggered, it only triggers events outside the Data Variables canvas.
I don't know if it makes sense but I add some screenshots to show how I set up.
Am I doing something wrong? How to properly set the events?
3 weeks ago
This is the classic case for using the trigger event, to refresh data. But it does not work to trigger an event on the data variable canvas. 😔 If I want that I have to move the data logic to the main logic canvas and create the events there ... not as elegant but not terrible.
You said "instead I need to edit the trigger node and set the receive event there" -- what do you mean?
3 weeks ago
I'm ok with the trigger event not working on the data variable logic, but is it a plan to make it work?
Also the receive event was working and triggering when a app variable changed state but it's not working anymore, it only works when a page variable change.
3 weeks ago
3 weeks ago
So the app variable problem has a slight difference, instead the page's logic canvas, the receive events are on the data variable logic canvas, in this scenario the page variable receive event works but the app variable don't
2 weeks ago
2 weeks ago
Hi @Josephrezende
Can you please try to move the Set App variable node immediately after the event trigger in the logic canvas, I guess if it's followed up after another process that might be causing the issue.
2 weeks ago
Hello @YashminBehera, I did like you said but still don't work.
I added a button to toggle a Boolean app variable, then a date page variable to change, on the data variable logic canvas I set a trigger to fire if the app variable change. when I click the button the variables change but the trigger on the logic canvas don't fire, I added two screenshots of the logic.
a week ago
Hi @Josephrezende
- Try to create a temporary Page Variable and update it whenever the App Variable changes and then Set the Receive Event to track the temporary page variable.
- And you can also try to Manually Fire an Event When Updating the App Variable.
- Add a Toast Message right after updating the App Variable to see if its value actually changes.
And also ensure that the App Variable change occurs Before the trigger execution. (Try adding a delay after updating the App Variable before firing the trigger.)