Preview — enrollment opens soon. Join the waitlist
Script Helper
TXT-001 Free Test before use

Text by residence state

Show different paragraphs to employees in different states.

Text banks › Text bankTextBankBeginner

Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.

JScript.NET
1This text shows to everyone.
2
3<% if (Event.Employee.Address != null) { %>
4 <% if (Event.Employee.Address.State == 'TX') { %>
5 This text only shows to Texas employees.
6 <% } else if (Event.Employee.Address.State == 'CA') { %>
7 This text only shows to California employees.
8 <% } %>
9<% } %>

Highlighted lines are marked CHANGE — swap in your own values before using.

How it works

<% %> blocks wrap normal HTML/text in JScript conditions.

Values to change

  • States and text
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.