On page exit event not working

Hello,

We are attempting to log the any change in variables which someone might change on a page in Citect 2018 R2. We are using a function to do this (if an example is required let me know). The function executes correctly when we enter the page, but for some reason it doesn't log the variables when we exit the page. The reason we are trying to do both is to log the values before and after someone accesses the page. Also, We have migrated the project from Citect 7.3 to Citect 2018 R2. 

Parents Reply Children
No Data