Preview — enrollment opens soon. Join the waitlist

BenSelect® scripting quick reference

The page to keep open while you write scripts. For working examples, search the Script Helper.

Section 1 is free. Members get all 17 sections, plus the full Script Helper.

1.How BenSelect scripts work (60-second version)

  • Scripts are written in JScript.NET — Microsoft's .NET flavor of JavaScript. It looks like JavaScript but has full access to .NET types (DateTime, String.Format, Hashtable, ArrayList).
  • Every script receives one root object: Event. Everything you need — the employee, dependents, the plan, the application in progress, coverages, the case — hangs off Event.
  • A script "answers" by setting something on Event:
    • most script types set Event.Value (true/false, a number, a string);
    • some set specific properties instead (Event.TotalPremium, Event.Application.DeductionOptionCode, Event.Action.EffectiveDate, Event.Record[...], Event.SkipRecord).
  • When a script runs is decided by its script type, which is chosen where the script is attached (plan engine, question, report field, text bank). Picking the right type is half the job.

2.JScript.NET vs. regular JavaScript

This section is for members.

3.Script types — when they fire and what to set

This section is for members.

4.The Event object — most-used members

This section is for members.

5.Key objects at a glance

This section is for members.

6.Questions & answers

This section is for members.

7.Null-safety patterns (copy these)

This section is for members.

8.Dates & formatting

This section is for members.

9.Enumerations you'll actually use

This section is for members.

10.Life event scripts

This section is for members.

11.Report & EDI scripts

This section is for members.

12.Text bank scripting

This section is for members.

13.Shared function library (Session.GetTextItemText + eval)

This section is for members.

14.Carrier-inherited scripts

This section is for members.

15.Debugging & troubleshooting

This section is for members.

16.About the sample scripts

This section is for members.

Appendix A — Reason type IDs

This section is for members.

Scripts are provided as-is for learning. Always test in a non-production case first. Depending on your build, a script may behave differently and need changes to fit your setup.

CatalystWorkflow™

Independent on-demand video training for everyone who works in BenSelect, from case builders to HR teams.

Catalyst Workflow LLC is an independent training provider. We are not affiliated with, endorsed by, or sponsored by Selerix Systems, Inc. BenSelect® is a registered trademark of Selerix Systems, Inc.

© 2026 Catalyst Workflow LLC. All rights reserved.