How to get the current action name in the form?

Add CURRENT_ACTION Action.Name IN parameter in each action and use the WorkflowPage CurrentWorkflowActionName property to access the action name in the code.