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 ()
Note: If your iProcess system is set up to use a comma as a decimal separator, you must separate arguments with a comma followed by a space to avoid ambiguity, for example str(2, 2) instead of str(2,2).

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

Conversion Functions

Convert data to different formats.

IPEConversionUtil

Environment Functions

Get and set environment data.

IPEEnvironmentUtil

File Functions

Manipulate files.

IPEFileUtil

Date and Time Functions

Get and set date and time data.

IPEDateTimeUtil

String (Text) Functions

Manipulate text strings.

IPEStringUtil

Functions to Call External Programs

Call external programs on the server or on a Windows client.

IPEExternalUtil

Validation Functions

Add data from a file to a field’s validation list.

IPEValidationUtil

Dynamic Data Exchange (DDE) Functions

Use Dynamic Data Exchange (DDE) to transfer data between two Windows applications while they are running.

IPEDDEUtil

Calling Scripts

Call iProcess scripts.

Not supported in TIBCO Business Studio

Database Functions

Write fields within a work item to a table in the iProcess database on the server

IPEDatabaseUtil

Procedure Functions

Control the processing of cases.

IPEProcessUtil

Array Functions

Reference array fields.

IPEArrayUtil

Log Functions

Write a trace or debug message to a log file.

Not supported in TIBCO Business Studio

General Utility Functions

General utility functions.

IPEGeneralUtil