GetDefaultActionName

Description

Returns the default action name associated with the current state.

This method allows you to get the default action for the specified record.

Whereas this method returns the default action name associated with the current state, GetActionDestStateName returns the destination state name associated with the current action.

Syntaxe

VBScript

entity.GetDefaultActionName 

Perl

$entity->GetDefaultActionName(); 
Identificateur
Description
entity
An Entity object representing a user data record. Inside a hook, if you omit this part of the syntax, the Entity object corresponding to the current data record is assumed (VBScript only).
Valeur renvoyée
A String that returns the default action name associated with the current state.

Exemples

VBScript

DefaultActionName = entity.GetDefaultActionName 

Perl

$defaultactionname = $entity->GetDefaultActionName(); 

Commentaires en retour