<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Issue with a conditional statement  inPython with value taken from a check box in Dev Space</title>
    <link>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/852397#M1678</link>
    <description>&lt;P&gt;I have a flow where we have a checkbox and it become either True or False depending on when its checked. That value is fed to a variable in python called&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;toggle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script that says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if toggle == True:&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sometimes when Toggle is True it read as toggle being False. I find that switching to:&lt;/P&gt;&lt;P&gt;if toggle:&amp;nbsp;&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fixes it temporarily but then after a few runs that breaks and I have to revert back. What am I doing wrong here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a little output file that outputs the value of the toggle variable in excel it comes up as True when I have it checked and False when its not checked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 19:19:47 GMT</pubDate>
    <dc:creator>nshapir2</dc:creator>
    <dc:date>2021-12-02T19:19:47Z</dc:date>
    <item>
      <title>Issue with a conditional statement  inPython with value taken from a check box</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/852397#M1678</link>
      <description>&lt;P&gt;I have a flow where we have a checkbox and it become either True or False depending on when its checked. That value is fed to a variable in python called&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;toggle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script that says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if toggle == True:&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sometimes when Toggle is True it read as toggle being False. I find that switching to:&lt;/P&gt;&lt;P&gt;if toggle:&amp;nbsp;&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fixes it temporarily but then after a few runs that breaks and I have to revert back. What am I doing wrong here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a little output file that outputs the value of the toggle variable in excel it comes up as True when I have it checked and False when its not checked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 19:19:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/852397#M1678</guid>
      <dc:creator>nshapir2</dc:creator>
      <dc:date>2021-12-02T19:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a conditional statement  inPython with value taken from a check box</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/853229#M1682</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/283824"&gt;@nshapir2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please attach your workflow / a scaled down version of your workflow identifying the issue?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;TheOC&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 09:36:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/853229#M1682</guid>
      <dc:creator>TheOC</dc:creator>
      <dc:date>2021-12-06T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a conditional statement  inPython with value taken from a check box</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/853336#M1685</link>
      <description>&lt;P&gt;Sure. &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/188516"&gt;@TheOC&lt;/a&gt;&amp;nbsp; See attached.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:40:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Issue-with-a-conditional-statement-inPython-with-value-taken/m-p/853336#M1685</guid>
      <dc:creator>nshapir2</dc:creator>
      <dc:date>2021-12-07T16:40:43Z</dc:date>
    </item>
  </channel>
</rss>

