Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Widget Client Controller Error

Johny1
Tera Expert

Hi Everyone,


In the widget client controller script I see an error showing expected an identifier and instead saw ','

Could you please help what should be done here.

find_real_file.png

Thanks,
Johny

1 ACCEPTED SOLUTION

Sai Kumar B
Mega Sage

@Johny Try the below syntax

spUtil.recordWatch($scope, "table_name", "filter", function(name) {
    
//your code
    
});
  
}

View solution in original post

2 REPLIES 2

Sai Kumar B
Mega Sage

@Johny Try the below syntax

spUtil.recordWatch($scope, "table_name", "filter", function(name) {
    
//your code
    
});
  
}

Sai Kumar B
Mega Sage

@Johny Thanks for marking my response as helpful, If it's working as expected kindly mark it as correct and close the loop it would help future readers as well