<?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>Clearing Validations Array</title><link>https://community.appian.com/discussions/f/user-interface/10969/clearing-validations-array</link><description>I have a search button, which gives me search results in a grid and then I select one of those results and hit another button. During this second button click, I have some validations in a validation array for that grid. Now the search button and the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Clearing Validations Array</title><link>https://community.appian.com/thread/47960?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 04:53:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:789eb0ee-95f5-445c-81e0-94f2b250bd53</guid><dc:creator>Krishna Chaitanya</dc:creator><description>hi aneeshv713,&lt;br /&gt;
as ashokv said,take one local variable ,&lt;br /&gt;
1)when you click  search button make that local variable as true() ,after second button click make that local variable as false()&lt;br /&gt;
2)configure first  search button validation parameter  with that local variable.&lt;br /&gt;
   validate:if(&lt;br /&gt;
        local!buttonAction,&lt;br /&gt;
        true,&lt;br /&gt;
        false&lt;br /&gt;
        &lt;br /&gt;
      )&lt;br /&gt;
&lt;br /&gt;
that means the ,this button performs validation only if it is true,(on second button click you are doing local variable as false so the first search button  validation  wont work  )&lt;br /&gt;
&lt;br /&gt;
hope this will help you...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clearing Validations Array</title><link>https://community.appian.com/thread/47959?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 02:03:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca5e1323-1b7e-480c-918d-d45cc7864859</guid><dc:creator>ashokv</dc:creator><description>I think you can create a local boolean variable and turn it On/Off wherever you req. In the validation parameter, you can use an &amp;#39;if&amp;#39; condition to do validations only if the local boolean variable is true. Make the local boolean variable false and validation array as null when the grid button is clicked in the saveInto parameter. Or perform validation if the validation array is not null. And as mentioned, make it null, on click of grid button. &lt;br /&gt;
If you can put ur code snippet...Appian practitioners will be able to assist you easily.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>