This script function is used together with PPBeginDocMDUpdate and
PPCommitDocMDUpdate, and is called after a
SaveCurrMetadata,
SaveSegMetadata or
SavePPMetadata script function. It is used to clear all metadata in the cache.
If you at some point want to stop storing cached metadata in the Document Broker repository, you can use the
PPRollbackDocMDUpdate function. This function can be called based on some conditions, and when executed it clears all metadata that is still in the cache.
PPRollbackDocMDUpdate can be used at any post-processing script level.