Dependent Coverage End Date is not working as expected and it's not returning the coverage end-date
Summary:
We have a requirement, when dependent child turns 25 years, the coverage should end on last day of the next year February month and for child who is below 25 years and Spouse, coverage end-date should be the last day of the life event occurred month. Have written below FF but it is not working for child who is below 25 years and Spouse. The coverage end-date is not coming correctly for them. Can someone help me to improve this FF.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):