<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.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>What does this mean? &amp;quot;No Value for arguments for PMSE method closeFlow&amp;quot;</title><link>https://sugarclub.sugarcrm.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/6227/what-does-this-mean-no-value-for-arguments-for-pmse-method-closeflow</link><description>I&amp;#39;ve pulled the Log, and there are many hundreds of these lines with a date and time (going back a couple of weeks): 
 [6433][1][FATAL] No Value for arguments for PMSE method closeFlow 
 [5592][1][FATAL] No Value for arguments for PMSE method closeFlow</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: What does this mean? "No Value for arguments for PMSE method closeFlow"</title><link>https://sugarclub.sugarcrm.com/thread/28211?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 23:39:33 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:453490ec-3f47-45b3-a2b0-7ac22b17d9cc</guid><dc:creator>Bud Hartley</dc:creator><description>&lt;p&gt;Thanks Chris - I&amp;#39;m starting my deep dive now...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What does this mean? "No Value for arguments for PMSE method closeFlow"</title><link>https://sugarclub.sugarcrm.com/thread/28209?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 22:07:59 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:74bfd437-7c09-4bbc-83c5-27bfd2a009dc</guid><dc:creator>Chris Raffle</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/bud-hartley"&gt;Bud Hartley&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s hard to say what may be the cause without some deeper investigation into the database. Based on the code, this means that 1 or more entries in your pmse_bpm_flow table has an empty cas_id and/or cas_index value. Both of these values are expected with each flow entry and the error message you are seeing is generated when one or both values do not exist for a given entry.&lt;/p&gt;
&lt;p&gt;To investigate the database in SugarCloud (which I recall you being on), you will need to use the Custom Queries module. If you are not familiar with the module, go to Reports and then from the Reports tab select &amp;#39;Manage Advanced Reports&amp;#39;. Now, from the &amp;#39;Advanced Reports&amp;#39; tab, select &amp;#39;Create Custom Query&amp;#39;. Give the query a name along with the desired SQL statement and click &amp;#39;Save&amp;#39;. Then, find the name of the query you created in the list and select &amp;#39;Run Query&amp;#39; from the right side.&lt;/p&gt;
&lt;p&gt;The following queries will help in tracking down a potential source of the issue:&lt;/p&gt;
&lt;p&gt;1. This query will give you a pointer to the elements in one or more process designs that are generating the unexpected values.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="sql"&gt;SELECT DISTINCT bpmn_id, bpmn_type FROM pmse_bpm_flow WHERE cas_id = &amp;#39;&amp;#39; OR cas_id IS NULL OR cas_index = &amp;#39;&amp;#39; OR cas_index IS NULL;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The query should return something along the lines of:&lt;/p&gt;
&lt;table class="list view" border="0" cellpadding="0" cellspacing="0" width=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="TOP" width="50%"&gt;a9bb33fc-1f81-11eb-b013-06096de0da1a&lt;/td&gt;
&lt;td valign="TOP" width="50%"&gt;bpmnActivity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="TOP" width="50%"&gt;a9da9fee-1f81-11eb-a3e0-06096de0da1a&lt;/td&gt;
&lt;td valign="TOP" width="50%"&gt;bpmnFlow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="TOP" width="50%"&gt;740d31b0-1f81-11eb-b40c-06096de0da1a&lt;/td&gt;
&lt;td valign="TOP" width="50%"&gt;bpmnGateway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="TOP" width="50%"&gt;7418a9d2-1f81-11eb-a6ff-06096de0da1a&lt;/td&gt;
&lt;td valign="TOP" width="50%"&gt;bpmnEvent&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. The database table(s) you need to query next are guided by the second column of&amp;nbsp;the above&amp;nbsp;results. The SugarBPM database tables all start with pmse_*. If your entry in the above result says bpmnActivity, then the table to use in your next query is pmse_bpmn_activity, if it is bpmnFlow, then query the table pmse_bpmn_flow, and so on. For the&amp;nbsp;query below, I am going to use the first row from the results above as an example (the only things you need to substitute in the query are the pmse_bpmn_activity for the table and the database ID at the end):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="sql"&gt;SELECT pp.name &amp;quot;BPM Definition&amp;quot;, pba.prj_id &amp;quot;BPM Definition ID&amp;quot;, pba.name &amp;quot;Element Name&amp;quot; FROM pmse_bpmn_activity pba LEFT JOIN pmse_project pp ON pba.prj_id = pp.id WHERE pba.id = &amp;#39;a9bb33fc-1f81-11eb-b013-06096de0da1a&amp;#39;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This query should give you something like:&lt;/p&gt;
&lt;table class="list view" border="0" cellpadding="0" cellspacing="0" width=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td scope="col" width=""&gt;bpm definition&lt;/td&gt;
&lt;td scope="col" width=""&gt;bpm definition id&lt;/td&gt;
&lt;td scope="col" width=""&gt;element name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="TOP" width="33.333333333333%"&gt;Case Follow-Up Date Management&lt;/td&gt;
&lt;td valign="TOP" width="33.333333333333%"&gt;e2a12f7c-4178-11ec-8de3-02c180ed988e&lt;/td&gt;
&lt;td valign="TOP" width="33.333333333333%"&gt;Follow-Up Extension&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What this gives you is the name of your process definition (bpm definition), the ID for that definition (you can go to the direct URL of &lt;a href="https://your_sugar_instance.sugarondemand.com/#pmse_Project/&amp;lt;bpm_definition_id&amp;gt;"&gt;https://your_sugar_instance.sugarondemand.com/#pmse_Project/&amp;lt;bpm_definition_id&amp;gt;&lt;/a&gt;&amp;nbsp;), the name of the element on your process design causing the issue. Go to that definition and then to the design canvas and review the element in question. There may be something obvious about it or something that leads into it that is no longer valid causing the issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>