<?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>Button</title><link>https://community.appian.com/discussions/f/user-interface/22398/button</link><description>how can I get my button to return to the first screen, if I create a local variable with name 
 local!currentStep: 1, 
 a!buttonArrayLayout( buttons: { a!buttonWidget( label: &amp;quot;Atras&amp;quot;, size: &amp;quot;SMALL&amp;quot;, width: &amp;quot;FILL&amp;quot;, style: &amp;quot;NORMAL&amp;quot;, value: local!currentStep</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Button</title><link>https://community.appian.com/thread/87693?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 12:16:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61890c02-661d-4699-8b0f-b1a03511182c</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;I find this less and less used given you can simulate this kind of activity within a single SAIL form...but I guess there maybe reasons when you need to inject functionality between two &amp;quot;forms&amp;quot; which would be better placed in the process, so it&amp;#39;s always worth having this in your toolkit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button</title><link>https://community.appian.com/thread/87692?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 11:57:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5aa7598b-02c2-4edf-8478-0f1bbd659f42</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;yes, i often forget about that function. valuable comment :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button</title><link>https://community.appian.com/thread/87691?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 11:53:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d695286e-ee68-4ae3-aa00-e397284614aa</guid><dc:creator>sureshgunawardane</dc:creator><description>&lt;p&gt;You can build a simple screen flow if there is not much processing need to happen between two screens, and use buttons as necessary to move forward and back and submit. Appian provides all the functionalities to facilitate this behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button</title><link>https://community.appian.com/thread/87681?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 08:39:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9ddf80a-ad6a-4cf7-974e-8af5d8b0fc0d</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Note that if you use a!formLayout() - which comes with navigation buttons bundled into it - you can also use the &amp;#39;&lt;span&gt;Allow users to step back to this node from the next chained activity.&amp;#39; setting (on the &amp;#39;Other&amp;#39; tab)&amp;nbsp;&lt;/span&gt;on the User Interface nodes where Appian will automatically add a &amp;#39;Go Back&amp;#39; navigation button for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button</title><link>https://community.appian.com/thread/87670?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 07:18:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72a6aee6-9763-4fdc-b357-9e9ff4287dbd</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;Hi aliciam,&lt;/p&gt;
&lt;p&gt;welcome in the community:&lt;/p&gt;
&lt;p&gt;1.) try to use the insert code function below yourt textfield. it makes it way easier to read code.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!buttonArrayLayout(
    buttons: {
        a!buttonWidget(
            label: &amp;quot;Atras&amp;quot;,
            size: &amp;quot;SMALL&amp;quot;,
            width: &amp;quot;FILL&amp;quot;,
            style: &amp;quot;NORMAL&amp;quot;,
            value: local!currentStep - 1,
            saveInto: local!currentStep,
            showWhen: or( local!currentStep = {1,3} )
        )
    },
    align: &amp;quot;START&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if the first screen is another form, you need to submit your current form and build a loop in your process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>