<?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 update modifiedby in database through sail</title><link>https://community.appian.com/discussions/f/user-interface/23257/how-to-update-modifiedby-in-database-through-sail</link><description>Hi All , I have an editable grid from where i am populating data from the db object and also i have an option to add new column . When a user change on existing column then i have to update modified by in database . can u please tell how can i achieve</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to update modifiedby in database through sail</title><link>https://community.appian.com/thread/89314?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 22:45:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:214b46da-278e-487c-aecd-f3a5ba3fa98c</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;You simply save the output of the now() function into the updatedOn, and save the output of the loggedInUser() function to the updatedBy.&lt;/p&gt;
&lt;p&gt;You can either do that when they click the Add Row button (so it would be part of your type constructor), or you can do it when you save the form by putting it into the saveInto of your submit button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update modifiedby in database through sail</title><link>https://community.appian.com/thread/89262?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 09:42:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d0084b21-ee40-403c-8019-f893376945f3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What is your current level of experience in Appian?&lt;/p&gt;
&lt;p&gt;Without knowing any details, I would try to add an additional a!save to the saveInto parameter of the fields. That a!save can then update other fields in that row, including the modified time stamp.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/fnc_evaluation_save.html#examples"&gt;docs.appian.com/.../fnc_evaluation_save.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>