Script Helper
LFE-007 Members Test before use
Loss-of-dependent events: terminate at month end
For divorce, legal separation, or death of spouse, coverage terminates on the last day of the event month.
Engine › Life EventLifeEventIntermediate
Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.
JScript.NET
1// LifeEvent — Terminate at end of event month
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
DateTime.DaysInMonth(year, month) gives the last day of the month, handling leap years.
Members also see 1 value to change and 0 cautions for this script.