<?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 Filtering value fields with Python Script Tool in Geoprocessing service in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/filtering-value-fields-with-python-script-tool-in/m-p/1194524#M65044</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Im trying to publish a script tool to a geoprocessing service whose values are dependent on one another. I have a field that has "State" and another field that is dependent on it to choose a list of weather stations filtered by that state (values are filtered using the updateparameters validation function. . Is there a best practice way to do this? I have not been able to get the filtering value function to work within the geoprocessing widget in WAB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 17:25:15 GMT</pubDate>
    <dc:creator>ZachPorteous</dc:creator>
    <dc:date>2022-07-21T17:25:15Z</dc:date>
    <item>
      <title>Filtering value fields with Python Script Tool in Geoprocessing service</title>
      <link>https://community.esri.com/t5/python-questions/filtering-value-fields-with-python-script-tool-in/m-p/1194524#M65044</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Im trying to publish a script tool to a geoprocessing service whose values are dependent on one another. I have a field that has "State" and another field that is dependent on it to choose a list of weather stations filtered by that state (values are filtered using the updateparameters validation function. . Is there a best practice way to do this? I have not been able to get the filtering value function to work within the geoprocessing widget in WAB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 17:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/filtering-value-fields-with-python-script-tool-in/m-p/1194524#M65044</guid>
      <dc:creator>ZachPorteous</dc:creator>
      <dc:date>2022-07-21T17:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering value fields with Python Script Tool in Geoprocessing service</title>
      <link>https://community.esri.com/t5/python-questions/filtering-value-fields-with-python-script-tool-in/m-p/1196733#M65079</link>
      <description>&lt;P&gt;If I follow your post correctly, I am not sure you can implement a value dependency like that in the same service. You'll have to send the first request with the state to get the weather station list and then process that result for the follow-on geoprocessing service. I could be wrong, but when the tool is converted to a geoprocessing service, it doesn't implement the class/ rules laid out in the validation class.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/filtering-value-fields-with-python-script-tool-in/m-p/1196733#M65079</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-07-28T13:37:33Z</dc:date>
    </item>
  </channel>
</rss>

