Override a locking strategy to customize the way that your application manages
concurrent updates to child cases. By default, a child case inherits the locking strategy from
its parent case.
Customize the locking strategy by using any of the following techniques to customize the
locking strategy of a child case:
Procedure-
To allow updates to the parent case when the child case is updated by another
user:
-
In the navigation panel of Dev Studio, click
Case types, and then click the child case type that you want
to open.
-
On the Settings tab, click
Locking.
-
Select the Allow access for the parent case when the child case is
opened check box.
-
Click Save.
-
Remove specialized versions of the Work-.DetermineLockString
activity in your application because they are no longer used.
-
To change the timeout value for releasing a lock on the child case:
-
In the navigation panel of Dev Studio, click
Case types, and then click the child case type that you want
to open.
-
On the Settings tab, click
Locking.
-
In the Access time out value is field, enter a number of
minutes.
Tip: Enter a timeout value for the child case that is lower than the
timeout value of the parent case.
-
Click Save.
-
To apply a different locking strategy:
This technique changes the locking strategy for child cases without parents, which are
created in a stand-alone fashion.
-
In the navigation panel of Dev Studio, click
Case types.
-
Right-click the name of a child case type, and then click
Open.
-
On the Advanced tab of the Case Type form, click a locking
strategy.
-
Notify your development team of the change, because case-type settings always
displays the inherited locking strategy, even if it has been overridden on the Case
Type form.