Skip to main content
nguyenb6532
July 1, 2024
Question

Error handling when another user queries a record after it has been deleted

  • July 1, 2024
  • 0 replies
  • 0 views

I use the related actions of the record type to change or delete records. The flow is as follows:
①Click the "Inquire" button from the list (button of record action)
②Click the "Delete" button on the inquiry screen
③The inquired record is deleted.
Suppose that Mr. A and Mr. B are viewing the listings at the same time. In this case, if Mr. B tries to open the inquiry screen immediately after Mr. A opened and deleted the record, an error will occur.
(Error message: An error occurred while applying the context of the related action)
Is it possible to handle this error?
For example, to move to a screen that displays an arbitrary message, etc.
Thanks