Two tables; Jobs (parent) & StopTime (child)
StopTime has two relevant columns; [StopBegin] & [StopEnd]
In a detail view of the Jobs table I have an action button, “Add Stop” that triggers a webhook which creates a row in the StopTime table. This newly created row will have the [StopBegin] column filled with the current time. The [StopEnd] column will be blank.
At this point, an action button to “End Stop” should be visible. The condition to show this button relies on there being a related row in the StopEnd table with a blank [StopEnd] column. This will always be true if the webhook ran successfully.
My app has ‘Delayed Sync’ disabled. Any change the user makes causes the app to sync immediately. When the user clicks the ‘Add Stop’ action, the app beings to sync and the row is created in the StopTime table. When the app returns from syncing, the ‘End Stop’ button SHOULD be shown because a new row with a blank [StopEnd] column was just created. Problem is, the button is not shown. Its as if the condition for this button was not met before the app finished syncing and the view is shown.
If I re-sync the app, the condition to show the button is met and the button is shown.
I’d appreciate any help or opinions.