What you are looking for is called "Exception Data Collection". There's a corresponding section in the PItoPI Interface manual which can be found in the installation path (%PIHOME%\Interfaces\PItoPI. Alternatively you can directly download it from the PI to PI Interface page at OSIsoft Technical Support or look into the vCampus Library -> vCampus PI Product kits -> Interfaces and Buffering -> PItoPI Interface.
thanks for your answer, this is the solution i'm searching for.
Have a nice day,