Functions Summary
Functions defined in this guide can be used in expressions anywhere that a constant or field appears, provided the return type of the function is correct.
A function call consists of the name of the function (upper or lower case) followed by the function arguments separated by commas and enclosed in brackets, for example:
DATE (DAY, LASTMONTH, 2001)
In TIBCO iProcess Modeler, the syntax for the previous example is:
IPEDateTimeUtil.DATE(Integer,Integer,Integer);
A function with no arguments has just the brackets, for example:
DDETERMALL ()
In general, the function performs an operation on the arguments and returns a value. In some cases, an argument must be the name of a field that will receive a return value. Otherwise, each argument to a function is itself an expression - a single constant or fieldname, items combined by operators, or function calls.
The following groups of functions are provided. In TIBCO iProcess Modeler, JavaScript classes are provided for the main function types:
|
Function Type |
Description |
TIBCO iProcess Modeler JavaScript Class |
|
Convert data to different formats. |
IPEConversionUtil |
|
|
Get and set environment data. |
IPEEnvironmentUtil |
|
|
Manipulate files. |
IPEFileUtil |
|
|
Get and set date and time data. |
IPEDateTimeUtil |
|
|
Manipulate text strings. |
IPEStringUtil |
|
|
Call external programs on the server or on a Windows client. |
IPEExternalUtil |
|
|
Add data from a file to a field’s validation list. |
IPEValidationUtil |
|
|
Use Dynamic Data Exchange (DDE) to transfer data between two Windows applications while they are running. |
IPEDDEUtil |
|
|
Call iProcess scripts. |
Not supported in TIBCO Business Studio |
|
|
Write fields within a work item to a table in the iProcess database on the server |
IPEDatabaseUtil |
|
|
Control the processing of cases. |
IPEProcessUtil |
|
|
Reference array fields. |
IPEArrayUtil |
|
|
Write a trace or debug message to a log file. |
Not supported in TIBCO Business Studio |
|
|
General utility functions. |
IPEGeneralUtil |