<?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>typeof() vs runtimetypeof()</title><link>https://community.appian.com/discussions/f/general/37973/typeof-vs-runtimetypeof</link><description>Even i gone through the documentation i cant get the exact difference plz can anyone explain in easy and simple words</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: typeof() vs runtimetypeof()</title><link>https://community.appian.com/thread/143391?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2024 05:16:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b40714a-77d5-4a5a-ae96-a3553c06c127</guid><dc:creator>FreyaCook</dc:creator><description>&lt;p&gt;Thanks for the link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: typeof() vs runtimetypeof()</title><link>https://community.appian.com/thread/142821?ContentTypeID=1</link><pubDate>Sun, 17 Nov 2024 07:54:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3056019d-b5bc-4eab-ac26-b19480804f7e</guid><dc:creator>mahesha928463</dc:creator><description>&lt;p&gt;&lt;strong&gt;typeof():&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tells you the expected type of a value during design time.&lt;/li&gt;
&lt;li&gt;If you want to check if a variable should be a &amp;quot;User&amp;quot; or &amp;quot;Group&amp;quot;, typeof() will tell you it is &amp;quot;User or Group&amp;quot;, but not the exact value.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;runtimetypeof():&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tells you the actual type of a value during runtime.&lt;/li&gt;
&lt;li&gt;It shows the exact type at that moment, so you know if the value is a &amp;quot;User&amp;quot; (e.g., &amp;quot;test user&amp;quot;) or a &amp;quot;Group&amp;quot; (e.g., &amp;quot;[Group:10]&amp;quot;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please find the link for more details&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.3/fnc_informational_runtimetypeof.html#use-with-rule-inputs" rel="noopener noreferrer" target="_blank"&gt;https://docs.appian.com/suite/help/24.3/fnc_informational_runtimetypeof.html#use-with-rule-inputs&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: typeof() vs runtimetypeof()</title><link>https://community.appian.com/thread/142818?ContentTypeID=1</link><pubDate>Sat, 16 Nov 2024 04:15:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48d31d2a-d1e4-4893-8658-8922487d46e0</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;&lt;strong&gt;typeOf():&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It can retrieve the type of an expression during design time.&lt;/li&gt;
&lt;li&gt;what the designer expects the data to be based on the configured type.&lt;/li&gt;
&lt;li&gt;you can use this to validate or debug the expected type of an expression&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;runtimetypeof():&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;it can retrieve the type of an expression during runtime of the that expression.&lt;/li&gt;
&lt;li&gt;it says&amp;nbsp;what the data is at runtime.&lt;/li&gt;
&lt;li&gt;You can dynamically validate the type at runtime and handle unexpected data&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: typeof() vs runtimetypeof()</title><link>https://community.appian.com/thread/142812?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 12:06:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:928b4d65-549e-4ee9-be17-bc87dc4c216e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Find a good description here:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.3/fnc_informational_runtimetypeof.html#use-with-rule-inputs"&gt;https://docs.appian.com/suite/help/24.3/fnc_informational_runtimetypeof.html#use-with-rule-inputs&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: typeof() vs runtimetypeof()</title><link>https://community.appian.com/thread/142811?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 11:44:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e038dcdb-a8e6-40c5-b19b-d0e951a82b8d</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;There are some data types in appian like &amp;quot;User or Group&amp;quot;, &amp;quot;Document or Folder&amp;quot; etc., You will not know exactly what value the variable has during process execution. It can be user or it can be a group, ex: it can hold &amp;quot;testUser&amp;quot; or &amp;quot;[Group:51]&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We cannot find it out using typeof(), as it will return as &amp;quot;User or Group&amp;quot;. So to specifically know what value the variable is holding during runtime we use runtimetypeof().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>