<?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>500 Internal Server Error when defining condition on Workflow</title><link>https://sugarclub.sugarcrm.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/3143/500-internal-server-error-when-defining-condition-on-workflow</link><description>My organization is running on-premise SugarCRM 6.1.2. I am attempting to create a Workflow that uses &amp;quot;Contracts&amp;quot; as the target module. When I attempt to create a condition on this workflow using the &amp;quot;When the target module changes and a field in a related</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: 500 Internal Server Error when defining condition on Workflow</title><link>https://sugarclub.sugarcrm.com/thread/22236?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 18:52:28 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:c41a7107-5c54-4a9b-90c1-e996841d72aa</guid><dc:creator>Dennis Wangerin</dc:creator><description>&lt;p&gt;HI&amp;nbsp;&lt;span&gt;Greg,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;6.1.2 has been a while :) I checked the archives and it seems for those versions there were some (ancient) bugs documented where Studio leaves over some incorrect relationship definitions, like&amp;nbsp;&lt;a href="https://portal.sugarondemand.com/#supp_Bugs/44322"&gt;portal.sugarondemand.com/&lt;/a&gt; fixed in 6.2.3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You could&amp;nbsp;check for relationship files in&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/custom/Extension/modules/relationships/relationships/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And probably also in the VarDefs for the modules, you could search the files in custom for&amp;nbsp;&lt;span&gt;contracts_cases to see where this pops up.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;However, I think the best recommendation would be to try and&amp;nbsp;migrate&amp;nbsp;to a current release (10.0.x) to confirm it was resolved along the way ( and benefit from all the other changes since 2011 ;)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dennis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>