Script Helper
ELG-003 Members Test before use
Allowed job classes (list)
Eligible only when the employee's job class matches one of a list of descriptions.
Engine › On EligibleEngineOnEligibleBeginner
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 — Allowed job classes
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
Null-checks JobClass, trims the description, then loops a JScript array of allowed names and stops at the first match.
Members also see 2 values to change and 1 caution for this script.