Modifying the result (return code) of a Process Plan with the Check property "Create a hit (or not)"
Beginning with pdfToolbox 14 a special Check property "Create a hit (or not)" is available that can be set to always or never create a hit. This can be used in a Process Plan with switches to explicitly specify the result (a hit or no hit). On command line via the return code or in the SDK it can be used to control workflows.
It is in addition possible to specify the trigger value.