Hi Sonal, Try to create a method in the corresponding schema. In that method, use the javascript file name. And try to call the method from the webapp. you cannot simply call the javascript function without defining the method in the schema.
How to exclude the members, whose account is disabled but present in notification sending list, from notification emails when workflow becomes error. Kindly post your answer that will be helpful for us.