<?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>Call a process model using a button, is it possible?</title><link>https://community.appian.com/discussions/f/general/20526/call-a-process-model-using-a-button-is-it-possible</link><description>a!richTextDisplayField( value: { a!richTextItem( text: &amp;quot;Create New Ticket&amp;quot;, link: a!startProcessLink( label: &amp;quot;Create New Ticket&amp;quot;, processModel: cons!PM_TESTPTS, &amp;lt;-- Able to call process model bannerMessage: &amp;quot;Updated details for &amp;quot; ), style: &amp;quot;STRONG&amp;quot;, color</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/102507?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 11:14:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15d2ecf6-9d8b-4849-8299-8eeec2158f53</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not in a button, only as a link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/102505?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 11:09:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:589a6064-9be6-4a9e-833b-f1b89c3ddd2d</guid><dc:creator>Aaryan</dc:creator><description>&lt;p&gt;Can a!startProcessLink be used in button widget&amp;#39;s saveInto parameter? Or does it only work&amp;nbsp;with link components?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80136?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 07:26:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ed7d12b-573a-4574-b0fd-a6af359b9fd2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. Please check the documentation for&amp;nbsp;the type of each parameter.&lt;/p&gt;
&lt;p&gt;processParameters must be a dictionary but not an empty string&lt;/p&gt;
&lt;p&gt;onSuccess and onError must be null or a list of a!save() but not just a string.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80135?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 07:23:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6dfc192-746e-44b3-8d4c-0e68b6db29b5</guid><dc:creator>Deepak Shinde</dc:creator><description>&lt;p&gt;This is my syntax but not getting any error,&lt;/p&gt;
&lt;p&gt;a!formLayout(&lt;br /&gt; buttons: a!buttonLayout(&lt;br /&gt; primaryButtons: {&lt;br /&gt; a!buttonWidget(&lt;br /&gt; label: &amp;quot;Create New Ticket&amp;quot;,&lt;br /&gt; value:&amp;quot;&amp;quot;,&lt;br /&gt; saveInto: a!startProcess(&lt;br /&gt; processModel:cons!PM_TESTPTS, &lt;br /&gt; processParameters:&amp;quot;&amp;quot;,&lt;br /&gt; onSuccess :&amp;quot;Ok&amp;quot;,&lt;br /&gt; onError :&amp;quot;Not Found&amp;quot;&lt;br /&gt; ) ) }&lt;br /&gt; ) )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80133?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 07:17:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:47fa4b2b-585b-499f-87e2-23319677e39f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Please paste what you tried and I will have a look. Also I need to know what the actual error was.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80132?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 07:13:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b316cff6-9af2-460d-befb-f2e70e33b829</guid><dc:creator>Deepak Shinde</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;The above syntax i tried its not working, could you please test sample code and give me syntax?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Deepak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80129?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 15:50:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c937f4b0-6ac3-4363-bcd2-8657256b9435</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you&amp;#39;re wanting the user to flow into a task in the process instance you&amp;#39;re starting from this action, you must use a link and a!startProcessLink.&amp;nbsp; A button can not do this.&amp;nbsp; However if you&amp;#39;re just trying to kick off a process that runs in the background, you can use a!startProcess (as pointed out already by Stefan) in either a button OR a (Dynamic) Link, basically interchangeably.&amp;nbsp; You haven&amp;#39;t really clarified what your use case and desired User Experiences are.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80124?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 10:52:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d12077f-a3a6-4731-9ce8-2dcdef6b05ae</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Following&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.1/Start_Process_Smart_Service.html#a!startprocess()"&gt;https://docs.appian.com/suite/help/21.1/Start_Process_Smart_Service.html#a!startprocess()&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;you will end with something like:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!buttonWidget(
  saveInto: a!startProcess(
    .
    .
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/80123?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 10:47:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de2c6d77-ef1c-4b98-babf-a1ec6a6308a8</guid><dc:creator>Deepak Shinde</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;I tried below syntax, could you please help with syntax to start process mmodel using button?&lt;/p&gt;
&lt;p&gt;a!startProcess(&lt;br /&gt; processModel:cons!PM_TESTPTS, &lt;br /&gt; processParameters:{},&lt;br /&gt; onSuccess :&amp;quot;Ok&amp;quot;,&lt;br /&gt; onError :&amp;quot;Not Found&amp;quot;&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;And&lt;/p&gt;
&lt;p&gt;a!buttonWidget:{&lt;/p&gt;
&lt;p&gt;value:&lt;span&gt;a!startProcess()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Deepak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call a process model using a button, is it possible?</title><link>https://community.appian.com/thread/79983?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 06:49:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a3adcaf-8254-405a-820c-59f76bdb66ef</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You are aware of&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/20.4/Start_Process_Smart_Service.html#a!startprocess()"&gt;https://docs.appian.com/suite/help/20.4/Start_Process_Smart_Service.html#a!startprocess()&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>