Business Automation Workflow JavaScript
API programming guide
In Process Designer all
variables are JavaScript variables so you can use JavaScript code
snippets inside your components to improve the behavior of your model.
Variable availability
You can only use certain JavaScript objects inside a specific context. In some contexts, certain objects are automatically instantiated.
External JavaScript libraries
Process Designer provides a number of JavaScript libraries. You can also import or create your own libraries.
JavaScript reference examples
This section provides JavaScript examples.
Viewing all process instances by using a TWSearch API query
When you use the TWSearch API to query process instances, only instances that you have tasks for are returned by default. To also return process instances that you do not have tasks for, turn off the task instance-based authorization by specifying a configuration setting in the appropriate 100Custom.xml file in your topology.