<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.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>Updating Constant by using Update Constant Smart Service</title><link>https://community.appian.com/discussions/f/process/38388/updating-constant-by-using-update-constant-smart-service</link><description>I have a requirement where i am updating the constant by using update constant smart service .The constant is having multiple values when i am updating the constant all values are getting updated with new value.Is there any way where we can update the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Updating Constant by using Update Constant Smart Service</title><link>https://community.appian.com/thread/144710?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 11:00:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:617bee8d-9df8-4335-b234-d6578253e416</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not knowing&amp;nbsp;your exact requirements, in general the idea is to do something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!update(
  data: cons!YOUR_CONSTANT,
  index: 3,
  value: &amp;quot;YOUR_NEW_VALUE&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This would modify the third item in that constant. use this in that smart service to define the new value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating Constant by using Update Constant Smart Service</title><link>https://community.appian.com/thread/144708?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 10:30:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e3e1066-edd1-4291-a0e3-c3e8cf435e07</guid><dc:creator>sirik7052</dc:creator><description>&lt;p&gt;I have tried but failed somewhere. forgot to mention i have MNI for updated constant I have 2 constants to get updated 6 values .For 5 values we are using same constant for 1 value we have to update separate constant.The Constant which is having 5 values we need to 3rd position value&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating Constant by using Update Constant Smart Service</title><link>https://community.appian.com/thread/144705?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 10:07:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7bce441-10a9-4c7f-9400-080a376cc833</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sure, you can read the constant values, modify them and make this logic the new value for the constant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>