Script Helper
Sample BenSelect® scripts with notes on how they work, where they go and what to change. Search by keyword or by tag — try or .
Allowed job classes (list)
Eligible only when the employee's job class matches one of a list of descriptions.
Exclude job classes containing a keyword
Blocks any job class whose description contains a word such as 'Retiree'.
Lock enrollment for a job class (self-service only)
Employees in one job class can't change this plan themselves; agents still can.
Spouse ineligible if spouse is a retiree
Uses the spouse's own employment record (EmploymentInfo) to block retiree spouses.
Hide a question for a job class
Question hidden for one job class (e.g. retirees don't get the actively-at-work question).
Spousal surcharge rate row
Sets the medical rate row to Spousal Surcharge or No Surcharge based on the spouse's answer.
Rate row by job class
Different job classes get different contribution/rate rows.
Job class change from part-time
When an employee moves out of a part-time class, coverage starts the 1st of the next month.