In a parent/child relationship, I want to propagate some info from child to parent. Will the parent case lock gets acquired automatically when i update something on pyWorkCover irrespective of the parent case locking mode is optimistic OR child case has 'Do not Lock parent' checked?
Optimistic locking enables multiple the operators to open a case. No lock is obtained when the case is opened. The lock occurs when the user clicks Submit. When two operators are working on the same case, the changes to the case are made by whoever submits the case first. The second operator receives a message with the first operator’s name and the time of the change. Also there is a refresh button that allows the second operator to get the new changes made by the first operator. The second operator’s changes are not applied until they click refresh and submit their action after the refresh.
If the “Do not lock” option is selected, the parent case is not locked when the subcase is being worked on. The advantage of using the “Do not lock” option, both the parent and subcases can be processed simultaneously. The main disadvantage of using the “Do not lock’” option is that since the parent case is not locked, any properties related to the subcases, such as count of open subcases is not updated in the parent case. If this is not important and simultaneous processing is preferred, then select the “Do not lock” check box.
Posted: 4 years ago
Posted: 11 Jul 2018 5:24 EDT
Venu Guggilla (venug724)
Bank of Singapore
Bank of Singapore
Is there any way to get the soft lock on the Work Item through activity or any other rule?
Actually we are releasing the lock on Work item when user opens the task through PerformDefaults Activity as per the requirement, but this makes an issue (you have lost ability to made changes on work item), when user submits the task. So for that reason we need soft lock on the Work Item.