<?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>SugarBPM and Database Storage: Best Practices</title><link>https://sugarclub.sugarai.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/7930/sugarbpm-and-database-storage-best-practices</link><description>SugarBPM is a powerful feature in SugarCRM and, for most customers, the centerpiece of their automation strategy. However, when it comes to storage management, SugarBPM can have a huge impact on your instance’s database size. 
 To help you avoid unnecessary</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: SugarBPM and Database Storage: Best Practices</title><link>https://sugarclub.sugarai.com/thread/33105?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 17:22:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:3672ced0-81ce-45c4-ab18-d89e58f4f923</guid><dc:creator>Patrick McQueen</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/luke-ridgway"&gt;Luke Ridgway&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;This custom SELECT query, which can be run in the Advanced Reports feature of the application, can provide you the ID number for all process definitions containing a first update start event:&lt;br /&gt;&lt;pre class="ui-code" data-mode="sql"&gt;SELECT prj_id FROM `pmse_bpm_event_definition` WHERE evn_type = &amp;#39;START&amp;#39; AND evn_params LIKE &amp;#39;%updated%&amp;#39;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The ID numbers provided by this query can be added to the following URL to navigate you to the process definition&amp;#39;s design canvas in your instance (also change to your domain to the beginning of the URL):&lt;/p&gt;
&lt;p&gt;example.sugarondemand.com/#pmse_Project/&amp;lt;id&amp;gt;/layout/designer&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Patrick McQueen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SugarBPM and Database Storage: Best Practices</title><link>https://sugarclub.sugarai.com/thread/33104?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 16:56:21 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:4a814a82-2d68-47ac-a1db-3eea50f7dc62</guid><dc:creator>Patrick McQueen</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/luke-ridgway"&gt;Luke Ridgway&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Thank you for indicating how the response you got from support did not align with what I&amp;#39;ve written about here. I apologize for that confusion. Over the year since you received that communication, we have provided additional training around Data Archiver to ensure consistency in our communication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The rows of the pmse_bpm_flow table, which is most often the table consuming the most storage space in regard to SugarBPM, can be indirectly targeted as part of a collection of BPM tables when using Data Archiver.&lt;/p&gt;
&lt;p&gt;Regarding the comments about Workflow Management: &lt;br /&gt;At this time, there is not an initiative to remove Workflow Management from the application. It is a more veteran feature than SugarBPM and is an as robust in its feature set. I&amp;nbsp;can offer some advantages in some use cases, which is my motive for mentioning it above. &lt;br /&gt;My advice is to use SugarBPM as your primary source of automation within the application, and to be aware of the capabilities of Workflow Management in the event that employing it for a scenario serves you effectively.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Patrick McQueen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SugarBPM and Database Storage: Best Practices</title><link>https://sugarclub.sugarai.com/thread/33103?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 15:40:07 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:e1a08c43-531c-404b-a874-dc2f2b117cce</guid><dc:creator>Luke Ridgway</dc:creator><description>&lt;p&gt;Hello again &lt;a href="/members/patrickmcqueen347560"&gt;Patrick McQueen&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t suppose you know if there&amp;#39;s a way to filter, or to query the Process Definitions to reveal which indeed have a Start Event of &amp;#39;First Update&amp;#39;?&lt;/p&gt;
&lt;p&gt;I was thinking custom query perhaps?&lt;/p&gt;
&lt;p&gt;That&amp;#39;d be a great time saver too - thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SugarBPM and Database Storage: Best Practices</title><link>https://sugarclub.sugarai.com/thread/33075?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 15:20:49 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:979a662e-ea8e-4831-8c90-1b6ab52e3b4b</guid><dc:creator>Luke Ridgway</dc:creator><description>&lt;p&gt;Agreed, this is an amazing post - thank you &lt;a href="/members/patrickmcqueen347560"&gt;Patrick McQueen&lt;/a&gt;&amp;nbsp;!&lt;/p&gt;
&lt;p&gt;I have also logged myself a task to schedule-in looking through our PD&amp;#39;s using first update and then will definitley be using data archiver.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We previosly got up to a few million rows in that table.&amp;nbsp; I contacted support who suggested that they can clear out that table for us - we removed everying older than a month&amp;nbsp;and our storage dropped by about 3.7GB !!&lt;/p&gt;
&lt;p&gt;This is discussed in this post:&amp;nbsp;&amp;nbsp;&lt;a href="https://sugarclub.sugarai.com/dev-club/f/questions-answers/7670/clean-audit-tables/32221"&gt;RE: Clean audit tables?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I quote the support team in my case saying:&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&amp;quot;There is no way via the UI to delete data from a pmse_bpm table.&amp;quot;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But in here it seems we can?&amp;nbsp; Am I mixing up the tables from this post and the other post? Apologies if so.&lt;/p&gt;
&lt;p&gt;But also in there &lt;a href="/members/frinaldi"&gt;Frédéric Rinaldi&lt;/a&gt;&amp;nbsp; raised a good point&amp;nbsp;of caution about the process getting triggered again. I guess that relates to the start events using first update too.&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;Workflow&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Same question from me too:&amp;nbsp; I thought workflow was legacy and being removed so years ago I moved all that functionality we had into BPM...&amp;nbsp; it even had a warning on the screen to say dont use it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Maybe Sugar could pick a lane?&amp;nbsp;&lt;span class="emoticon" data-url="https://sugarclub.sugarai.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;Also just to link folk here towards your other equally ace (kind of related) post for the File System Storage too:&lt;/span&gt;&lt;br /&gt;&lt;a href="https://sugarclub.sugarai.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/7708/reducing-file-storage-consumption/32319"&gt;RE: Reducing file storage consumption&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Thank you again,&amp;nbsp;&lt;br /&gt;Luke.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SugarBPM and Database Storage: Best Practices</title><link>https://sugarclub.sugarai.com/thread/32718?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 20:21:06 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d7e8ac6e-06c0-49a6-bc14-5a9e1a73aea2</guid><dc:creator>Bud Hartley</dc:creator><description>&lt;p&gt;WOW Patrick!&amp;nbsp; This is &lt;strong&gt;GREAT&lt;/strong&gt;!&amp;nbsp; I&amp;#39;ll be looking into all of the BPM processes I have running.&lt;/p&gt;
&lt;p&gt;As an aside, I recall the time years ago when we were told that the&amp;nbsp;Workflow Management function was being discontinued and we needed to migrate to BPM.&amp;nbsp; Obviously Workflow Management hasn&amp;#39;t been removed.&amp;nbsp; I have a number of processes that simply send a notice of a change to affected users, or send alerts for&amp;nbsp;an unusual change that should be checked.&amp;nbsp; I&amp;#39;m thinking those should be moved back to Workflow Management where they were originally since we don&amp;#39;t need the audit trail of the alert being sent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>