<?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>Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/discussions/f/process/27162/timer-event-node-configured-with-scheduled-delay-is-cancelled-when-running-the-process</link><description>Hi everyone, 
 One of the process models that I&amp;#39;m working on is using a Timer Event node, which is having a scheduled delay setting as shown below: (the constant returns 2 (integer)) 
 
 I think the node supposes to delay for 2 minutes, then will activate</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106692?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 19:04:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68933718-2239-4434-847f-d1ffaedd3eda</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;We also need to know what is in the configuration under the Advanced Options:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/pastedimage1673550141283v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is used to define any conditions which can prevent the timer from firing, say if you have a boolean expression which is returning false(), the timer will not fire no matter the time delay setting.&lt;/p&gt;
&lt;p&gt;From there, as the others have mentioned, the timer ends up becoming Cancelled as the parent process completes prior without this node ever having been completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106638?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:48:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f90e3e52-f694-42a5-aed7-fdec35be58d0</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="/members/mollyn6512"&gt;mollyn126&lt;/a&gt;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;Can you check the constant that you are passing as reference. What values does it have, i mean the type of values. and if it is array can you confirm if you have passed the index of the integer/value.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;If all is well then try&amp;nbsp;wrapping the constant with tointeger() in the expression for the&amp;nbsp; scheduled delay&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106636?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:29:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8369b956-a0c2-4c33-8e8c-33d62a68e7aa</guid><dc:creator>Jose Cavazos</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/Cancel-timer.png" /&gt;&lt;br /&gt;Hope this image helps to prove the point. If your parent process hits the end node it will cancel anything that was running in order to complete&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106634?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:21:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce8d6a02-ea30-4f15-ae95-0f2dc8ffe023</guid><dc:creator>Jose Cavazos</dc:creator><description>&lt;p&gt;Your parent process must be finishing the sub process. Verify that it&amp;#39;s running synchronously and it should wait till the sub process is done till moving to the next node. If your parent process has split nodes and hits the End Event (With the Terminate option) anything that is running including subprocess will be completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106633?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:16:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d886052-d6c1-4b2b-9c6a-30c39dc35f37</guid><dc:creator>mollyn126</dc:creator><description>&lt;p&gt;Also, I run the whole workflow, and realised I couldn&amp;#39;t see the data returned to parent process, and found out it was because of the delay node&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106631?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:14:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:171e296c-c451-4bd5-b18d-171648bb0614</guid><dc:creator>mollyn126</dc:creator><description>&lt;p&gt;This process run synchronously,&amp;nbsp;but the Merge Document node needs to be executed to pass the output to the parent process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently the parent process was still able to continue as the process still hit end node despite the cancelled Timer Event, but the output from this sub-process is left blank.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106629?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:10:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b61bc0d-f4ae-40e8-9acc-bb2dba83bc89</guid><dc:creator>mollyn126</dc:creator><description>&lt;p&gt;I refreshed but it did not go to the next node...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106626?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 07:00:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:732a362d-17ee-403f-8ff7-91c728cf2fd1</guid><dc:creator>Jose Cavazos</dc:creator><description>&lt;p&gt;Is this process running sync or async? If it&amp;#39;s running sync the parent process might be completing it if you have an end node with terminate process.&lt;br /&gt;Does this gets cancelled when you run it as debug mode?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I haven&amp;#39;t used constants for timers but what I have been using is the option the date and time specified by this expression I&amp;#39;m using&amp;nbsp;&lt;br /&gt;=now() + intervalds(0,0,10)/*Wait 10 seconds*/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Event node configured with Scheduled Delay is cancelled when running the process</title><link>https://community.appian.com/thread/106623?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 06:53:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29900936-65d9-4440-bfca-d31c3940867d</guid><dc:creator>Basavaraju Sathvik</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/mollyn6512"&gt;mollyn126&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;So when you assign a timer event node after the given time ex:- 2min try to press &lt;strong&gt;refresh icon,&lt;/strong&gt; by refreshing the process model while debugging it goes to the next node.&lt;/p&gt;
&lt;p&gt;Hope this is helpful&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>