Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
The typical workflow application developer uses a checkbox in the Workflow Design tool to enable the Just-in-Time (JIT) script debugging. Advanced developers creating their own tools may enable JIT using the raw schema property and ADO. To enable Just-in-Time (JIT) script debugging, in this case, add...
Property | Value |
---|---|
http://schemas.microsoft.com/cdo/workflow/enabledebug | True |
to the OnSyncSave/OnSyncDelete registration items in your workflow folder. The workflow engine uses the value of this property with the EnableDebug() method of the IProcessInstance interface to configure the script host before running any script.
You need to make sure your server environment is set up correctly for this to work. JIT is 'OFF' by default in Windows 2000. To make sure it is 'ON', set
Registry Key | Type | Value |
---|---|---|
HKCU/Software/Microsoft/Windows Script/Settings/JITDebug | REG_DWORD | 1 |
JIT catches runtime errors but not syntax errors. The workflow engine records syntax errors in the AuditTrail.