Decorators Actions
Decorators Actions allow you to integrate custom functions with the Marvin RPA execution framework. They enable functions to be executed as Marvin Actions without modifying the source code of the framework.
Actions
decorators.robotaction
Decorator to wrap a function and integrate it with the Marvin execution framework.
Parameters:
func - The original Python function to be executed as a Marvin Action.
Returns:
The wrapper function returns the original function result after executing within the Marvin framework, automatically updating process variables and logging execution.
Exceptions:
This action propagates any exceptions raised by the decorated function, including MarvinRuntimeException
and MarvinException
.