<?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>I want to run a script task after 1 second</title><link>https://community.appian.com/discussions/f/process/38442/i-want-to-run-a-script-task-after-1-second</link><description>When the &amp;quot;index+1&amp;quot; script task is reached, I would like to wait 1 second and then execute the script task. I tried to solve the problem by setting the timer, but I don&amp;#39;t know how, so I would like to know how.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I want to run a script task after 1 second</title><link>https://community.appian.com/thread/145004?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 07:20:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9cb8515b-5c2a-4e40-bd9a-f228e0cf7cee</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What is the purpose of this delay?&lt;/p&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;now() + second()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to run a script task after 1 second</title><link>https://community.appian.com/thread/145000?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 05:57:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af521498-74bd-47f4-8961-703f4edf6b50</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;In the Timer setup, put &lt;strong&gt;now() + intervalds(0,0,1)&lt;/strong&gt; under the &amp;#39;Delay until the date and time specified by this expression field&amp;#39; to have a delay of 1 second.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1738562194133v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to run a script task after 1 second</title><link>https://community.appian.com/thread/144999?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 02:53:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ea01a20-a499-4064-b8bf-6fbfd502b39b</guid><dc:creator>Konduru Chaitanya</dc:creator><description>[quote userid="267729" url="~/discussions/f/process/38442/i-want-to-run-a-script-task-after-1-second"] I would like to wait 1 second and then execute the script task[/quote]
&lt;p&gt;I&amp;nbsp;am not sure if this is something do-able. I think the minimum need is a 1 min.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.4/Intermediate_Event_-_Timer.html#configuring-a-timer-event"&gt;https://docs.appian.com/suite/help/24.4/Intermediate_Event_-_Timer.html#configuring-a-timer-event&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please refer this documentation&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to run a script task after 1 second</title><link>https://community.appian.com/thread/144998?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 01:55:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:261f5136-149b-4f84-9f7a-190f89781d3f</guid><dc:creator>Andrew Hickingbotham</dc:creator><description>&lt;p&gt;I&amp;#39;d be interested in others answers too but my understanding is you can calculate that small a time skip inside the timer node but you can calculate it in a script task before triggering the timer node. So just set a pv!startDateTime variable that is set in a script task with a!addDateTime(startDateTime: now(), seconds: 1) then configure the timer event to start at that variable date time.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1738547719312v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>