How to locked the object for users

0
Hi all, I have a requester and approver. Requester can select one or more approver. Example: Requester select the approver A and approver B. If  A opens the objects then B will not able to open it. It should locked for A and once A leaves the page then B will able to open that. How can I implements this. Please guide.   Thanks.
asked
2 answers
2

Hi,

You can use a control entity to lock the object when someone opens it. The controller needs to be committed when there are changes in your object. So, it will only be possible to open your object when the lock in the controller is set to false.

 

 

answered
0

 

Have a look at this – 

Mendix Marketplace - Pessimistic Locking

 

Its Mx V7 but will work on later versions too, as long as you don’t need support for native/offline working.

answered