Skip to main content

selectAction()

Last updated 1/07/2024

The

selectAction()
is a function on the
Five
object that selects an action to take the place of the current action without leaving the current menu. Because you have not left the current menu, you can use the
previousAction()
function to return to the action that was replaced.

info
You can find an example of
selectAction()
and
previousAction()
being used together one of our learning resources.

Available

Client

Function Signature
selectAction(actionId: string [, recordKey: string]) : void;

ParameterTypeDescription
actionID
stringThe action ID for the action being selected
recordKey
Optional
stringIf the action ID is a form based action, you can optionally select a form record using the record key

Examples

selectAction()