<?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>Upon clicking on an icon, a process model is called.</title><link>https://community.appian.com/discussions/f/user-interface/18464/upon-clicking-on-an-icon-a-process-model-is-called</link><description>Hi, 
 I added an icon column in my record type and I would like to whenever the user clicks on the icon, it calls a process model. Can someone give me some direction on how I can accomplish that? 
 This is what I have so far where it opens the record</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Upon clicking on an icon, a process model is called.</title><link>https://community.appian.com/thread/72697?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 15:50:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aaa1461b-7d73-414c-80f3-cbfe7572cca0</guid><dc:creator>robertab0001</dc:creator><description>&lt;p&gt;Thank you, Mike.&lt;/p&gt;
&lt;p&gt;It worked!&lt;/p&gt;
&lt;p&gt;Roberta&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upon clicking on an icon, a process model is called.</title><link>https://community.appian.com/thread/72680?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 13:54:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ada5f010-21e7-402f-ad13-1402dcdebad8</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You will want to look into&amp;nbsp;&lt;strong&gt;&lt;em&gt;a!startProcessLink()&lt;/em&gt;&lt;/strong&gt;.&amp;nbsp; This can be used, in conjunction with a process model (reference stored in a constant) to start pretty much whatever process you want - when a user clicks on it they will be taken to whatever interface(s) you have defined in that process model, then return to where they started (similar to a related action on a record).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upon clicking on an icon, a process model is called.</title><link>https://community.appian.com/thread/72676?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 12:55:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:be032890-3a1d-419b-ab6e-61b5738fb49b</guid><dc:creator>robertab0001</dc:creator><description>&lt;p&gt;Hi papreed0001,&lt;/p&gt;
&lt;p&gt;Thank you for your response. The icon is in a record type, part of a List definition.&lt;/p&gt;
&lt;p&gt;But I will check the dynamicLink function to see if I can use it in there.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Roberta&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upon clicking on an icon, a process model is called.</title><link>https://community.appian.com/thread/72667?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 05:28:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a703ccb6-d685-44e5-8acf-157d79f5cdf9</guid><dc:creator>papreed0001</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How it would be if you could use a!dynamicLink() instead of a!recordLink().&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;a!dynamicLink()&lt;/span&gt; has saveInto parameter, u can call a processmodel using it.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!exportId,
  {
    a!linkField(
      labelPosition: &amp;quot;COLLAPSED&amp;quot;,
      links: a!dynamicLink(
        label: &amp;quot;Render Excel File&amp;quot;,
        saveInto: {
          a!exportProcessReportToExcel(
            report: cons!REPORT,
            documentName: &amp;quot;Report &amp;quot; &amp;amp; now(),
            saveInFolder: cons!TARGET_FOLDER,
            onSuccess: a!save(
              local!exportId,
              fv!newDocument
            )
          )
        }
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>