<?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>Load and with</title><link>https://community.appian.com/discussions/f/administration/13651/load-and-with</link><description>Anybody can explain the difference between load and with functions?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Load and with</title><link>https://community.appian.com/thread/80099?ContentTypeID=1</link><pubDate>Sun, 07 Mar 2021 08:54:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c5a732c-7f59-4259-98b5-20070e5f56e7</guid><dc:creator>vinothkannar</dc:creator><description>&lt;p&gt;can u pls answer the below questions&lt;/p&gt;
&lt;p&gt;1.difference between QueryProcessAnalytics and queryEntities in Appian&lt;br /&gt;2.Explain about foreach function and Which case use in foreach?&lt;br /&gt;3.What is the difference between the Instance Process and Delete Process in Data management? &lt;br /&gt;4.When we go for Delete Process in Data Management? &lt;br /&gt;5.There are 100 members in Array,how to find 55 member and also want to replace 55 member to 65 member? &lt;br /&gt;6.What are the functions to trigger the flow in the interface itself? &lt;br /&gt;7.Explain about the Queries function and Which case used in the Queries ?&lt;br /&gt;8.What is the difference between Query Process Analytic and query Entities?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/62005?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 10:26:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db6c3c8c-d7a3-496b-aca2-0528abd40c55</guid><dc:creator>Dastagiri Dudekula</dc:creator><description>&lt;p&gt;load(): &lt;br /&gt; While loading the page, local variables value are assigned/mapped. This mapping happens only once.&lt;br /&gt; local variables associated with load are the used for storing the value if any internal calculation needed.&lt;br /&gt; with(): &lt;br /&gt; This function differs from the load() function because it recalculates the local variable values after every user interaction with the interface.&lt;br /&gt; A local variable may be defined with or without a value, and the value may be simple or complex. When a value is not defined, it&amp;#39;s assigned a null value.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; For further specific information with example follow the below Appian docs links&lt;br /&gt; &lt;a href="https://docs.appian.com/suite/help/18.3/fnc_evaluation_load.html"&gt;docs.appian.com/.../fnc_evaluation_load.html&lt;/a&gt;&lt;br /&gt; &lt;a href="https://docs.appian.com/suite/help/18.3/fnc_evaluation_with.html"&gt;docs.appian.com/.../fnc_evaluation_with.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/62001?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 09:40:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:47f49497-42b4-4e72-aa8f-431d4354bf2e</guid><dc:creator>PhilB</dc:creator><description>&lt;p&gt;It&amp;#39;s simply not true to say that load() is faster than with() - they are extremely similar functions that satisfy slightly different requirements. Neither one is any faster than the other, but incorrect use of with() &lt;em&gt;could&lt;/em&gt; cause your &lt;strong&gt;&lt;em&gt;interface&lt;/em&gt;&lt;/strong&gt; to perform poorly.&lt;/p&gt;
&lt;p&gt;Use of load() and with() as part of an &lt;strong&gt;&lt;em&gt;expression&lt;/em&gt;&lt;/strong&gt; makes no difference at all as far as speed is concerned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61999?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 08:29:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f46a977-57a7-4a7b-b970-c4876c8202e9</guid><dc:creator>yamunar0001</dc:creator><description>1. You can define multiple local variable either Inside load() or with() but you can&amp;#39;t perform save operation over the variables which &lt;br /&gt;
are defined inside with() whereas we can save the data into a variable which is defined inside load()&lt;br /&gt;
&lt;br /&gt;
2. Variables defined in load() instantiate for only once whereas variables defined in with() will be evaluated for each interaction &lt;br /&gt;
on form, like sort, search, input a value in field etc. However forcefully you can dynamically change the value of the variables defined on load() as well.&lt;br /&gt;
&lt;br /&gt;
3. Performance wise load() is faster than with() because of only once execution.&lt;br /&gt;
&lt;br /&gt;
4. Any consistent values should be maintained in the variables defined in load() where as maintain those variables in&lt;br /&gt;
 with() which are expected to change its value based on given input.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61998?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 08:19:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:50529cd1-c0fc-44ac-aa8e-256810285fe1</guid><dc:creator>ravalik</dc:creator><description>Hi tirumalar,&lt;br /&gt;
