IBM Support

Adding functions to rules using the Expression Builder can cause an error in the Expression Tree

Troubleshooting


Problem

When you add a function to a rule using the Expression Builder, double-clicking the links for required information in the function description causes the function to display inaccurately in the Expression Tree. As a result, you cannot define the function.

Symptom

For example, if you double-click the "elements" link for a collection of elements, the elements node in the Expression Tree has no content to define.

The following screen capture shows the "elements" link (circled in red) for the "every" collection function.



The following screen capture shows what the elements node in the Expression Tree looks like if the "elements" link is double-clicked. Although the expression text is correct in the Expression text display, there is no way to specify the elements for the function.

Environment

To create an expression for an element, you must be working in the Intermediate or Advanced modeling mode. If you use WebSphere Business Modeler Advanced, you can also create expressions using in a technical modeling mode, for example, the WebSphere Process Server mode.

To add a function to an expression using version 6.1 or later of WebSphere Business Modeler, you must use the full expression interface of the Expression Builder. Use the Full Expression button () on the upper right of the Expression Builder working area to open the full expression interface.

Resolving The Problem

If you click the links for required information in the function description only once when you add a function to an expression, the function expression displays correctly in the Expression Tree. You can then define the function.

The following screen capture shows the function expression in the elements node displayed correctly in the Expression Tree.



If you have double-clicked a link for required information in the function description (for example, an "elements" link), you can use the undo expression change button in the Expression Builder toolbar to fix the problem. Clicking the undo expression change button once returns the expression for the function to the correct form in the Expression Tree.

The following screen capture shows the undo expression change button (circled in red) in the Expression Builder toolbar.

[{"Product":{"code":"SSBJDG","label":"WebSphere Business Modeler Advanced"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Modeling","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.1.1;6.1;6.0.2.1;6.0.2;6.0.1;6.0;5.1.1","Edition":"Advanced;Basic","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
WebSphere Business Modeler Advanced

Software version:
6.1.1, 6.1, 6.0.2.1, 6.0.2, 6.0.1, 6.0, 5.1.1

Operating system(s):
Windows

Document number:
96137

Modified date:
15 June 2018

UID

swg21296369

Manage My Notification Subscriptions