Advanced Customization > Business Logic Customization > Customizing Workflow Administration > Locking Annotations In Change Workflows > Define a Workflow Robot to Unlock Annotations
  
Define a Workflow Robot to Unlock Annotations
To unlock annotations when a Change Notice is revised, insert a new robot in between the “Reassign to Original Author” node and the “Or” node:
1. Select the new Execute Expression robot from the toolbar as above and insert the new expression.
2. Add a description and name.
3. Enter the following Java into the Expression tab to unlock the annotations:
wt.fc.collections.WTSet revisedChangeObjects =
wt.fc.collections.CollectionsHelper.singletonWTSet(primaryBusinessObject);
wt.change2.ChangeLockHelper.service.
unlockRelatedMaterials(revisedChangeObjects,
wt.change2.ChangeApplicationLock.LOCK_SUPPORTINGMATERIAL);