wcfAutoVerifyPropertyAction

The wcfAutoVerifyPropertyAction action verifies that the specified property matches a specified value.

Parameters

This action accepts the following parameters:
object
The name of the business object. This name must match the objectKey parameter of a previous action that created or located the business object.
propertyName
Required: The name of the property to verify.
value
The value against which to test the property value. You must specify this parameter when the valueKey parameter is not specified.
type
Optional: The type of the value against which to test the property value, such as number or string. To ensure that the value is verified as a number, specify the type as number. If this parameter is not specified, the property value is verified as a string value.
valueKey
The name of a value set by the wcfAutoSetValueAction action that is used to test the value of the specified property. You must specify this parameter when the value parameter is not specified.
start
Optional: An integer that indicates the start index from which to begin the string comparison. Characters that precede the start index in the specified verification value and the property value are ignored. If this parameter is not specified, the default value is zero.
startKey
Optional: The name of an integer value set by the wcfAutoSetValueAction action that indicates the start index from which to begin the string comparison. Characters that precede the start index in the specified verification value and the property value are ignored. If the start parameter is specified, this parameter is ignored.
end
Optional: An integer that indicates the end index plus one of the string comparison. Characters that are at or after the end index in the specified verification value and the property value are ignored. If this parameter is not specified, the comparison proceeds from the start index to the end of the comparison strings.
endKey
Optional: The name of an integer value set by the wcfAutoSetValueAction action that indicates the end index and one of the string comparisons. Characters that are at or after the end index in the specified verification value and the property value are ignored. If the end parameter is specified, this parameter is ignored.

Example

The following code snippet shows an example of these parameters used in the wcfAutoVerifyPropertyAction action:
<!-- Verify the path property of the asset --> 
<action name="wcfAutoVerifyPropertyAction"> 
  <param name="object" value="asset"/> 
  <param name="propertyName" value="path"/> 
  <param name="value" value="http://w3.ibm.com/jct03001pt/wps/myportal"/> 
</action>