We updated to Forms 11 update 5 on 2/21/24 and we have a Team javascript filter that errors out with the following error:
Filter returned a script error: Cannot read property 'toLowerCase' of null [LFF6010-FilterReturnedScriptError] Details: URL: Error: FilterReturnedScriptError Date: 2/22/2024 4:11:50 PM (Mountain Standard Time) HTTP Status Code: 500 Business Process ID: 4 Instance ID: 76793 Business Process Name: Medicaid Appeal Workflow Other: TeamFilter: 6 Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: Filter returned a script error: Cannot read property 'toLowerCase' of null [LFF6010-FilterReturnedScriptError] at Laserfiche.Forms.CommonUtils.RuleExecutionService.ExecuteTeamScriptFilter(IEntityContext appContext, team team, business_rule rule, cf_bp_main_instances mainInstance, cf_bp_processes process, XmlDocument routingXml, String& TestValue) at Laserfiche.Forms.Routing.UserTask.ResolveAndAssignTeamMemberToTask(cf_bp_worker_instnc_to_resume wr, IRoutingContext routingContext)
Here is the filter that has been working for years:
So testing the script with a blank value for 'Appeals_Coordinator' should return all team members which it does. But when the script runs in the business process, the instance suspends with the error.
I don't know where the property 'toLowerCase' is coming from or if the script is now evaluating the blank variable as NULL.