Please enable JavaScript to view this site.

Process Designer

We recommend creating a function for every custom JavaScript code written in JobRouter. These functions can then be called up in the dialog for different events, for example when a value is changed or a dialog is opened. A function always consists of a name and a number of parameters to be supplied to the function.

A function always consists of a name and a number of parameters to be supplied to the function. Of course you can also define functions without parameters.

Example:

function checkOnceAgainBeforeSending() {

 // Your script needs to be entered here
}
function checkValue(value1, value2) {
 // Your script needs to be entered here
}

Please note: JavaScript functions can neither start with a number nor include special character. Moreover the name of the JavaScript function must not match the ID of a dialog element (e.g. "invoice number").