JavaScript in STEP
JavaScript and the Scripting API allows you to create complex functions in:
- Business Rules - business logic that can include actions, conditions, function, and libraries. For more information, refer to the Business Rules documentation.
- Match Codes and Matching Algorithms - functionality for identifying and handling duplicate product, entity, asset, and classification objects in STEP. For more information, refer to the Matching, Linking, and Merging documentation.
Refer to the following topics to understand how to use JavaScript within STEP:
- Java vs. JavaScript - the difference between the public Scripting API and JavaScript.
- JavaScript Considerations - functionality that should be considered when using JavaScript.
- JavaScript Exception Handling - proper use of 'try...catch' statements.
- JavaScript Binds - access to STEP data using the functionality exposed in the public Java API.
- Scripting API - access to the STEP Public Java API methods, in the Technical Documentation accessible at [system]/sdk or from the Resources section of the system's Start Page.
Users should consider the following:
- Parallel streams are forbidden in STEP. This is because of the code complexity involved. It can be difficult for customers to control and analyze resources when looking into, e.g., performance problems. Such coding, and any associated troubleshooting efforts, are not supported by the Stibo Systems R&D team