Hi,
We need to update master data when actual users are using the application due to limited downtime in the application.
Please help to suggest the approach.
Can you please elaborate on the use case and what the ideal outcome would be?
This is a database problem that is not unique to OutSystems.
Inserts should not be a problem, but updates can be.
Without using advanced SQL, the only thing you can do in OutSystems is to utilize the GetForUpdate operation with error handling.
This will ensure that you have a record that is not being updated, and lock it during the transaction.
This is explained in detail in this article:
https://success.outsystems.com/documentation/how_to_guides/data/how_to_handle_concurrent_updates_on_application_data_records/?_gl=1*n0v392*_ga*MTk3MzU3NDE3NC4xNjk1OTE3NjQ0*_ga_ZD4DTMHWR2*MTcxMTYzOTE4Mi4xMy4xLjE3MTE2MzkyMzIuMTAuMC4w