Using MDM App to read/update management properties

We are using management properties in DDM to assign configurations and assets to a particular device, and one of those properties should be updated by a business app on the device.

For example, if the business application is not launched every 30 days, then a predicate should evaluate to false and the device put into single app mode to force the application to run.

If, however, the app is launched any time in the 30 days, then the counter should be reset. Essentially trying to enforce that users in the field cannot work offline for extended periods of time without getting the latest dataset from the company.

The single app mode part is very clear and the predicate to assign the configuration based on the date in the management property seems logical.

However, the question is: Can a predicate be built upon data that is updated by the custom MDM app? ie: If the app is launched on the device without connectivity, can a property be updated that the DDM predicate system can access that can be used as an input property? such as "last launch time" or "last check-in" of the custom app?

Alternately, could the custom MDM app read any of the management properties set via DDM? That way the user would know the value that the DDM configuration for restricting the device.

Using MDM App to read/update management properties
 
 
Q