Returns the name of the Entity object's current state.
If the Entity object is not editable, this method simply returns the current state of the record. If the Entity object is editable and the current action involves a change of state, this method returns the new state of the record.
VBScript
entity.LookupStateName
Perl
$entity->LookupStateName();