Skip to main content
November 7, 2022
Solved

Page is currently taken

  • November 7, 2022
  • 4 replies
  • 0 views

My needs is to check if other user is standing on page, so in this case i cannot edit data on it.

Is there some functionality to check that the record summary page is in use right now?

Thanks for help!

    Best answer by stewart.burchell

    A typical pattern would be to consider a Record Summary page as Read Only, and to provide a Record Action to allow users to update the record's data. A Record Action will start a process and there are two different ways to prevent other concurrent updates:

    • you can make the visibility of a Record Action dependent upon whether there are any instances of the same process in flight (you would need to use a Process Report to determine this). Note that there is a small window of opportunity for two users to start the same process where the Process Report will not yet return the necessary data
    • you can make use of a Locking solution. The one I have used in the past is this: https://community.appian.com/b/appmarket/posts/pessimistic-locking. This is by far the better, more secure scalable solution, which can be re-used across all of your applications.

    4 replies

    stewart.burchell
    November 7, 2022

    A typical pattern would be to consider a Record Summary page as Read Only, and to provide a Record Action to allow users to update the record's data. A Record Action will start a process and there are two different ways to prevent other concurrent updates:

    • you can make the visibility of a Record Action dependent upon whether there are any instances of the same process in flight (you would need to use a Process Report to determine this). Note that there is a small window of opportunity for two users to start the same process where the Process Report will not yet return the necessary data
    • you can make use of a Locking solution. The one I have used in the past is this: https://community.appian.com/b/appmarket/posts/pessimistic-locking. This is by far the better, more secure scalable solution, which can be re-used across all of your applications.
    November 7, 2022

    Thanks. I will use it! [emoticon:44a8a53ad3364ea78a16c5a3229f75bb]

    November 7, 2022
    [deleted]
    October 13, 2023

    Thanks for the information.