<?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>Is there a way to modify a particular row of a CDT?  USE CASE: I have a CDT</title><link>https://community.appian.com/discussions/f/process/4041/is-there-a-way-to-modify-a-particular-row-of-a-cdt-use-case-i-have-a-cdt</link><description>Is there a way to modify a particular row of a CDT? USE CASE: I have a CDT(multiple type) having 4 columns say A,B,C,D and i have 4 rows of data in it. I want to modify the C column value of the 3rd row to some value x. How to achieve this in the data</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there a way to modify a particular row of a CDT?  USE CASE: I have a CDT</title><link>https://community.appian.com/thread/61800?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 15:33:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2605ae51-e3c4-497c-bc2b-8ebe07d4a434</guid><dc:creator>harishkumart</dc:creator><description>&lt;p&gt;Hi yagyadeepk,&lt;br /&gt; You can achive this through the process model by following these steps.&lt;br /&gt; 1.index the column that you want to update and use update array to update the column at particular index( for your scenario updateArray(index(CDT,&amp;quot;C&amp;quot;),2,&amp;quot;new value&amp;quot;)).&lt;br /&gt; 2. save this to the column c of your cdt in the script task. as shown in the snapshot. This would help you.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/pastedimage1540222912794v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1540222912794v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to modify a particular row of a CDT? &lt;br /&gt;USE CASE: I have a CDT</title><link>https://community.appian.com/thread/14209?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 23:38:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b5f876d-1ef1-47da-9499-9427f50dcf2b</guid><dc:creator>Jason Ruvinsky</dc:creator><description>You can also configure the data output to write to that field, and instead of &amp;#39;is saved as&amp;#39; choose &amp;#39;is stored at index ...&amp;#39; for your operation.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to modify a particular row of a CDT? &lt;br /&gt;USE CASE: I have a CDT</title><link>https://community.appian.com/thread/14205?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 20:29:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99bb8405-a31d-44fc-8e91-9f0b432a33bb</guid><dc:creator>larson.thune</dc:creator><description>You can try updatearray() to update the C column, using wherecontains() to get you the appropriate index&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to modify a particular row of a CDT? &lt;br /&gt;USE CASE: I have a CDT</title><link>https://community.appian.com/thread/14203?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 19:56:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03814993-fc21-4f91-a62c-48275e290c11</guid><dc:creator>radhaa</dc:creator><description>Hi yagyadeep, we have multiple ways to do this, you can update/modify the DB data using write to data store entity smart service node.&lt;br /&gt;For example: &lt;br /&gt;In Script Task Data Inputs,retrieve data from DB by primary key of that 3rd row and store it in respective CDT Type acp parameter (say cdt_sample).&lt;br /&gt;Data outputs, &lt;br /&gt;1. Store that acp Parameter in pv value&lt;br /&gt;2. the modified value placed in Custom output expression and stored as cdt_sample.c&lt;br /&gt;Go through this link &lt;a href="https://forum.appian.com/suite/help/7.8/Write_to_Data_Store_Entity_Smart_Service.html"&gt;forum.appian.com/.../Write_to_Data_Store_Entity_Smart_Service.html&lt;/a&gt; &lt;br /&gt;you can get better idea.&lt;br /&gt;It may help to you&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>