<?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>Scheduled Process Model</title><link>https://community.appian.com/discussions/f/process/39727/scheduled-process-model</link><description>HI EVERYONE, 
 I have a process model and that need to be triggered at every 30mins and it need to be triggered at 15th and 45th minute in everyhour(Eg:- 12:15am, 12:45am, 1:15am, 1:45am ..... an so on.). But in schedule trigger we don&amp;#39;t have such option</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Scheduled Process Model</title><link>https://community.appian.com/thread/151536?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 10:47:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d5dfd5a-b9cc-4268-a934-daddf25accb3</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Good to see it&amp;#39;s working after removal of localVariable() and modifying my earlier code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduled Process Model</title><link>https://community.appian.com/thread/151535?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 07:18:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9db1c17a-19f0-483f-88b8-15ca07597604</guid><dc:creator>Devarneni Shiva Prasad Rao</dc:creator><description>&lt;p&gt;I tried you code but in you code adding 60 at the end is not adding 60minutes it is adding 60 days, so I modified the code as follows&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;= a!addDateTime(
  startDateTime: datetime(
    year(now()),
    month(now()),
    day(now()),
    hour(now()),
    if(
      and(minute(now()) &amp;gt;= 15, minute(now()) &amp;lt; 45),
      45,
      15
    ),
    0
  ),
  hours: if(minute(now()) &amp;gt;= 45, 1, 0)
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But this logic also resulted in same error, may be along with localvariables, a!addDateTime function also not supported.&lt;/p&gt;
&lt;p&gt;Now I added the below logic and it working fine. Thanks for your inputs&amp;nbsp;&lt;a href="/members/shubhama926776"&gt;Shubham Aware&lt;/a&gt;&amp;nbsp;,&lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;. Is there any documentation on these things, what are supported and what are not supported in timer properties? If avaialble can you please share the same&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;= datetime(
  year(now()),
  month(now()),
  day(now()),
  hour(now()),
  if(
    and(minute(now()) &amp;gt;= 15, minute(now()) &amp;lt; 45),
    45,
    15
  ),
  0
) + intervalds(if(minute(now()) &amp;gt;= 45, 1, 0), 0, 0)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduled Process Model</title><link>https://community.appian.com/thread/151534?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 06:45:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70fb2de6-43b2-40cd-a102-ec11087c8fe4</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;The Assignment invalid issue seems to be caused by using a!localVariables(). &lt;br /&gt;Can you use code I shared into a direct expression without local variables?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduled Process Model</title><link>https://community.appian.com/thread/151533?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 06:25:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff3ab771-fcac-4ffd-b090-1f5cf38be356</guid><dc:creator>Devarneni Shiva Prasad Rao</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/shubhama926776"&gt;Shubham Aware&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I added a similar code in delay until the date and time specified.&lt;/p&gt;
&lt;p&gt;The logic is same but format of code is different, refer below code. But with my code the process mode is erroring out and getting error mail as attached below. Any idea why it is erroring out? Is it due to using localvariables? Are localvariables not allowed in timer event? Is there any documentation with respect to that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;= a!localVariables(
  local!now: now(),
  local!currentMinute: minute(local!now),
  local!upcomingMinute: if(
    and(
      local!currentMinute &amp;gt;= 15,
      local!currentMinute &amp;lt; 45
    ),
    45,
    15
  ),
  local!upcomingHour: if(
    local!currentMinute &amp;gt;= 45,
    a!addDateTime(startDateTime: local!now, hours: 1),
    local!now
  ),
  datetime(
    year(local!upcomingHour),
    month(local!upcomingHour),
    day(local!upcomingHour),
    hour(local!upcomingHour),
    local!upcomingMinute
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Error:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1758003901094v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduled Process Model</title><link>https://community.appian.com/thread/151532?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 06:06:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9aad3117-2473-47db-92a7-c50590d4d17a</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Could you try this,&lt;br /&gt;Use Delay until the date and time specified by this expression with this expression:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;datetime(
  year(now()),
  month(now()),
  day(now()),
  hour(now()),
  if(minute(now())&amp;lt;15, 15, if(minute(now())&amp;lt;45, 45, 15)),
  0
) + if(minute(now())&amp;gt;=45, 1, 0) * 60&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then set At an interval for Every 30 minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduled Process Model</title><link>https://community.appian.com/thread/151531?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 06:02:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63384871-f914-472e-b390-9a98692756be</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you try to setup the initial schedule to a calculated time to meet the first correct trigger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>