For app to switch on data automatically, this is what works best for me:
1) Variable set %MOBDATA to:ON
2) Mobile Data set On
1) Variable Clear %MOBDATA
2) Wait 1min
3) Mobile Data Off, if %MOBDATA isn't Set (!SET)
The reason i created variable %MOBDATA is because to prevent Mobile Data switching off when i exit an app and reopen another app within that 1min wait. As long as i keep opening apps that requires mobile data it will not switch off.
It works with all apps, except Glympse cos it closes when it detects mobile data is off, workaround i open browser to get mobile data on then i open glympse.