<?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>How can i include process model in interface</title><link>https://community.appian.com/discussions/f/process/22514/how-can-i-include-process-model-in-interface</link><description>my code is correct? let me know if any changes required... 
 my requirement is - if cr_app_la_all_processs_model process model is running then don&amp;#39;t show that add projects link if not listed process model then show the add project link 
 can anyone let</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can i include process model in interface</title><link>https://community.appian.com/thread/88023?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 16:22:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32f620e1-3de0-4c24-bf81-b13e7f01fa0b</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Your code fails for one very simple reason:&lt;/p&gt;
&lt;p&gt;a!startProcess() starts a process asynchronously, thus it will not complete before your SAIL re-evaluates.&amp;nbsp; This means you can&amp;#39;t return any process variables; you can&amp;#39;t return anything.&amp;nbsp; You have a!startProcess() as the first parameter of your if() statement, and the first parameter of if() must return either true or false.&amp;nbsp; Yours returns nothing, and must return nothing.&amp;nbsp; So it can&amp;#39;t be the first parameter of your if().&lt;/p&gt;
&lt;p&gt;That&amp;#39;s why it&amp;#39;s not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i include process model in interface</title><link>https://community.appian.com/thread/88005?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 10:27:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:616f249d-d46d-49df-a267-0b87d8a61ad3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This does not work. a!startProcess would start a process. You can not use it to fetch information about a running instance.&lt;/p&gt;
&lt;p&gt;For this you would use process reporting and queryProcessAnalytics(). This is well documented.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>