When it is launched
The script runs when pages or documents are added, or before they are deleted.Deleting a document does not trigger the page-deletion event.
React to batch structure changes in FlexiCapture scripts when pages or documents are added or deleted, for example to count incoming pages.