Skip to main content
September 12, 2022
Question

Is there a way to determine if the user closes the tab he is doing?

  • September 12, 2022
  • 10 replies
  • 0 views

Hi,

In appian, Is there a way to determine if the user closes the tab he is doing?

Thanks,

    10 replies

    harshitb6843
    September 12, 2022

    There isn't any way to do that but there must be a workaround for your use case using timer exceptions. Can you explain your use case more?

    khuud0002Author
    September 12, 2022

    I wanna only user open record from record list. It mean, if a user has already opened the claim, then it should come locked for second person .

    My question is my way to resolve this problem, I thinks so that

    harshitb6843
    September 12, 2022

    You can use the textCache plugin to set a value in some key. For eg. lets take the key as ClaimSummaryDb and set the user context of loggedInUser() in this. 
    Now everytime when you load that screen, get the value of that key and check if it is null. If not, then show a lock else allow to edit.