isActionActive()
Return the state of the specified action.
Syntax
isActionActive(
name STRING )
RETURNS BOOLEAN
The return is TRUE
if the action is active, FALSE
if the action
is not active.
- Name is the action name.
Usage
You can use it to return the state of the specified action to test this interaction in a
scenario. If the action is not found, ggc.statusCode
is set to
ggc.ACTION_NOT_FOUND
.
For example:
IF ggc.isActionActive("cancel") THEN
DISPLAY "The action cancel is active"
ELSE
CALL ggc.notifyCheckFailure("The action cancel is not active.!!")
END IF