Skip to main content
Solved

Restart auto-edit action when table is refreshed

  • December 16, 2025
  • 6 replies
  • 94 views

Forum|alt.badge.img+2

We have a form that is open to edits from the user, set to auto-edit, and auto-save. After edits the user can press a button which updates the record in the background (using some data from an external source). After the background update the record is refreshed using “Refresh table”, resulting in visible updated data in the form as well.

Now what happens when the user makes another edit is where the problem lies, the error "The record could not be saved because it was modified by another party after the edit action was started. Please refresh the data and try again." shows up.
If we take this error literally, then it is correct, the edit action never ended because the same form is still up and all that happened is that it was updated in the background and then refreshed, meaning that the edit was now started before the refresh happened.

I think this would be solved by restarting the edit action on table refresh.

 

I’ve currently opted to disable auto-edit, and require the user to click the edit button before applying any edits. with auto-save still enabled. This is a less than ideal solution, adding an unnecessary extra step.

 

Posting as a question initially since I’m not sure if there is already a way to achieve this, if the above is a possible idea, this could be converted to an idea post instead :)

Best answer by Arie V

@jkruter I’d say this is a bug. Please raise accordingly in TCP.

6 replies

Poonam
Moderator
Forum|alt.badge.img+2
  • Moderator
  • December 17, 2025

This is confirmed internally, with a small nuance.

Refresh table itself does not end or restart an active edit action. With auto-edit enabled, the edit session remains open. When the record is updated in the background, the next user change triggers the “modified by another party” message- not only because auto-edit is active, but also because the record changed underneath the edit session.

There is currently no explicit (auto)save or cancel process flow action that can be triggered on refresh.

One possible workaround is to force an autosave by navigation, e.g.:

  • Go to next row

  • then Go to row for the original key

This ends the edit implicitly and avoids the conflict.

Restarting the edit action on refresh (or having a save/cancel process flow action) would require new platform functionality, so this sounds like a good candidate for an idea post.


Forum|alt.badge.img+2
  • Author
  • Vanguard
  • December 17, 2025

Thanks Poonam, in my case it’s a form edit, without the grid visible (the screen always contains a single record), so switching rows is not an option. I can see how this is also the reason the auto-edit stays active the whole time, as we are technically editing the same row without exiting it.

Could you change the thread type to an idea for me?

To summarize: the idea is to restart the edit action on table refresh, or to add a new option in process flows that restarts auto-edit on a specific table.


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • Answer
  • January 9, 2026

@jkruter I’d say this is a bug. Please raise accordingly in TCP.


Forum|alt.badge.img+2

@jkruter 

You are free to raise a ticket since Arie thinks this is a bug. But I think this could be solved with the auto-commit logic concept https://docs.thinkwisesoftware.com/docs/sf/business_logic#auto-commit/. You might need to move some things around, but what you are describing is why we made this.

 

 

 

 


Forum|alt.badge.img+2
  • Author
  • Vanguard
  • January 12, 2026

@jkruter 

You are free to raise a ticket since Arie thinks this is a bug. But I think this could be solved with the auto-commit logic concept https://docs.thinkwisesoftware.com/docs/sf/business_logic#auto-commit/. You might need to move some things around, but what you are describing is why we made this.

 

 

 

 

Thank you for bringing this to my attention, it works exactly like I would like the auto-save function to work (saving directly after exiting an input field, not only before starting the next action). I'll for sure be using this in the future, and I think this will solve another more minor issue I have,

Sadly it does not seem to be restarting the edit session, when the table gets refreshed, any edits after that fail because the table was "modified by another party after the edit action was started” (again, even though it was refreshed after the mentioned modification).


Forum|alt.badge.img+2

Ok, then this might still be a bug. But I couldn’t let this go, because I saw that what you were trying to do was the use case for this functionality. It does come with a performance penalty, so don’t use this for everything!