<?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 How to pass errors from a custom script into tasks? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-pass-errors-from-a-custom-script-into-tasks/m-p/779037#M33336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off I love Pro, especially tasks. Secondly, I have a task set up for editing street data and automatically calculating multiple of the fields. I added some error messages to the script to warn me when a selection is too large to continue, but I can't seem to get the error messages to pass through and be visible in the task. When I just run the tool I can see the error messages, but when I run it through the task I cant see the error. Non custom tools are giving me errors when they fail. Does anyone have experience with custom scripts used in tasks and if so how did you handle error messages? Any help would be appreciated I can't seem to find anything on this topic and I don't want to open up one of the tools provided by esri and pick it apart until I find what they do to pass errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 22:55:27 GMT</pubDate>
    <dc:creator>KevinSatterberg</dc:creator>
    <dc:date>2016-07-01T22:55:27Z</dc:date>
    <item>
      <title>How to pass errors from a custom script into tasks?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-pass-errors-from-a-custom-script-into-tasks/m-p/779037#M33336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First off I love Pro, especially tasks. Secondly, I have a task set up for editing street data and automatically calculating multiple of the fields. I added some error messages to the script to warn me when a selection is too large to continue, but I can't seem to get the error messages to pass through and be visible in the task. When I just run the tool I can see the error messages, but when I run it through the task I cant see the error. Non custom tools are giving me errors when they fail. Does anyone have experience with custom scripts used in tasks and if so how did you handle error messages? Any help would be appreciated I can't seem to find anything on this topic and I don't want to open up one of the tools provided by esri and pick it apart until I find what they do to pass errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 22:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-pass-errors-from-a-custom-script-into-tasks/m-p/779037#M33336</guid>
      <dc:creator>KevinSatterberg</dc:creator>
      <dc:date>2016-07-01T22:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass errors from a custom script into tasks?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-pass-errors-from-a-custom-script-into-tasks/m-p/779038#M33337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kevin,&lt;/P&gt;&lt;P&gt;It would be great to open a case with technical support. This will help the development team better understand the issue.&lt;/P&gt;&lt;P&gt;I assume you are using arcpy.AddMessage(...) and that the display area for the GP tool cannot be expanded to see the error message - can you please confirm?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 21:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-pass-errors-from-a-custom-script-into-tasks/m-p/779038#M33337</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2017-02-17T21:40:03Z</dc:date>
    </item>
  </channel>
</rss>

