Overriding the locking strategy of a child case

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:
    1. In the navigation panel of Dev Studio, click Case types, and then click the child case type that you want to open.
    2. On the Settings tab, click Locking.
    3. Select the Allow access for the parent case when the child case is opened check box.
    4. Click Save.
    5. 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:
    1. In the navigation panel of Dev Studio, click Case types, and then click the child case type that you want to open.
    2. On the Settings tab, click Locking.
    3. 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.
    4. 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.

    1. In the navigation panel of Dev Studio, click Case types.
    2. Right-click the name of a child case type, and then click Open.
    3. On the Advanced tab of the Case Type form, click a locking strategy.
    4. 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.