IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Advanced development topics > Customize behavior with visual snippets

Use inline expressions for simple equations

When you are coding an expression in the visual snippet editor, there are several ways that you can compose the expression.

Most expressions can be represented diagrammatically in one of the following two ways:

Inline expressions

In this case, the equation is coded directly into the expression using the inline condition builder. The finalized form appears like the one shown in this screen capture:

Prebuilt expressions

Prebuilt expressions can either be in the form of a Standard visual snippet or a Java™ visual snippet. In both cases, the snippet contains specialized code that will perform the simple equation in question.

Of these two options available to you, the best practice is to use an inline expression when coding simple equations.

Customize behavior with visual snippets