Hi All,
consider a Group with A,B as group members added in it and that group has access to a document.
I have a requirement where if the document is opened by A through Interface/Related Action and if B tries to open the same document at the same time can we restrict the document being opened by B with some message or alert?
Please provide your inputs. Thanks in advance.
Discussion posts and replies are publicly visible
This functionality is not automatic.
You could build these controls but you'd need to test carefully and ensure that you don't accidentally leave things locked forever.
Is there even a current way for a user to have a document "open" (for editing) within an interface? As far as I'm aware, there is no in-interface editing functionality for any Appian-side documents.. unless we're talking about the functionality from some plug-in.
Hi yes even as per my knowledge there is no functionality to edit a document in an Interface in Appian
From my above notes I mean, if user A has accepted the Interface which has link to document he can download the same for editing whereas user B will not be able to view the Interface as it is Accepted by user A so eventually user B will not be able to access the document
This use case should be possible but you'd need to implement it manually. The easiest way would most likely be a special database table for "locked documents" or "locked records" where the process writes a new entry for the current user as soon as they start the process/related action/etc, and then unlocks that row when they close out or otherwise indicate they're finished. As long as you set this up carefully it should be maybe fairly easy.
You'll want to read articles on Optimistic and Pessimistic Locking to see which approach suits your requirements best. You can implement both without the need for any plugin.
Thanks all for your suggestions. Based on your inputs will try to achieve the requirement.