Disabling server-side JavaScript syntax validation
Traditional:
JavaScript syntax
validation ensures that the code snippets in process applications and toolkits are correctly
structured and free of syntax errors. IBM® Business Automation
Workflow
supports server-side JavaScript validation in script activities and variable initialization in
service flows and processes by default. To turn it off, you must add the setting to the
100Custom.xml file.
About this task
- In Workflow Center under the current version of an application and each named snapshot
- In the Process Designer footer, click Validation errors
and warnings
. You
can choose to view the errors in the current artifact or project.
Because validation occurs on the workflow server, it can slow down performance for the user. For this reason, you might choose to enable it only when you want to import and test a process application for errors before you deploy the application on a production system. Alternatively, if your environment requires only client-side validation, you might prefer not to enable JavaScript syntax validation.
Use the javascript-serverside-validation-enabled setting to control whether server-side JavaScript syntax validation is enabled in Process Designer. The default value is true.
<properties> element and modify the values as
needed:
<server>
<javascript-serverside-validation-enabled merge="replace">false</javascript-serverside-validation-enabled>
</server>For
information about the individual 100Custom.xml files that need to be updated
and their locations, see Location of 100Custom configuration files.Procedure
To consistently and reliably change the value of these settings in all the 100Custom.xml files in your Business Automation Workflow deployment environment, use the updateBPMConfig command: