Need help regarding sending data from klwp to kwgt issue

Hello, i was trying to send a value stored in a variable from klwp to kwgt, but with no success. In klwp i created a global text variable ‘var’ and gave it a value, and created a cron flow with the send data option, wrote ‘var’ in the variable name and selected kwgt. In kwgt i created a text entry with ‘$br(klwp, var)$’ in the formula as suggested here: Flow send action - #25 by frank
Unfortunately it did not work.
When in klwp i try “test flow” this is what i get:
"
=> Send data
I Running
I Sending broadcast ‘org.kustom.action.SEND_VAR’, extras:
org.kustom.action.VAR_VALUE=,org.kustom.action.EXT_NA ME=klwp,org.kustom.action.VAR_NAME=var, pkg: null => Fatto [Os]
"
Any help please?

Ciao Andrea,
This is normal, the “test” feature doesn’t actually send any broadcast, its only testing the flow and showing what it would do without doing it.

Just ensure you have an object that triggers the flow in KLWP (like a touch area with trigger flow), then save and in KWGT use this formula $br(klwp, var)$ this will read on KWGT the value of var sent from KLWP when you click the object.

I will make the text better in next version (see below):

Thanks for the explanation!
But unfortunately this does not solve my problem. How do I check if my kwgt and klwp are functioning correctly? Because I also have a problem with klwp, it does not register touch events and i haven’t been able to troubleshoot the issue, so i suspect that something is not working.
So how should I try to troubleshoot both apps?
Thanks

This issue is not related to this topic, if touch events are not working on KLWP please check the FAQ, in general its a launcher problem. Try “raw touch” in the advanced options of KLWP for non supported launchers, if its something else search the forum and post a new topic if this is not covered.