Remove Entity Data from Data Base

Hi, I am using a persisted entity and committing it to the Database. But, I only want one single row for that entity. Can I achieve this? Everytime I do a commit, can I just override the row corresponding to that entity?   Or can I just remove entity data from db and re commit?
1 answers

HI Manish,


In your microflow you can do a retrieve and retrieve one object. There is a setting that says first. What you can do is create a microflow that checks whether that one object exists. If it does you can change the object. If it doesn't exist then simply create a new object and save to the Database. This is quite a common pattern to do for things like application settings. Something like below might help: