Summary
How Can I Use the Multiple Condition AgilePart to check if a value is Null or Empty?
Applies To
AgilePoint Envision
Details
To check for a null value:
- In AgilePoint Envision, add a
Multiple Condition AgilePart to your process model.
- In the
Multiple Condition AgilePart properties, enter values for the following fields:
- Click
New.
- On the
Expression window, in the
Value field, enter
<NULL>
.
To check for an empty value:
- In AgilePoint Envision, click
Manage Process Attributes.
- Define an attribute named
Empty.
- Add an
Update Custom Attributes AgilePart to your process model.
- In the
Update Custom Attributes AgilePart properties, click the
Ellipses to open the
Configuration window.
- Add a new row, and select the
Attribute Name for the row. Then click
Schema.
- On the
Select XPath from XML Schema window, click the
Process Attributes tab.
- Select
Empty.
- On the
Configuration window, in the
Expression column for the
Empty attribute, enter
"".
- Open data binding for
Empty.
- Add a
Multiple Condition AgilePart to your process model.
- Configure the
Multiple Condition AgilePart in
Advanced mode.
- Enter a
Name and
Operator for the condition.
- In the
Value list, select
XML Schema.
- On the
Select XPath from XML Schema window, click the
Process Attributes tab.
- Select the
Empty attribute. This enables you to use the value of ${Empty} as a null value for the purpose of string comparison.