Question
Can Locking concept be applied for a screen which is not a Work Object?
I have a requirement to show lock message when the screen is launched by more than one user and the lock should be released when user closes the page or when session expires or when user logs out.
I have a link, when user clicks on the link a page is displayed. This page should can be viewed only by one user at a time. Can anyone suggest an idea how to acquire a lock for the screen when the user clicks on the link, so a lock message will be displayed for other users who try to access the page.
Thanks in Advance.
PRPC locking works for object (any object corresponds to a row in a Database table) of a class. Screen itself doesn't represent a row (except the rule type) and thus OOTB locking can't be applied. You can apply custom solution to maintain a lock string before executing the flow action and check the same with pre activity or Data transform.