<?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>a!buttonWidget to execute various functions</title><link>https://community.appian.com/discussions/f/general/20493/a-buttonwidget-to-execute-various-functions</link><description>Hello, 
 When I press a button right now it generates a excel file but I want at the same time to generate the excel file and also execute stored procedure, is there such a way, with one click of the button ? 
 
 a!buttonArrayLayout( a!buttonWidget( label</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!buttonWidget to execute various functions</title><link>https://community.appian.com/thread/79910?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:35:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42220230-0e84-40a8-9e76-6efe5ab3925a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;&lt;em&gt;a!startProcessLink()&lt;/em&gt; is a different function than &lt;em&gt;a!startProcess()&lt;/em&gt;.&amp;nbsp; You would want to use a!startProcess() in this case, where your intention is for the user to stay on their current form and eventually be given a downloadable link to a generated file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!buttonWidget to execute various functions</title><link>https://community.appian.com/thread/79909?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:30:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2fdcfb0-12cb-424b-bae7-7ee51e0e9480</guid><dc:creator>Vladimir Vasilev</dc:creator><description>&lt;p&gt;Ok that helped alot I have changed to use&amp;nbsp;buttonWidget where I can use startProcess and now it works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!buttonWidget to execute various functions</title><link>https://community.appian.com/thread/79908?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:23:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9f68ad3-a293-4bfb-919f-716ddf64c345</guid><dc:creator>Vladimir Vasilev</dc:creator><description>&lt;p&gt;I am using&amp;nbsp;a!startProcessLink dont&amp;#39; see OnSucess parameted for this function. Is it something else that have to be used in order to be able to get onSucess ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!buttonWidget to execute various functions</title><link>https://community.appian.com/thread/79907?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:13:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8853834d-0838-4001-bf8c-45c2ae5783ec</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you enable chaining in the process model? If you chain up to the node which creates the file, this value will be available inside onSucess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!buttonWidget to execute various functions</title><link>https://community.appian.com/thread/79906?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:03:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a7bef09-67d0-4138-9e85-9a6c35f89e1d</guid><dc:creator>Vladimir Vasilev</dc:creator><description>&lt;p&gt;because it is the same process as the other case earlier, In the process I can generate the file and everything but does not have an option to download it after. Process is not returning&amp;nbsp; generated file ID to be used in download link.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!buttonWidget to execute various functions</title><link>https://community.appian.com/thread/79905?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:01:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74224ad5-ae87-441a-9b67-9eeb82be10b1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Why not just start a process and do anything you like? a!startProcess()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>