Script Helper
LOD-004 Members Test before use
Set a default rate row only if none is set
Idempotent default: never overwrites a level the employee (or another script) already chose.
Engine › On LoadEngineOnLoadBeginner
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 — Default benefit level only when empty
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
OnLoad fires repeatedly; guarding with IsNullOrEmpty means the default is applied once and user choices survive.
Members also see 1 value to change and 0 cautions for this script.