&lt;br /&gt;
Please find the below link for better understanding on load and with functions.&lt;br /&gt;
&lt;a href="https://community.appian.com/discussions/f/user-interface/13049/usage-of-load-within-with"&gt;community.appian.com/.../usage-of-load-within-with&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalik&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61996?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 06:38:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:731ee3e9-9bbc-4ac0-a0ea-e359ff433c71</guid><dc:creator>krishnau3863</dc:creator><description>Hi tirumalar0001&lt;br /&gt;
&lt;br /&gt;
1. You can define multiple local variable either Inside load() or with() but you can&amp;#39;t perform save operation over the variables which are defined inside with() whereas we can save the data into a variable which is defined inside load()&lt;br /&gt;
&lt;br /&gt;
2. Variables defined in load() instantiate for only once whereas variables defined in with() will be evaluated for each interaction on form, like sort, search, input a value in field etc. However forcefully you can dynamically change the value of the variables defined on load() as well.&lt;br /&gt;
&lt;br /&gt;
3. Performance wise load() is faster than with() because of only once execution.&lt;br /&gt;
&lt;br /&gt;
4. Any consistent values should be maintained in the variables defined in load() where as maintain those variables in with() which are expected to change its value based on given input.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Krishna.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61994?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 05:51:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15d90f1f-09ba-4d88-8187-5539c7849661</guid><dc:creator>Narmada</dc:creator><description>Load()&lt;br /&gt;
-&amp;gt;Define local variables within an expression for a SAIL interface and evaluate the expression with local variables.&lt;br /&gt;
-&amp;gt;Retrieve data sets once and not have to get multiple times in an expression.&lt;br /&gt;
-&amp;gt;We can also used to create variables that capturing same data just like any other variable on a form. However, these variables only store data for a length the user is looking and interacting with a screen. When the user freshers or leaves screen the data in the local variables deleted. &lt;br /&gt;
With()&lt;br /&gt;
-&amp;gt;Define local variables within a function and evaluate the expression with the new variables. &lt;br /&gt;
-&amp;gt;It recalculates the local variable values each time the expression is reevaluated.&lt;br /&gt;
-&amp;gt;The expression defined in load and with functions can also contain the other variables such as rule inputs and process variables etc.,&lt;br /&gt;
        ex:- load(local!a:1,local!a+rule!b) which returns 2(assuming the rule!b value as 1).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61993?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 05:40:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d450e57c-0306-41f8-8867-de3ade3c55e6</guid><dc:creator>Aswini </dc:creator><description>&lt;p&gt;Hi &lt;br /&gt; &lt;br /&gt; Please check these related posts&lt;br /&gt; &lt;a href="/discussions/f/user-interface/11603/load-and-with-function-difference/56363#56363"&gt;community.appian.com/.../56363&lt;/a&gt;&lt;br /&gt; &lt;a href="/discussions/f/user-interface/13049/usage-of-load-within-with"&gt;community.appian.com/.../usage-of-load-within-with&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Aswini&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61991?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 04:07:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62eb02ec-7251-49cc-9cf1-bddb9afc5733</guid><dc:creator>ravir0001</dc:creator><description>Load() function : a Local variable&amp;#39;s variable is only calculated the first time when the expression is evaluated. In other words you can also say, Load variables are evaluated only once when the form loads.&lt;br /&gt;
With() function : a local variable&amp;#39;s value is re-calculated when the expression is reevaluated.&lt;br /&gt;
Performance wise load() is faster than with() because of only one execution.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Ravi.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61983?ContentTypeID=1</link><pubDate>Sun, 28 Oct 2018 02:42:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf6126c5-9755-4d72-a992-08d8ab3c40f5</guid><dc:creator>rameshm468</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Please go through below link you will get more information&lt;br /&gt;
&lt;a href="https://community.appian.com/discussions/f/user-interface/11603/load-and-with-function-difference/56363#56363"&gt;community.appian.com/.../56363&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Load and with</title><link>https://community.appian.com/thread/61982?ContentTypeID=1</link><pubDate>Sat, 27 Oct 2018 18:09:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e206ac9-5b96-483c-a765-2de68845a4dc</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;a href="https://docs.appian.com/suite/help/18.3/fnc_evaluation_with.html"&gt;docs.appian.com/.../fnc_evaluation_with.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;In interfaces, this function differs from the load() function because it recalculates the local variable values after interactions. This recalculation always happens, even if the interaction&amp;#39;s updates could not have impacted the variable&amp;#39;s value. This means data queries and other slow operations in with() variables can have important performance impacts.&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>