<?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/"><channel><title>KB-1386 Negative value returned for intervalds() function when passing inputs amounting to greater than 591 hours, 31 minutes, and 23 seconds</title><link>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1386 Negative value returned for intervalds() function when passing inputs amounting to greater than 591 hours, 31 minutes, and 23 seconds</title><link>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds</link><pubDate>Mon, 23 Jul 2018 03:47:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41baf982-c623-4016-9a94-2b9dc28dc119</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 7/23/2018 3:47:35 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing the &lt;code&gt;intervalds()&lt;/code&gt; function and passing hours, minutes, and seconds that total greater than 591 hours, 31 minutes, and 23 seconds, the time interval returns as a negative number.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been reported to the Appian product team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-78778&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create an expression rule under a different name than the original function.&lt;/li&gt;
&lt;li&gt;Create three rule inputs:&amp;nbsp;&lt;strong&gt;hour&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;minute&lt;/strong&gt;,&amp;nbsp;and&amp;nbsp;&lt;strong&gt;second&lt;/strong&gt;. The data type for all rule inputs should be &lt;strong&gt;Number (Integer)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Paste the following definition in the expression rule:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;quotient(&lt;br /&gt;&amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;) * intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp;2147483&lt;br /&gt;) + intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; mod(&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;&amp;nbsp; &amp;nbsp; )&lt;br /&gt;)&lt;/pre&gt;
&lt;p&gt;You can now use this expression rule in place of the original function.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Similarly to the original &lt;code&gt;intervalds()&lt;/code&gt; function, the value of each rule input must be non-null.&lt;/p&gt;
&lt;p&gt;Kindly note that Appian Technical Support provides the above SAIL code as-is without any express guarantee of functionality. Readers will need to test and adjust the code as necessary.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, expression rules, application design, open issues&lt;/div&gt;
</description></item><item><title>KB-1386 Negative value returned for intervalds() function when passing inputs amounting to greater than 591 hours, 31 minutes, and 23 seconds</title><link>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds/revision/3</link><pubDate>Thu, 20 Jul 2017 20:42:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41baf982-c623-4016-9a94-2b9dc28dc119</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Nick Vigilante on 7/20/2017 8:42:55 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing the &lt;code&gt;intervalds()&lt;/code&gt; function and passing hours, minutes, and seconds that total greater than 591 hours, 31 minutes, and 23 seconds, the time interval returns as a negative number.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been reported to the Appian product team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-78778&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create an expression rule under a different name than the original function.&lt;/li&gt;
&lt;li&gt;Create three rule inputs:&amp;nbsp;&lt;strong&gt;hour&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;minute&lt;/strong&gt;,&amp;nbsp;and&amp;nbsp;&lt;strong&gt;second&lt;/strong&gt;. The data type for all rule inputs should be &lt;strong&gt;Number (Integer)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Paste the following definition in the expression rule:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;quotient(&lt;br /&gt;&amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;) * intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp;2147483&lt;br /&gt;) + intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; mod(&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;&amp;nbsp; &amp;nbsp; )&lt;br /&gt;)&lt;/pre&gt;
&lt;p&gt;You can now use this expression rule in place of the original function.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Similarly to the original &lt;code&gt;intervalds()&lt;/code&gt; function, the value of each rule input must be non-null.&lt;/p&gt;
&lt;p&gt;Kindly note that Appian Technical Support provides the above SAIL code as-is without any express guarantee of functionality. Readers will need to test and adjust the code as necessary.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, expression rules, open issues&lt;/div&gt;
</description></item><item><title>KB-XXXX Negative value returned for intervalds() function when passing inputs amounting to greater than 591 hours, 31 minutes, and 23 seconds</title><link>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds/revision/1</link><pubDate>Thu, 15 Jun 2017 21:35:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41baf982-c623-4016-9a94-2b9dc28dc119</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 6/15/2017 9:35:10 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing the &lt;code&gt;intervalds()&lt;/code&gt; function and passing hours, minutes, and seconds that total greater than 591 hours, 31 minutes, and 23 seconds, the time interval returns as a negative number.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been reported to the Appian product team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-78778&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create an expression rule under a different name than the original function.&lt;/li&gt;
&lt;li&gt;Create three rule inputs:&amp;nbsp;&lt;strong&gt;hour&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;minute&lt;/strong&gt;,&amp;nbsp;and&amp;nbsp;&lt;strong&gt;second&lt;/strong&gt;. The data type for all rule inputs should be &lt;strong&gt;Number (Integer)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Paste the following definition in the expression rule:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;quotient(&lt;br /&gt;&amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;) * intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp;2147483&lt;br /&gt;) + intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; mod(&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;&amp;nbsp; &amp;nbsp; )&lt;br /&gt;)&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Similarly to the original &lt;code&gt;intervalds()&lt;/code&gt; function, the value of each rule input must be non-null.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, expression rules, open issues&lt;/div&gt;
</description></item><item><title>KB-XXXX Negative value returned for intervalds() function when passing inputs amounting to greater than 591 hours, 31 minutes, and 23 seconds</title><link>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds/revision/2</link><pubDate>Thu, 15 Jun 2017 17:37:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41baf982-c623-4016-9a94-2b9dc28dc119</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/634/kb-1386-negative-value-returned-for-intervalds-function-when-passing-inputs-amounting-to-greater-than-591-hours-31-minutes-and-23-seconds#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 6/15/2017 5:37:59 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing the &lt;code&gt;intervalds()&lt;/code&gt; function and passing hours, minutes, and seconds that total greater than 591 hours, 31 minutes, and 23 seconds, the time interval returns as a negative number.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been reported to the Appian product team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-78778&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create an expression rule under a different name than the original function.&lt;/li&gt;
&lt;li&gt;Create three rule inputs:&amp;nbsp;&lt;strong&gt;hour&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;minute&lt;/strong&gt;,&amp;nbsp;and&amp;nbsp;&lt;strong&gt;second&lt;/strong&gt;. The data type for all rule inputs should be &lt;strong&gt;Number (Integer)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Paste the following definition in the expression rule:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;quotient(&lt;br /&gt;&amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;) * intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp;2147483&lt;br /&gt;) + intervalds(&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0,&lt;br /&gt;&amp;nbsp; &amp;nbsp; mod(&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ri!second + 60 * ri!minute + 3600 * ri!hour,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2147483&lt;br /&gt;&amp;nbsp; &amp;nbsp; )&lt;br /&gt;)&lt;/pre&gt;
&lt;p&gt;You can now use this expression rule in place of the original function.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Similarly to the original &lt;code&gt;intervalds()&lt;/code&gt; function, the value of each rule input must be non-null.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, expression rules, open issues&lt;/div&gt;
</description></item></channel></rss>