I have Valves Layer hosted on AGOL that is being used in one of the apps for Valve Operations. Anytime the field crew do some work on the valve they update the attributes. For example, they can change the Vale Status from Open to Closed and for Reason they have the option to choose, water main break, maintenance, etc.
Is there any way to keep track of the history of these changes so end of the year we can get the stats as to how many valves were shut down for maintenance, water main breaks, inspection, etc.
On a hosted layer, there's no way to track the history like that. On a traditional SDE service, you can have archiving enabled, but even then, it's not exactly user friendly to query per-object changes over time.
The best you could do in a hosted layer is to have a related table that can hold "change reports" or something.