The Call JS Function executes the specified JavaScript expression in the JS Statement. It stops current execution and calls the JavaScript function.
NOTE: Any statement below a Call JS statement will not be executed.
If you want to send any data of a form field as parameter to the JavaScript function, the name of form field can be embedded with the symbols ā!~ā and ā~!ā. Any text within these symbols is treated as an expression and is evaluated. The JavaScript editor (covered more thoroughly in a separate section) can be used to include more complex JavaScript in your Call JS rules.

Here is a list of out of the box JS functions that are available to use with CallJS:
Function | Function Description | Details |
GoToForm(internalName, additionalQueryParamString) | GoToForm function displays different case form in current tab. The form that gets shown is defined in the first parameter: internalName. User can also add additional query parameter(s) to the url when form loads |
Example usage:
GoToForm(āformB_Template_Nameā, āā)
GoToForm(āformB_Template_Nameā, ā&testParam=1ā)
GoToForm(āā, āā) |
ECase_FolderSave() | Allows user to save current case folder page | |
fn_refresh() | Allows user to refresh current page | |
OpenCaseAction(folderNumber, actionName, role, rowId, refreshParent) | Opens a popup to display a case action form |
|