Extend your workflow control with JavaScript functions
The functions stored in the JavaScript library are automatically loaded into the computing context of the workflow evaluation. This means that any simple or complex calculation paths can be managed centrally.
You may use a function for the calculation or just to centrally administer needed parameters. You may not access fields directly. Those have to be passed as parameters to the function.