replaceAction()
Last updated 20/01/2025
Example One
The following code replaces the current action in the dashboard area with the action passed in the
replaceAction()
function.
Replaces the current action on the dashboard with Process C
function ReplaceProcessA(five: Five, context: any, result: FiveError) : FiveError {
five.replaceAction('ProcessC');
return five.success(result);
}
Replaces the current action on the dashboard with Process C
function ReplaceProcessA(five, context, result) {
five.replaceAction('ProcessC');
return five.success(result);
}