How Can I Use the Multiple Condition AgilePart to Check if a Value is Null or Empty?

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:

  1. In AgilePoint Envision, add a Multiple Condition AgilePart to your process model.
  2. In the Multiple Condition AgilePart properties, enter values for the following fields:
    • Name
    • Data Binding
    • Type
  3. Click New.
  4. On the Expression window, in the Value field, enter <NULL> .

To check for an empty value:

  1. In AgilePoint Envision, click Manage Process Attributes.
  2. Define an attribute named Empty.
  3. Add an Update Custom Attributes AgilePart to your process model.
  4. In the Update Custom Attributes AgilePart properties, click the Ellipses to open the Configuration window.
  5. Add a new row, and select the Attribute Name for the row. Then click Schema.
  6. On the Select XPath from XML Schema window, click the Process Attributes tab.
  7. Select Empty.
  8. On the Configuration window, in the Expression column for the Empty attribute, enter "".
  9. Open data binding for Empty.
  10. Add a Multiple Condition AgilePart to your process model.
  11. Configure the Multiple Condition AgilePart in Advanced mode.
  12. Enter a Name and Operator for the condition.
  13. In the Value list, select XML Schema.
  14. On the Select XPath from XML Schema window, click the Process Attributes tab.
  15. Select the Empty attribute. This enables you to use the value of ${Empty} as a null value for the purpose of string comparison.