protected internal virtual void EnsureProcessDefinitionAndTenantIdNotSet()
 {
     if (!ReferenceEquals(processDefinitionId, null) && IsTenantIdSet)
     {
         throw Log.ExceptionCorrelateMessageWithProcessDefinitionAndTenantId();
     }
 }