<?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>Datasubset</title><link>https://community.appian.com/discussions/f/best-practices/26248/datasubset</link><description>HI , I am trying to update a process variable of type datasubset, I am using the following code to update a particular index value, As the data is an array and at each index again is a CDT. And I am trying to store it in the PV(type Datasubset) but I</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Datasubset</title><link>https://community.appian.com/thread/102988?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 06:38:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7aaf785-a450-4985-bb57-d5619cc8118d</guid><dc:creator>sivasuryap0002</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;,&lt;br /&gt;Its working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Datasubset</title><link>https://community.appian.com/thread/102987?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 06:25:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38d564ff-e0f4-4299-9f49-d145e1a23372</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In this case, I recommend to use a foreach loop to iterate on the items. If the item matches your condition, update it, else, return the unmodified item.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Datasubset</title><link>https://community.appian.com/thread/102983?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 06:13:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1fec6ef-b7e7-4859-b92f-73b1d804abf5</guid><dc:creator>sivasuryap0002</dc:creator><description>&lt;p&gt;Then How Can I pass the index of &amp;quot;SentOn&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Datasubset</title><link>https://community.appian.com/thread/102981?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 05:59:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55dbcddb-12ec-4bdb-a917-de9277eb2e05</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Your index function at line 3 must be returning multiple indexes. Anyway, the index function is not providing you a number or a property rather it will provide you the value of &amp;quot;sentOn&amp;quot; which is not the correct index that can be passed in a!update()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>