Can we automate clearing app data?Solved

Participant
Discussion
1 day ago Apr 05, 2026

We’ve got Android Enterprise devices running in Kiosk mode for warehouse staff. Users don’t log out of the corporate app properly, so the next shift ends up inheriting the previous session. 

Is there something in Hexnode to automate clearing app data in situations like this instead of manually triggering the remote action every time? 

Replies (4)

Marked SolutionPending Review
Hexnode Expert
2 days ago Apr 05, 2026
Marked SolutionPending Review

Yes, this is exactly where Clear App Data remote action helps. 

Hexnode’s Automation tab provides the option to automate the Clear App Data remote action as part of your device management. Instead of factory resetting or Disenrolling the device, this action resets just the application sandbox removing cached credentials, tokens, and stored files while keeping the device enrolled and the Kiosk Policy intact. 

Marked SolutionPending Review
Participant
1 day ago Apr 05, 2026
Marked SolutionPending Review

That’s cleaner than what we’re doing. 

Where else are people actually using this? Trying to see if it applies beyond warehouse setups. 

Marked SolutionPending Review
Participant
22 hours ago Apr 05, 2026
Marked SolutionPending Review

When a device falls out of compliance, say it violates a Compliance Policy due to OS version or encryption statuswe don’t immediately wipe it. We set up an automation to handle this, which has made our work much easier. 

The automation trigger here is Activity → On Non Compliance, configured to run once ASAP when the device becomes non-compliant. This removes authentication tokens and locally cached transaction data instantly.  

The device remains managed, but the user must re-authe nticate once compliance is restored, acting as a soft containment before stronger actions like Work Profile removal. 

Marked SolutionPending Review
Participant
21 hours ago Apr 05, 2026
Marked SolutionPending Review

In our case, when the device exits the geofence of our office, it is automatically associated with a particular dynamic group flagged as non‑compliant, and then in the automation tab we configure the Clear App Data action to protect cached inventory records; the trigger in the Activity section is set to Device on Non‑Compliance, so the workflow becomes: geofence exit → device joins the designated non‑compliance dynamic group → automation applies Clear App Data. 

Save