JavaScript Exclusions
Certain facilities of standard JavaScript are not supported.
These are:
- You cannot define functions in scripts: that is, the JavaScript function() method is not supported. An error saying Local method definition is not allowed is generated.
- It is not regarded as good practice for scripts to be too large or to provide behavior which would be better and more clearly provided by the diagrammed business process. Scripts should provide only the necessary connections between the process, the services it uses, and work items.
- The switch(){case: default:} statement is not supported.
- JavaScript regular expressions are not supported.
- The valueOf() method is not supported. You can achieve the same results by using toString() instead.
- The Try/Catch statement is not supported.
- The === operator is not supported
- "in" is a reserved keyword in JavaScript and is not supported.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.