cant prevent refresh in client

2
Hi. I need to commit just one attribute in an object coming from a form that has other changes to this object. I created a save microflow, retrieve a pristine copy of the object from DB, set the attribute and commit it without events and with no refresh. However, the fields on the form revert to the original values. Only if I execute the commit in a task queue, it works as expected, but I don’t want to.  
asked
2 answers
0

The only real way to do this is to have that one attribute editable via a separate non-persistable entity. That way you can make the change to just that one non-persistent entity which can than run a microflow that retrieves the original version of the object from the DB and and update just the one field you set on the non persistent variable.

answered
0

Found a workaround: after doing something with the object from DB add another activity to refresh the object passed from the client, for instance, change object without any member. The last one wins.

answered