<?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>How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/discussions/f/process/36895/how-to-append-cdt-from-subprocess-in-a-single-variable-of-array-type</link><description>Hello Everyone, 
 I have an &amp;quot;multipleMeetings&amp;quot; array process variable which of MAP type, its holding the meeting related data as shown in below image, I am running a subprocess(to store it in a database) for each meeting present in multipleMeeting PV</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139748?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 05:50:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0c64219-ff7c-41e8-8f85-a3b226e9f7b0</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;Yes looping worked as per my requirements.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139293?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 13:17:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85e23cd1-8404-4578-a6fa-3c2cb416b62b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is one of those places where trying to use MNI might be 10x the effort of simply building an in-process loop that does what you want manually (and using 3 or 4 nodes instead of the 2 you currently have).&amp;nbsp; And even then I&amp;#39;m not sure (barring a lot of trying and teeth-gnashing) whether the MNI approach is even feasible here.&lt;/p&gt;
&lt;p&gt;The issue stems from the confusion caused by trying to pass back data from the subprocess while the subprocess is also configured for MNI, because the multiple instances are set to &amp;quot;run at once&amp;quot; and may all complete instantaneously (thus not giving the parent process the chance to update the array before the next value is passed up to the parent and overwrites the instance you were hoping to append).&lt;/p&gt;
&lt;p&gt;My overall suggestion: ditch the subprocess MNI and build a loop.&amp;nbsp; Or put the loop in your subprocess and pass back the whole array.&amp;nbsp; Either way the result will be similar.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139292?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 13:10:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b888b97-f11f-426a-ad2b-5a68dce2a2ce</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/Screenshot-_2800_148_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;This is how i am appending the data, meetingDataPV getting the output from the subprocess and appending it to multiple type multipleMeetingInfo, both are of same CDT type&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139291?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 13:05:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b487f60-51c4-47f2-9d4c-eaa06bbc0105</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;Tried that as well, its showing only last instance data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139283?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 11:23:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49d028fe-7cd9-453f-8156-76c196ca2e2e</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;&lt;span&gt;Can you try &amp;quot;All instances are done&amp;quot; option under Run all instances at the same time?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139278?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 10:45:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d95862e-9120-4ed3-a224-5b01ad5111e2</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;This seems yo be related that your &amp;quot;sentence&amp;quot; for appending data is not correctly implemented.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139277?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 09:56:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1adb609b-9976-4aa3-af11-4f8a275892a9</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/Screenshot-_2800_147_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;In the expression i have given the count of multipleMeeting variable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139276?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 09:15:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca63d878-fda2-4561-accd-46b7129334f0</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;What is the MNI configuration you have used?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139265?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 04:47:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15d2ee78-f8fe-4cf1-961a-13871b6a54a5</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;Yes, i tried that but its appending the last instance data only multiple times.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139212?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 06:17:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c380ae4-a592-48cf-8c7a-37b45e80d73e</guid><dc:creator>saikiran1919</dc:creator><description>&lt;p&gt;can you create another variable of same CDT of multiple type and after every sub process instance append the value of your previously created variable to that one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139166?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 10:16:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ab227f2-d4a6-41f3-a5d9-94ed49f1e749</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/2806.Screenshot-_2800_145_2900_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139165?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 10:15:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b1a4b49-2ebd-43cb-82e5-b2d03b2af9ee</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/Screenshot-_2800_146_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;In this subprocess i am calling Write to data store entity process and passing the data of multipleMeetings variable one by one by enabling MNI, the data is in format of the below image and in the subprocess after inserting meeting details in db i am storing the meeting data in different variable meetingInfo which is of meetingData CDT single type and getting as the output in variable which is same type and then in script task tried appending it in a multipleMeetingInfo variable which is of meetingData CDT multiple types&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139164?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 10:07:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd7d5c9a-056e-4925-b301-61dd39e76af1</guid><dc:creator>ashutoshn0888</dc:creator><description>&lt;p&gt;Yes, i am trying to append it in meetingInfo process variable after the write to data store entity sub-process by using script task and that process variable is of same CDT type array varaible&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139163?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 09:39:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:313f3a95-3c83-4e3a-aba3-c27ffb3d3448</guid><dc:creator>saikiran1919</dc:creator><description>&lt;p&gt;Provide the screenshot of the process model instance for clarity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to append CDT from subprocess in a single variable of array type?</title><link>https://community.appian.com/thread/139162?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 09:38:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea16f433-284b-460d-a0a6-a9d930b09ada</guid><dc:creator>saikiran1919</dc:creator><description>&lt;p&gt;can you provide as to which variable do you need to append ? and i am assuming you are trying to append&amp;nbsp; it after the write to data store entity.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>