Body: <p>CiviCRM 5.8.2 / Drupal</p>
  
  <p>I have defined a Smart Group based upon a custom field (recipient) = 1, to be used as a smart mailing list.</p>
  
  <p>(I use VBO to set this field to 1 for my selected recipients, and this works OK : checked in the custom field table).</p>
  
  <p>But to have my Smart Group updated, I have to wait 5 minutes (possibly less), + there is no completion signal, so, my users will not accept it.</p>
  
  <p>I have tested several processes to try to force the update, among which :</p>
  
  <ul>
  <li>/civicrm/group?reset=1&amp;update_smart_groups=1 </li>
  <li>/civicrm/group?reset=1</li>
  </ul>
  
  <p>But they give erratic results : only some recipients are included in the Group, while others are not.</p>
  
  <p>The tricky thing is that, if I click to change the Smart Group Criteria, the recipients list displayed is correct.</p>
  
  <p>Clearing the cache appears to be a possible solution, but it is an admin reserved feature.</p>
  
  <p>Any help is welcome.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-04T17:23:46.017Z
Comments.Text: Have you changed the smart group timeout parameter? I usually set this to 1
Comments.UserDisplayName: Andy Clark
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-05T10:23:13.123Z
Comments.Text: I know I can do that, but I don't want my users to need a chronometer (there is no completion signal) ... and even 1 mn wait is long. I would like that my users be able to update the Smart Group at the time they need it, even "manually".
Comments.UserDisplayName: Jacques-Marie Moranne
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-08T12:40:51.123Z
Comments.Text: Set the timeout to 0
Comments.UserDisplayName: jackrabbithanna
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-10T11:17:50.363Z
Comments.Text: Thank you Jack ; though it does not seem recommended, I will test that
Comments.UserDisplayName: Jacques-Marie Moranne
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-10T16:21:33.620Z
Comments.Text: I just tested this solution (timeout = 0) : it works fine if I wait some time for the Smart Group to update : but if I open the Smart Group too quickly, I have some  missing members ; my mroblem is that I don't know how much time I have to wait, since I have no completion signal. Blindly, I specified 20 seconds. But I am not quite satisfied.
Comments.UserDisplayName: Jacques-Marie Moranne
Tags: <smartgroups>
Title: Problems with Smart Group Updating
ThreadText: # Problems with Smart Group Updating
  
  (Asked by: username_0 on 2019-01-04)
  
  CiviCRM 5.8.2 / Drupal
  
  I have defined a Smart Group based upon a custom field (recipient) = 1, to be used as a smart mailing list.
  
  (I use VBO to set this field to 1 for my selected recipients, and this works OK : checked in the custom field table).
  
  But to have my Smart Group updated, I have to wait 5 minutes (possibly less), + there is no completion signal, so, my users will not accept it.
  
  I have tested several processes to try to force the update, among which :
  
  * /civicrm/group?reset=1&update\_smart\_groups=1
  * /civicrm/group?reset=1
  
  But they give erratic results : only some recipients are included in the Group, while others are not.
  
  The tricky thing is that, if I click to change the Smart Group Criteria, the recipients list displayed is correct.
  
  Clearing the cache appears to be a possible solution, but it is an admin reserved feature.
  
  Any help is welcome.
  
  **Tags:** smartgroups
  
  > **Comments:**
  > **username_1**: Have you changed the smart group timeout parameter? I usually set this to 1  
  > **username_0**: I know I can do that, but I don't want my users to need a chronometer (there is no completion signal) ... and even 1 mn wait is long. I would like that my users be able to update the Smart Group at the time they need it, even "manually".  
  > **username_2**: Set the timeout to 0  
  > **username_0**: Thank you Jack ; though it does not seem recommended, I will test that  
  > **username_0**: I just tested this solution (timeout = 0) : it works fine if I wait some time for the Smart Group to update : but if I open the Smart Group too quickly, I have some  missing members ; my mroblem is that I don't know how much time I have to wait, since I have no completion signal. Blindly, I specified 20 seconds. But I am not quite satisfied.  
  
  ---
  
  ## 0 answers
  
  