<?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>want to disable a button using  and(expression1, expression2)</title><link>https://community.appian.com/discussions/f/general/19880/want-to-disable-a-button-using-and-expression1-expression2</link><description>Hi Team, 
 I have some data in array like Data=[[taskid=1,taskdone=true,comments=&amp;quot;ABCD&amp;quot;],[taskid=2,taskdone=false,comments=&amp;quot;XYZ&amp;quot;]] 
 Now I want to disable dynamically like, if in the array all indexes have taskdone=true, then only button will be enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: want to disable a button using  and(expression1, expression2)</title><link>https://community.appian.com/thread/77677?ContentTypeID=1</link><pubDate>Sun, 08 Nov 2020 08:11:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85fc10f4-c133-448c-b4ce-4e112fa9eaec</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;It think &amp;quot;not(and(local!data.taskdone))&amp;quot; should do it. Play a bit around to find the right combination. In general you can give and() any number of boolean values. Keep in mind that and() is not happy about null values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>