docs: public void copyDeploymentValuesToProcessDefinitions(DeploymentEntity deployment, 
        List<ProcessDefinitionEntity> processDefinitions) {
      String engineVersion = deployment.getEngineVersion();
      String tenantId = deployment.getTenantId();
      String deploymentId = deployment.getId();
  
      for (ProcessDefinitionEntity processDefinition : processDefinitions) {
        
        // Backwards compatibility
        if (engineVersion != null) {
          processDefinition.setEngineVersion(engineVersion);
        }
  
        // process definition inherits the tenant id
        if (tenantId != null) {
          processDefinition.setTenantId(tenantId); 
        }
  
        processDefinition.setDeploymentId(deploymentId);
      }
    }