Back Forward About expressions

  Show all 

must be updated for 6.1.sp2 - wetma

C-471 04-01An expression is a single text element that when evaluated by Process Commander produces a string value. Expressions in Process Commander look similar to formulas in Microsoft Excel, but are based on Java language conventions.

You can type in an expression, or (in many places) use the Expression Builder tool to guide you in entering an expression. Expressions may include constants, property references, operators for arithmetic and logical operations, parentheses to control the order of evaluation, and functions.

Expressions can perform operations on data, including:

NoteDon't confuse expressions — used in many situations — with Declare Expression rules, which create expressions that are evaluated automatically. Declare Expression rules contain expressions, but so do many other rule types.

Expressions in rule forms

You can enter expressions in activity rules, models, Constraints rules, and most other places that compute a value at runtime.

In rule forms, the field where the expression appears determines whether the expression is part of:

You can also use expressions in most fields that permit a constant value. Similarly, you can use expressions to supply the subscript value of a list or group element within a property reference.

You cannot use expressions in fields that require property references as the assignment destination. For example, you cannot use an expression in the left column (target property) of a model rule or the Property-Set method parameter array.

Expressions in HTML and XML streams

Through the <when> JSP tag and Java scriptlets (or the<when> directive and Java directive), you can include expressions in HTML-based rules or XML Stream rules. You can use these in HTML rules, XML Stream rules (Rule-Obj-XML rule type) and correspondence rules (Rule-Obj-Corr rule type).

Definitions directive, expression, Type
Related topics Advanced topics — Expressions
Aggregate property references
How to enter constants in expressions
Data type conversions in expressions
Examples
Functions in expressions
Operators in expressions
Property reference in expressions
Working with the Expression Builder
Up Tools, accelerators, and wizards