<?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 ArcGIS Workflow Manager API - searchJobs method error in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-api-searchjobs-method/m-p/1257322#M1804</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are using ArcGIS enterprise version: 10.9.1 and&amp;nbsp;ArcGIS Workflow Manager API&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Created two jobs in WFM and created parent child relationship between two jobs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using 'ArcGIS Workflow Manager API', when we pass the child jobid to 'getJob' method, we are able to see 'parentJob' id in the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sirishb_0-1676097533512.png" style="width: 283px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62651i9EB78EE15FB4F996/image-dimensions/283x232?v=v2" width="283" height="232" role="button" title="sirishb_0-1676097533512.png" alt="sirishb_0-1676097533512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When we try to use 'searchJobs' method and pass the fields parameter with 'parentJob', getting error&lt;/P&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sirishb_1-1676097688117.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62652i46E16577AD82A529/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sirishb_1-1676097688117.png" alt="sirishb_1-1676097688117.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we exclude 'parentJob' in the fields parameter, getting results.&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;"fields"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN&gt;"jobId"&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;We are experiencing the same &lt;/FONT&gt;behavior when we use "&lt;A href="https://developers.arcgis.com/python/" target="_blank" rel="noopener"&gt;ArcGIS API for Python&lt;/A&gt;" also.&lt;/P&gt;&lt;P&gt;Is this expected behaviour.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431243"&gt;@JFarmer&lt;/a&gt;&amp;nbsp;...Any suggestions please. Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sirish&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 11 Feb 2023 07:57:21 GMT</pubDate>
    <dc:creator>sirishb</dc:creator>
    <dc:date>2023-02-11T07:57:21Z</dc:date>
    <item>
      <title>ArcGIS Workflow Manager API - searchJobs method error</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-api-searchjobs-method/m-p/1257322#M1804</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are using ArcGIS enterprise version: 10.9.1 and&amp;nbsp;ArcGIS Workflow Manager API&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Created two jobs in WFM and created parent child relationship between two jobs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using 'ArcGIS Workflow Manager API', when we pass the child jobid to 'getJob' method, we are able to see 'parentJob' id in the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sirishb_0-1676097533512.png" style="width: 283px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62651i9EB78EE15FB4F996/image-dimensions/283x232?v=v2" width="283" height="232" role="button" title="sirishb_0-1676097533512.png" alt="sirishb_0-1676097533512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When we try to use 'searchJobs' method and pass the fields parameter with 'parentJob', getting error&lt;/P&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sirishb_1-1676097688117.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62652i46E16577AD82A529/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sirishb_1-1676097688117.png" alt="sirishb_1-1676097688117.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we exclude 'parentJob' in the fields parameter, getting results.&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;"fields"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN&gt;"jobId"&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;We are experiencing the same &lt;/FONT&gt;behavior when we use "&lt;A href="https://developers.arcgis.com/python/" target="_blank" rel="noopener"&gt;ArcGIS API for Python&lt;/A&gt;" also.&lt;/P&gt;&lt;P&gt;Is this expected behaviour.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431243"&gt;@JFarmer&lt;/a&gt;&amp;nbsp;...Any suggestions please. Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sirish&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 Feb 2023 07:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-api-searchjobs-method/m-p/1257322#M1804</guid>
      <dc:creator>sirishb</dc:creator>
      <dc:date>2023-02-11T07:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Workflow Manager API - searchJobs method error</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-api-searchjobs-method/m-p/1257323#M1805</link>
      <description>&lt;P&gt;After spending a lot of time on this, found that&amp;nbsp;&lt;SPAN&gt;"parent_job" is returning valid results.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;e.g. "fields"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN&gt;"parent_job"&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Apparently "parentJob" was supposed/expected to work, as it was part for "getJob" API results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 08:04:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/arcgis-workflow-manager-api-searchjobs-method/m-p/1257323#M1805</guid>
      <dc:creator>sirishb</dc:creator>
      <dc:date>2023-02-11T08:04:59Z</dc:date>
    </item>
  </channel>
</rss>

