<?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 Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/discussions/f/general/37975/button-click-boolean-not-getting-captured-property-in-process-model-process-variable</link><description>I have an Interface with Cancel and Submit button. This interface also has Rule Inputs defined for Cancel and Submit. I also had defined a process model for this Interface. I have kept the process model screenshot as well to this. When I am testing the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142963?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 00:24:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d6894fd-6668-4bdf-851d-69b0bb444898</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;if it has helped, please upvote the answer so that it can help others&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142904?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 14:40:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:22f6b5c0-b6af-49b8-b901-8fdec97e8fff</guid><dc:creator>maheshg821223</dc:creator><description>&lt;p&gt;Thank you &lt;a href="/members/gayatria0439"&gt;gayatria0439&lt;/a&gt;&amp;nbsp;. Appreciate the help here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142884?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 06:22:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ec4bc7f-d01a-4f8f-875c-eaa5fe341cdb</guid><dc:creator>gayatria0439</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/maheshg821223"&gt;maheshg821223&lt;/a&gt;&amp;nbsp;, I have reviewed your code and noticed that you have used a rule input in place of the value. Instead, you should provide a value that can either be a text(string format) (e.g., &amp;#39;Cancel&amp;#39; or &amp;#39;Submit&amp;#39;) or a Boolean value (True/False), depending on your requirements. This value will be saved in your rule input as soon as the button is clicked. So, You can then implement the logic, such as: if Cancel = true, proceed to the end node, or if Cancel = &amp;#39;Cancel&amp;#39;, proceed to the end node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142879?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 02:57:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90e7b982-9330-422e-8f41-de63ee93c9d6</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/maheshg821223"&gt;maheshg821223&lt;/a&gt;&amp;nbsp; if your query is resolved , please verify the answer and close this thread&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142856?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 13:56:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d69c9da4-48c7-42a5-8cbc-8dddca8c4ea4</guid><dc:creator>maheshg821223</dc:creator><description>&lt;p&gt;Thank you Abhishek.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142855?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 13:55:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:390e9408-334c-4b66-9d2a-f149c234617a</guid><dc:creator>maheshg821223</dc:creator><description>&lt;p&gt;Thank you Kumar, your suggestion worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142822?ContentTypeID=1</link><pubDate>Sun, 17 Nov 2024 09:01:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66f7693d-cec8-4b3b-811e-5d622b94a9f4</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;Buttons work differently then input fields. In Input fields you enter a value which gets saved in parameter passed in saveinto. Same value gets displayed when you pass that parameter in value part&lt;/p&gt;
&lt;p&gt;For Buttons you pass the value which gets save into paramater set in saveinto,&lt;/p&gt;
&lt;p&gt;In your case, you would only need one ruleinput, which is ri!cancel&lt;/p&gt;
&lt;p&gt;code should look like this&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;a!buttonWidget(
      label: &amp;quot;submit&amp;quot;,
      value: false,
      saveInto: ri!cancel,
      submit: true()
    ),
    a!buttonWidget(
      label: &amp;quot;cancel&amp;quot;,
      value: true,
      saveInto: ri!cancel,
      submit: true(),
      //Validate as false so that you can avoid checking required fields validation/
      validate:false
      
    )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This way in your xor gate you can use pv!cancel to determine which path to take.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Click Boolean not getting captured property in Process Model Process Variable</title><link>https://community.appian.com/thread/142817?ContentTypeID=1</link><pubDate>Sat, 16 Nov 2024 04:00:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8b27d32-5539-43b0-a6d8-2daa51740ca8</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/maheshg821223"&gt;maheshg821223&lt;/a&gt;&amp;nbsp; In your submit and cancel buttons, you must assign a value to the parameter. The value will be saved in your `ri!` variable when you click the button. I have included the code for reference. Depending on your saving rule input type, the value parameter can either be a text value or a boolean.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!buttonWidget(
      label: &amp;quot;submit&amp;quot;,
      value: &amp;quot;Submit&amp;quot;,
      saveInto: ri!submit,
      submit: true()
    ),
    a!buttonWidget(
      label: &amp;quot;cancel&amp;quot;,
      value: &amp;quot;Cancel&amp;quot;,
      saveInto: ri!cancel,
      submit: true()
    )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>