<?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>Pop up on clicking Related Action button</title><link>https://community.appian.com/discussions/f/general/18326/pop-up-on-clicking-related-action-button</link><description>I have a requirement to show pop on clicking the related action button. The scenario is to &amp;quot;Cancel the request&amp;quot;, when user clicks on that related action, pop up should show?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pop up on clicking Related Action button</title><link>https://community.appian.com/thread/72144?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 16:06:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:873be655-4fd9-4a87-820c-936f08d95389</guid><dc:creator>varunkumarb0001</dc:creator><description>&lt;p&gt;thanks &lt;a href="/members/juergeng393"&gt;juergeng393&lt;/a&gt;, it worked...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pop up on clicking Related Action button</title><link>https://community.appian.com/thread/72143?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 15:28:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2990c19-4915-4f14-881f-f3d852b2869f</guid><dc:creator>varunkumarb0001</dc:creator><description>&lt;p&gt;thanks &lt;a href="/members/manuelh0002"&gt;ManuelHTG&lt;/a&gt;, putting a button approach worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pop up on clicking Related Action button</title><link>https://community.appian.com/thread/72141?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 14:46:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:015b5df9-f5b8-426b-b09b-59ddae6cd3a0</guid><dc:creator>juergeng393</dc:creator><description>&lt;p&gt;On the related action you have to call a process model with a start form enabled. This start form just shows the warning message with the possibility to cancel the request. Exactly the way as ManuelHTG suggested.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;=a!formLayout(
  label: if(
    isnull(ri!record.title),
    &amp;quot;Delete?&amp;quot;,
    &amp;quot;Delete &amp;quot; &amp;amp; ri!record.title &amp;amp; &amp;quot;?&amp;quot;
  ),
  instructions: &amp;quot;&amp;quot;,
  contents: {
    a!paragraphField(
      labelPosition: &amp;quot;COLLAPSED&amp;quot;,
      readOnly: true,
      value: &amp;quot;Submitting this form will delete your record. The data will no longer exist or be visible.

After deletion, it is recommended to return to the records list, as this record will become unavailable.&amp;quot;
    )
  },
  buttons: a!buttonLayout(
    primaryButtons: {
      a!buttonWidgetSubmit(
        label: &amp;quot;Delete&amp;quot;,
        style: &amp;quot;PRIMARY&amp;quot;,
        confirmMessage: &amp;quot;Are you sure you want to delete this record? This action cannot be undone.&amp;quot;
      )
    },
    secondaryButtons: {
      a!buttonWidgetSubmit(
        label: &amp;quot;Cancel&amp;quot;,
        style: &amp;quot;NORMAL&amp;quot;,
        value: true,
        saveInto: ri!cancel,
        skipValidation: true
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pop up on clicking Related Action button</title><link>https://community.appian.com/thread/72139?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 14:39:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09f75e02-145b-4716-a37e-1ea40969225c</guid><dc:creator>ManuelHTG</dc:creator><description>&lt;p&gt;On the related action you cannot do it directly, but you can do on the submission.&lt;/p&gt;
&lt;p&gt;I would fake the pop-up, so basically the related action should call an interface that says &amp;quot;Are you sure you want to cancel the request?&amp;quot; - and then a submit to confirm or a cancel to not delete.&lt;/p&gt;
&lt;p&gt;Otherwise, you can have a button on the record with a &amp;quot;a!buttonWidged&amp;quot;, with &amp;quot;confirmMessage&amp;quot; field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>