ValidityChangedThisAction

Description

Returns True if the field's validity was changed by the current action.

This method considers only those changes that were made after the action was initiated. If the field was implicitly changed during action initialization (which includes FIELD_DEFAULT_VALUE hooks setting initial default field values) and not afterwards, this method returns False. For example, if a CHANGE_STATE action moves the record from, say, "assigned" to "resolved", the field "resolution info" might become mandatory. The validity will therefore be "invalid" until you fill it in. However, this validity change will not be reflected by ValidityChangedThisAction.

This mechanism only detects actions for the Entity object to which this field belongs. It ignores actions on other Entity objects.

Syntax

VBScript


fieldInfo.ValidityChangedThisAction 

Perl


$fieldInfo->ValidityChangedThisAction(); 
Identifier
Description
fieldInfo
A FieldInfo object, which contains information about one field of a user data record.
Return value
A Boolean that is True if the field's validity changed since the current action was initiated, otherwise False.