The information in this article applies to:
Product: Metastorm BPM
Version: 7.6.1
Issue
A procedure containing the map TestMap, which contains the JScript.NET script TestScript, fails to publish, and the following error is displayed:
Error - Map "TestMap" - The script "TestScript" has errors
Error - Validation failed
Validating the script in the Process Designer's script editor generates the following error:
Error : JS1135 : Line :35,Column : 48: Variable 'TestMapDetails' has not been declared
Resolution
- Close the Process Designer.
- Copy the dll file(s) that is/are referenced in the JScript.NET script from C:\\Program Files\\Metastorm BPM\\Engine\\dotnetbin to C:\\Program Files\\Metastorm BPM\\Designer\\Dotnetbin.
- If publishing still fails, open the script in the script editor and validate the script. The procedure should now publish without this script error.