To use the Multiple Condition AgileShape to check if a value is empty, do the following.
Prerequisites
- The Multiple Condition
AgileShape must use simple mode.
Navigation
- In AgilePoint Envision, open a process template.
- Navigate to the Generic BPM stencil.
- On the Generic BPM stencil, drag the
Multiple Condition AgileShape, and drop it on the process template.
- On the New Condition Activity Window - Multiple Condition AgileShape, define your logical rules.
- To view the entire list of properties, in the Design Tasks pane, click Show Properties.
Instructions
- Define a custom attribute named Empty for use throughout the process template:
- In AgilePoint Envision,
open a process template, and select the process template to display its
properties in the right pane.
- Below the properties
box, click the Manage Process Attributes link.
- On the Custom Attributes Editor window, click Add.
- In the
Attribute Name column, type Empty.
- In the
Attribute Type column, select String.
- Click OK to close the Custom Attributes Editor window.
- Select the custom attribute named Empty (which you want to use):
- Add an Update Custom Attributes AgileShape to your process model.
- In the Activity Properties panel, click Advanced (a
property group).
- On the Configuration field, click the Ellipses button.
The Create or Update Custom Attributes window appears.
- Click Add, and then select the newly added row to make the
Schema button available for use.
- Then, click Schema.
The Select XPath from Attributes
window appears.
- Click the Process Attributes tab.
- Select the Empty attribute, and then click OK to close the
Select XPath from Attributes window.
- On the Create or Update Custom Attributes window, in the
Expression column for the Empty attribute, enter
"".
- Click OK to close the Create or Update Custom Attributes window.
- Add a Multiple Condition AgileShape to your process model. Do the following:
- On the New Condition Activity window, click Advanced Mode.
The Define Conditions window appears.
- Click New. The Define Expressions window appears.
- Enter a Name and Operator for the condition. For
example, empName and == (String comparison operator).
- In the Value list, select <XML Schema>.
- Click OK to close the Define Expressions
window.
- On the Define Conditions window, in the Description box,
type a description for the condition, and then click Close.
This enables you to use the value of ${Empty} as a null value for the purpose
of string comparison.