<?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>Change the Status field (Data Type Field) automatically after assigned User takes action</title><link>https://community.appian.com/discussions/f/rules/20225/change-the-status-field-data-type-field-automatically-after-assigned-user-takes-action</link><description>Case: I have Process model which has two task assignment nodes. 
 I have a database field called Status --(Dropdown Options: Analysis, Approver, Complete) 
 When the task is added by the admin then Status field should be defaulted to &amp;quot; Analysis &amp;quot; --&amp;gt;</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Change the Status field (Data Type Field) automatically after assigned User takes action</title><link>https://community.appian.com/thread/78946?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 11:57:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:042b0de6-6516-4ff4-9bad-92279e051a51</guid><dc:creator>Pedro Sim&amp;#245;es</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/abhishekw0001"&gt;abhishekw0001&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Just a recap: you have 2 User Input Tasks in your process model: one for &amp;quot;Analysis&amp;quot; and other for &amp;quot;Approver&amp;quot;. This approval flow is quite similar to this one (&lt;a href="https://docs.appian.com/suite/help/20.4/Process_Modeling_Tutorial.html"&gt;https://docs.appian.com/suite/help/20.4/Process_Modeling_Tutorial.html&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;You just need to make sure that you update the CDT that is mapped to the DB table that contains the Status field (I&amp;#39;m assuming it&amp;#39;s a table to contain some process instance data) and then perform a Write to Data Store Entity to update that &lt;strong&gt;Status&lt;/strong&gt; value before the&amp;nbsp;&lt;strong&gt;Analysis&lt;/strong&gt; User Input Task. To update an array see the following&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.4/Process_Model_Recipes.html#updating-an-array"&gt;https://docs.appian.com/suite/help/20.4/Process_Model_Recipes.html#updating-an-array&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>