
Context: | 
Class Property |

Library/Class: | 
StaticVars Class |
StaticVars.ProcStat As Integer, Read/Write
New to Integra for Notes 4.1 Build 58
The ProcStat property controls the runtime processing (loop). During normal processing the value of ProcStat is set to 1 (one), which indicates to continue processing the events normally. Detailed processing control can be achieved with the Continue property of the runtime export or import object. Setting the value of ProcStat to 0 (zero) will abort the processing immediately. Any set COM or Notes actions will not be executed. Within the processing loop (for an export this would be between the CB_BFORREADNOTES and the CB_AFTERWRITECOM event) the value of ProcStat can also be set to 2 (two), which will let Integra to process the same exported Notes document again.
Note: Using one of the above mentioned events to set ProcStat to 2 can lead to an endless loop processing one and the same Notes document repeatedly if no proper conditioning is put in place.
One of the positive effects of the introduction of this property is that Integra will automatically set ProcStat to 0 (zero) to abort the export or import as soon as a runtime error is triggered. In earlier releases and builds, Integra continued processing with the next event following the one in which the error occured, resulting in nasty repeated error messages for every single Notes document exported.
|