@staticmethod
    def _invoke_action(action_exec_spec, params, context=None):
        action_ref = action_exec_spec['ref']

        # prior to shipping off the params cast them to the right type.
        params = action_param_utils.cast_params(action_ref, params)
        liveaction = LiveActionDB(action=action_ref, context=context, parameters=params)
        liveaction, execution = action_service.request(liveaction)

        return execution
Schedule an action execution.
dataset/ETHPy150Open StackStorm/st2/st2reactor/st2reactor/rules/enforcer.py/RuleEnforcer._invoke_action