Hi,
I’m searching for a way to change the defult snapshot frequency for identity snapshots from 1 day to 7 days.
In the UI the setting can be done under Global Settings → Config → Identities → Identity Snapshots.
Is there a way to change the code to avoid doing it always manually?
86400 is the number of seconds by default (24 hours) - you can update the value here.
This should be a general set-it and forget-it configuration option, and I wouldn’t recommend updating it dynamically (though you could, using beanshell to get the object and then save the object - see the beanshell developers guide).
If you are asking if you can override this value in your standard build process (services standard build, etc) so that the next time you deploy it will be updated then yes - you can create an object in your build repository for the SystemConfiguration.xml file, but this needs to have an “Import Action=Merge” configuration so that it wont’ change any other global settings - just overwrite the entry for ‘IdentitySnapshotInterval’.