Script Helper
LOD-006 Members Test before use
Skip enrollment-only logic when running under a report
Wrap logic that should only run during enrollment, not when a report/EDI evaluates the engine.
Engine › On LoadEngineOnLoadIntermediate
Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.
JScript.NET
1// EngineOnLoad — Enrollment-only logic
This script is for members
Members see the full code, the values to change and the cautions.
See membershipAlready a member? Sign inHow it works
Event.Engine.ReportEvent is non-null when the engine is being evaluated by a report, so this guard keeps reports from changing data.