<h2>Not able to set dot-walked fields from Business Rule's Action tab</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><style type="text/css"><!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --></style> <style type="text/css"><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px 'Helvetica Neue'; color: #455464; -webkit-text-stroke: #455464; background-color: #ffffff; min-height: 14.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 25.0px; font: 21.0px Verdana; color: #d1232b; -webkit-text-stroke: #d1232b; background-color: #ffffff} p.p3 {margin: 0.0px 0.0px 5.5px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff; min-height: 13.0px} p.p4 {margin: 0.0px 0.0px 11.0px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff} p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px Verdana; color: #455464; -webkit-text-stroke: #455464; background-color: #ffffff} p.p6 {margin: 0.0px 0.0px 11.0px 0.0px; line-height: 13.0px; font: 11.0px Verdana; color: #000000; -webkit-text-stroke: #000000; background-color: #ffffff; min-height: 13.0px} p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px 'Helvetica Neue'; color: #455464; -webkit-text-stroke: #455464; background-color: #ffffff} p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px 'Helvetica Neue'; color: #455464; -webkit-text-stroke: #000000; background-color: #ffffff} span.s1 {font-kerning: none} --></style> <div class="margin"> <p class="p1"> </p> <p class="p2"><span class="s1">Symptoms</span></p> <p class="p3"> </p> <p class="p4"><span class="s1">You are not able to<span class="Apple-converted-space"> </span>set dot-walked fields from Business Rule's Action tab.</span></p> <p class="p4"><span class="s1">e.g.</span></p> <p class="p5"><span class="s1">STEPS TO REPRODUCE </span></p> <p class="p5"><span class="s1">1. Create a business rule on problem_task: </span></p> <p class="p5"><span class="s1">- Active: True </span></p> <p class="p5"><span class="s1">- Update: True </span></p> <p class="p5"><span class="s1">Set Filter Conditions for when BR will run. </span></p> <p class="p5"><span class="s1">- Actions: Set values to for example 'Problem'.'Current Status' or any other dot-walked field </span></p> <p class="p5"><span class="s1">2. Save the Business Rule and update a problem_task record that has a parent in Problem </span></p> <p class="p5"><span class="s1">3. Notice that the values in dot-walked fields did not get updated when the br executed. </span></p> <p class="p6"> </p> <p class="p6"> </p> <p class="p2"><span class="s1">Release</span></p> <p class="p3"> </p> <p class="p4"><span class="s1">Kingston</span></p> <p class="p2"><span class="s1">Cause</span></p> <p class="p3"> </p> <p class="p7"><span class="s1">You are hitting a known issue PRB615193 - Business Rules do not change dot-walked fields, which was logged for Express Customers and has since been fixed with the introduction of a system property and a field. This was required for Express as Express users cannot write scripts. </span></p> <p class="p1"> </p> <p class="p7"><span class="s1">This property ‘glide.record.update_ref_changes’ was introduced. The functionality for which this was introduced, was to support the ability to set dot-walked fields from BR's Action tab.<span class="Apple-converted-space"> </span></span></p> <p class="p1"> </p> <p class="p7"><span class="s1">For this functionality to work, in the Business Rule the field ‘Update reference fields’ checkbox also needs to be turned on and above property needs to be set to true. </span></p> <p class="p6"> </p> <p class="p2"><span class="s1">Resolution</span></p> <p class="p3"> </p> <p class="p7"><span class="s1">1. Add the field ‘Update reference fields’ to the Business Rule form.</span></p> <p class="p7"><span class="s1">To do this:</span></p> <p class="p7"><span class="s1">Navigate to the relevant BR</span></p> <p class="p7"><span class="s1">From Configure Form layout, add the field below on the form </span></p> <p class="p7"><span class="s1">'Update reference fields': check </span></p> <p class="p1"> </p> <p class="p7"><span class="s1">2. Add a new sys property in your instance </span></p> <p class="p7"><span class="s1">To do this:</span></p> <p class="p7"><span class="s1">Navigate to the sys_properties table</span></p> <p class="p7"><span class="s1">Create a new record</span></p> <p class="p7"><span class="s1">Name: glide.record.update_ref_changes </span></p> <p class="p7"><span class="s1">Type: true/false</span></p> <p class="p7"><span class="s1">value: true </span></p> <p class="p1"> </p> <p class="p7"><span class="s1">Setting the property to 'true' updates the reference field records when they are updated using dot walking in Business Rules. </span></p> <p class="p7"><span class="s1">All BRs where "Set field values" uses dot-walked fields in left hand side and have "Update reference fields" checkbox checked-on, will work properly if this property is set to true. </span></p> <p class="p6"> </p> <p class="p8"><span class="s1">Please note for Enterprise customers, above fix is available, however it should be possible for you to achieve the same via script in the 'Advanced' tab of the BR. </span></p> </div></section></div></article></div>