docs: @Override
    public void destroy() {
  
      ensureParentInitialized();
  
      // execute Output Mappings (if they exist).
      ensureActivityInitialized();
      if (activity != null && activity.getIoMapping() != null && !skipIoMapping) {
        activity.getIoMapping().executeOutputParameters(this);
      }
  
      clearExecution();
  
      super.destroy();
  
      removeEventSubscriptionsExceptCompensation();
    }