<?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>Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/4853/setting-field-based-on-another-field</link><description>I am trying to set a field based on the value of another field in the same module. I&amp;#39;ve set up a Business Rule that shows the mapping of one field to the value that the other field should have. Then I have a simple Business Process that evaluates the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23923?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 08:33:23 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:7947028e-b1d3-455f-a722-990fb153b838</guid><dc:creator>Dmytro Chupylka</dc:creator><description>&lt;p&gt;actually, there is a very good example in the OOTB package of Process Definitions to learn&amp;nbsp;from&lt;br /&gt;&lt;br /&gt;&lt;a href="https://support.sugarcrm.com/Knowledge_Base/SugarBPM/Process_Definition_Setup_Case_Follow-Up_Date_Management/"&gt;https://support.sugarcrm.com/Knowledge_Base/SugarBPM/Process_Definition_Setup_Case_Follow-Up_Date_Management/&lt;/a&gt;&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/1326x676/__key/communityserver-discussions-components-files/54/7343.Capture2.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23922?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 08:12:26 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:c8f64142-3287-4e93-8d03-162c3fe2183d</guid><dc:creator>Romney Lai</dc:creator><description>&lt;p&gt;Learnt something new - have to play around with this a bit more. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23920?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 18:51:10 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:24754646-7bc1-4908-95a6-4b70d835207f</guid><dc:creator>Vince Outlaw</dc:creator><description>&lt;p&gt;Thank you all for the replies!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23906?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 08:08:58 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:7fccd36d-1992-4847-907c-99e1142c6ec2</guid><dc:creator>Dmytro Chupylka</dc:creator><description>&lt;p&gt;that should set area westcoast category without&amp;nbsp;gateway&amp;nbsp;&lt;br /&gt;&lt;br /&gt;like this sets RLI Type on RLI Lead Source Change:&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/694x251/__key/communityserver-discussions-components-files/54/3326.Capture.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/413x178/__key/communityserver-discussions-components-files/54/8117.Capture1.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;And that is how it works:&lt;br /&gt;&lt;a href="https://sugarclub.sugarcrm.com/cfs-file/__key/communityserver-discussions-components-files/54/3731.br.mp4"&gt;sugarclub.sugarcrm.com/.../3731.br.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23903?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 00:53:29 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:f10b1d7f-35d8-49d2-a7fe-fcd67a137d53</guid><dc:creator>Romney Lai</dc:creator><description>&lt;p&gt;If I read the screenshot correctly, you call the business rule to return a value but the process does not actually use the value to set a field?&lt;/p&gt;
&lt;p&gt;Based upon the value return from the rule, you will need a gateway of some sort and then do further actions. Have a look at this as an example -&amp;nbsp;&lt;a href="https://support.sugarcrm.com/Knowledge_Base/SugarBPM/Using_SugarBPM_for_Territory-Based_Lead_Assignment/"&gt;support.sugarcrm.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23901?ContentTypeID=1</link><pubDate>Sat, 12 Jun 2021 17:42:14 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:a4bc4552-2874-4741-bff2-dfdc3ead7b99</guid><dc:creator>Dmytro Chupylka</dc:creator><description>&lt;p&gt;Despite the Process Definition in this case performs as an algorithm rather than a workflow, it provides the maximum visual configurability and maintainability for Sugar Admin in comparison to the code - even in the case of such a simple business rule criterion and very simple operation.&lt;/p&gt;
&lt;p&gt;IMHO, it is a very reasonable option for setting editable field values automatically on data save - to employ SugarBPM included in the subscription.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23897?ContentTypeID=1</link><pubDate>Sat, 12 Jun 2021 13:07:02 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:49e58ea8-883c-47a8-aa66-ace9d838e52d</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;I haven&amp;#39;t tried it, but you could probably get away with using a dependent dropdown with only one possible value in the second dropdown &lt;span class="emoticon" data-url="https://sugarclub.sugarcrm.com/cfs-file/__key/system/emoji/1f914.svg" title="Thinking"&gt;&amp;#x1f914;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;if you exclude the blank option it should fill the value out as soon as you choose the option in the first dropdown.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Creating_Dependent_Dropdown_Lists/"&gt;support.sugarcrm.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Field Based On Another Field</title><link>https://sugarclub.sugarcrm.com/thread/23896?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 22:24:10 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:826fded9-0911-4230-8964-a8f7f98da62d</guid><dc:creator>Sanchez Jorge Luis</dc:creator><description>&lt;p&gt;You can work with one formula by studio. &lt;br /&gt;See this page&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="https://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Sugar_Logic/Calculated_Field__Adding_Empty_Fields/"&gt;https://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Sugar_Logic/Calculated_Field__Adding_Empty_Fields/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Sugar_Logic/"&gt;https://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Sugar_Logic/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>