/**
  * Executes a delayed action
  *
  * @param \CRM_Queue_TaskContext $ctx
  * @param \CRM_Civirules_Action $action
  * @param \CRM_Civirules_TriggerData_TriggerData $triggerData
  * @return bool
  */
 public static function executeDelayedAction(CRM_Queue_TaskContext $ctx, CRM_Civirules_Action $action, CRM_Civirules_TriggerData_TriggerData $triggerData)
 {
     try {
         if ($action->ignoreConditionsOnDelayedProcessing()) {
             $processAction = true;
         } else {
             $processAction = self::areConditionsValid($triggerData);
         }
         if ($processAction) {
             $action->processAction($triggerData);
         }
     } catch (Exception $e) {
         CRM_Civirules_Utils_LoggerFactory::logError("Failed to execute delayed action", $e->getMessage(), $triggerData);
     }
     return true;
 }
 /**
  * Executes a delayed action
  *
  * @param \CRM_Queue_TaskContext $ctx
  * @param \CRM_Civirules_Action $action
  * @param \CRM_Civirules_EventData_EventData $eventData
  * @return bool
  */
 public static function executeDelayedAction(CRM_Queue_TaskContext $ctx, CRM_Civirules_Action $action, CRM_Civirules_EventData_EventData $eventData)
 {
     $action->processAction($eventData);
     return true;
 }