<?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>Script Task</title><link>https://community.appian.com/discussions/f/process/20857/script-task</link><description>Can anyone help me on how to use Script Task to capture process initiator, set current date/time, and set a status for the process ? 
 I will also like to know how I can make a process name dynamic. Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Script Task</title><link>https://community.appian.com/thread/81241?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 15:36:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b0dbefa0-4ffc-4436-ae97-37221b458d12</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Hi, first I would recommend reviewing the documentation on&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.1/Configuring_the_Script_Task.html"&gt;Configuring Script Tasks&lt;/a&gt;&amp;nbsp;and &lt;a href="https://docs.appian.com/suite/help/21.1/process-model-object.html#process-model-properties"&gt;Process Model Properties&lt;/a&gt;&amp;nbsp;- as well as the &lt;a href="https://docs.appian.com/suite/help/21.1/Process_Modeling_Tutorial.html"&gt;Process Modeling Tutorial&lt;/a&gt;.&amp;nbsp; There is a plethora of other fantastic documentation available as well, always great to review especially if you are new to Appian.&lt;/p&gt;
&lt;p&gt;Otherwise, within Process Model Properties, the Process Display Name is expressionable - we rarely have a static name here, often including a unique &amp;quot;Process Number&amp;quot; value.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Process initiator can be retrieved with &amp;quot;=pp!initiator&amp;quot;, current datetime can be retrieved with &amp;quot;=now()&amp;quot;.&amp;nbsp; These can be used in the script task&amp;#39;s Node Outputs to update process variables / CDTs as needed.&amp;nbsp; Process Status is typically set with text values as &amp;quot;Active&amp;quot;, &amp;quot;Completed&amp;quot;, &amp;quot;Cancelled&amp;quot;, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>