private void PortConfigurationSetting(FlowDeploymentSession session, string settingName, bool isRequired = false)
 {
     if (Configuration.TryGet(settingName, out var value))
     {
         session.SetStringToken(settingName, value);
     }
     else
     {
         if (isRequired)
         {
             throw new ConfigGenerationException($"Required setting '{settingName}' is not found in global configuration");
         }
         else
         {
             session.SetNullToken(settingName);
         }
     }
 }