<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/dev-club/f/questions-answers/3998/problem-with-calculated-fields-updating-automatically</link><description>Hi, 
 I am trying to create a calculated checkbox field names isLastMonth which return true if the given date is from last month. 
 I used this sugar Logic to execute it. 
 
 It is working fine but the problem is when the month changes the checkbox is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/32101?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 18:39:00 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:83b1d718-46e9-488b-a0b7-94d267259a02</guid><dc:creator>Alex Nassi</dc:creator><description>&lt;p&gt;Thanks,&amp;nbsp;&lt;a href="/members/vincentamari336404"&gt;Vincent Amari&lt;/a&gt;. I&amp;#39;ve updated Adam&amp;#39;s replies to reflect the correct URL that you found.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Edit:&amp;nbsp;&lt;/em&gt;This is also being tracked as &lt;a href="https://portal.sugarondemand.com/index.php#supp_Bugs/a2264011-edff-43a4-ba22-4f7b11baa3ee" rel="noopener noreferrer" target="_blank"&gt;Idea #51892&lt;/a&gt;&amp;nbsp;for those with access to the support portal.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/32100?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 17:33:35 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:86838c76-e98a-4d4c-a0f5-8e0b5c1d2d3f</guid><dc:creator>Vincent Amari</dc:creator><description>&lt;p&gt;&lt;a href="/members/adam-frank"&gt;Adam Frank&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The links returns a not found.&lt;/p&gt;
&lt;p&gt;Seems the URL has changed to this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://sugarclub.sugarai.com/explore/product-suggestions/i/suggestions/scheduled-job-which-triggers-recalculation-of-sugarlogic-fields"&gt;Scheduled Job which triggers recalculation of SugarLogic fields&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/members/anassi"&gt;Alex Nassi&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not sure if this is a one off, or all these have changed and may need your attention?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/20615?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 00:39:34 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:faeaa01e-4745-455b-a746-30351d904113</guid><dc:creator>Adam Frank</dc:creator><description>&lt;p&gt;Agreed&amp;nbsp;&lt;a href="/members/ramya-katram"&gt;Ramya Katram&lt;/a&gt;, which is why I set up this Idea:&amp;nbsp;&lt;a href="https://sugarclub.sugarai.com/explore/product-suggestions/i/suggestions/scheduled-job-which-triggers-recalculation-of-sugarlogic-fields"&gt;Scheduled Job which triggers recalculation of SugarLogic fields&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please encourage your team to vote it up&amp;nbsp;&lt;span class="emoticon" data-url="https://sugarclub.sugarai.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/20598?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 06:53:27 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d96626f1-3e23-44da-9cc9-84ecbbe7155f</guid><dc:creator>Ramya Katram</dc:creator><description>&lt;p&gt;In Prior to Vamshi&amp;#39;s question, It would be great if Sugar comes with default scheduler that runs every morning for updating calculated fields in all modules (Both Custom and Default modules). So we can eliminate this kind of confustion &amp;amp; issues for anyone. Hope this will be considered if possible in Next Quarter release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/20593?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 23:00:33 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:698311e4-5e0b-4e86-a246-03a52d44fafb</guid><dc:creator>Enrico Simonetti</dc:creator><description>&lt;p&gt;&lt;a href="/members/vamshi"&gt;Vamshi S&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;this is also a use-case where Sugar Integrate might come in handy to update a subset of records on a time based cadence&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/20592?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 22:10:10 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:ff417906-dcf3-4a18-9493-e186fc6b7aea</guid><dc:creator>Adam Frank</dc:creator><description>&lt;p&gt;Both John and Mauricio&amp;#39;s responses are right on. I know you&amp;#39;re not the only person who has run into this challenge - obviously everyone participating in this thread has too.&lt;/p&gt;
&lt;p&gt;Perhaps we can have this addressed in the core application instead of all us writing scheduled tasks to do this? I have suggested it as an idea here:&amp;nbsp;&amp;nbsp;&lt;a href="https://sugarclub.sugarai.com/explore/product-suggestions/i/suggestions/scheduled-job-which-triggers-recalculation-of-sugarlogic-fields"&gt;Scheduled Job which triggers recalculation of SugarLogic fields&lt;/a&gt;&amp;nbsp;- please contribute your ideas and vote up!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/20590?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 20:18:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:843d7c09-966f-4fd3-bbfc-acd1137a9035</guid><dc:creator>Mauricio  S&amp;#225;nchez Rodriguez</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/vamshi"&gt;Vamshi S&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;May I suggest you do a scheduled task or a cron task, where you search the records based on a search criteria and simply update record by record.&lt;br /&gt;The SugarLogic formulas as far as I know respond and are executed on the save event.&lt;br /&gt;Some time ago I used a cron task to invoke an API that I developed to update the records, and in the API you forget to use Sugar Logic, if you want.&lt;br /&gt;I hope it is useful for you.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with calculated fields Updating automatically</title><link>https://sugarclub.sugarai.com/thread/20587?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 18:37:10 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:11840c38-0876-4062-b829-9b7e0f4bed10</guid><dc:creator>John Boyes</dc:creator><description>&lt;p&gt;Calculated fields only update when a record is saved.&lt;/p&gt;
&lt;p&gt;In the past, I have written a Scheduler Task that runs overnight to find all records that have crossed the criteria threshold and saved those records as needed. In this case, I would update all records that have just moved from this month to last month and then update all records that moved from last month to two months ago.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>