<?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>Default value to add to a rule input which is of CDT</title><link>https://community.appian.com/discussions/f/user-interface/24207/default-value-to-add-to-a-rule-input-which-is-of-cdt</link><description>Hi, 
 I have below kind of interface (editable grid) to upload multiple documents. By default, I am providing 1 row and when user click on &amp;quot;Add Document&amp;quot; I am adding additional. 
 
 I have a rule input which is of CDT like below 
 
 
 
 I was able to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Default value to add to a rule input which is of CDT</title><link>https://community.appian.com/thread/93370?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 17:03:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afa94a53-d888-4ddd-82a5-96671bf9d27a</guid><dc:creator>Hari Kishore Reddy</dc:creator><description>&lt;p&gt;Thank you so much for your quick advise. I really appreciate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Default value to add to a rule input which is of CDT</title><link>https://community.appian.com/thread/93365?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 16:45:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae68e972-954c-4523-b713-76f6826b71d9</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi Hari, yes you can do that in your dynamic link&amp;#39;s saveInto. You can configure something like below,&lt;/p&gt;
&lt;p&gt;a!save(ri!yourCdt,&lt;/p&gt;
&lt;p&gt;append(&lt;/p&gt;
&lt;p&gt;ri!yourCdt,&lt;/p&gt;
&lt;p&gt;type!yourCdt( addedby:loggedInuser,addedOn:now()&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;Another way would be to use script task in your process model to update the process variable which will be inserted to db.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>