How to delete all object edits programmatically / automatically

We have objects that we would like to periodically, automatically delete all edits on. The resolve conflict options are not robust enough for delete/creation situations.

We could run automate and functions to try undo/revert to the desired state (no edits) however, that just seems like stacking edits on top of edits to try get rid of edits, and its a little much.

We have been snopping around for the API in OMA but it is pretty elusive and complicated.

Thanks,

1 Like

(These aren’t the best ideas but just throwing them out there)

My first thought is running the API in OMA in a transform on a schedule to get rid of edits but another idea could be having a primary key that changes on a schedule whenever you need to “clear” the edits. For example, using the timestamp or something unique to change the pk so that OMA doesn’t know to apply the edits on these “new” objects

These aren’t great ideas but curious what other people think

1 Like