How to add page argument in hook_menu for dynamic callback function?
You are creating a new menu for new group. It will be better to use dynamic arguments.

$items[CONFIG_GLOBAL_ADMIN_PATH . '/groups/%'] = array(
  'description' =&gt; 'Some Group Description',
  'page callback' =&gt; 'drupal_get_form',
  'page arguments' =&gt; array('myModule_group_settings_form', 3),
  'access arguments' =&gt; array('administer site configuration'),
  'file' =&gt; 'myModule_group.admin.inc',
  'type' =&gt; MENU_LOCAL_TASK,
  'weight' =&gt; 1,
);


and In your function :

function myModule_group_setting_form($form, &amp;$form_state, $key) {
  $groups = group_load_by_type('community');
  $value = (isset($groups[$key])) ? $groups[$key] : NULL;
  if (!$value) {
    drupal_set_title($value-&gt;title);
    // Whatever you do with $value-&gt;title;
  }
  else {
    drupal_not_found(); exit();
  }
}