Skip to main content
Question

Saved Value is not registering before redirect

  • April 11, 2024
  • 0 replies
  • 93 views

Forum|alt.badge.img+20

I just encountered an issue I have never seen and am wondering if anyone else has come across this.

I have a Formula Rich Text Button that Does the following:

'Class=Save Before Navigating'
Run an API_EditRecord and set a half dozen fields.

I am in Table A, and there is a record in table B being edited.

The problem I am having is I will see the 'Saving' dialogue come up (indicating my record is being saved), but it doesn't always see that  field was changed. Here is an example.

For example, I changed a singular text field (minimally, I removed a period). The auto save ran, but then it indicated '0 fields changed'. Yet, I can see on my launch record the field is in fact saved, without the period. A field definitely changed. (I would post a picture but that seems to be bugged)

This is not consistent. Sometimes I run the test and the edit is made as expected. Another time I will run the test and it doesn't register the change. It is almost as if it is a race against the clock. Sometimes the EditRecord API is running before it can tell a change was saved.

Has anyone else run into this?

Forum|alt.badge.img+6
  • Registered
  • April 11, 2024

not sure if table A is the parent table of table B or not. If so,

edit at least one field in the Table A