Our users are experiencing random tasks being suspended with the error code below. It is happening when forms is trying to assign a task using the team filter. The forms process and instance are provided below but it has happened on other processes recently.
Error Code
Filter returned a script error: Timeout for Javascript Engine. [LFF6010-FilterReturnedScriptError] Details: URL: Error: FilterReturnedScriptError Date: 2/11/2019 5:36:24 PM (Central Standard Time) HTTP Status Code: 500 Business Process ID: 179 Instance ID: 211039 Business Process Name: CCS - Placement - New Application Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: Filter returned a script error: Timeout for Javascript Engine. [LFF6010-FilterReturnedScriptError]
Filter JS code
var CCA;
CCA=$util.getValue('assign_to');
if (CCA !="")
$result=team.findTeamMembersByDisplayName($util.getValue('assign_to'));
else
$result=team.findMembersByRole('CCAs')