Script Helper
ELG-013 Members Test before use
Lock enrollment for a job class (self-service only)
Employees in one job class can't change this plan themselves; agents still can.
Engine › On EligibleEngineOnEligibleIntermediate
Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.
JScript.NET
1// EngineOnEligible — [Job class] enrollment lock
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
Setting Event.Config.EnrollThroughDate to yesterday closes the plan. !IsEnroller limits the lock to self-service. No Event.Value is needed — the config change does the work.
Members also see 1 value to change and 2 cautions for this script.