Unable to change the locking for child class case type.
In my Application the case types contain the locking as follows
X (Optimistic locking)
-- Y (Optimistic locking)
Within Z case type, when assignments are submitted, an error is shown with error “Request has been modified on background – Please Resubmit”, upon resubmit the assignment is submitted without any issues.
Rootcause: I found that the customised error message is displayed only when the Param.ShowConflicts is true.
At backend an OOTB finishassignment is invoked with pzConflicts, this activity checks if the locking type is of optimistic and retrieves the stale instance with
As a temporary work around, changed the Locking of parent to Default.
Con: Though casetype looks like the lock is inherited, during the run time, the lockingmode is still optimistic, so need to manually updated the pydefault casetype rules with default locking at every child level.