<?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 Re: Update WFM Job from API REST not work in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/update-wfm-job-from-api-rest-not-work/m-p/1357016#M1977</link>
    <description>&lt;P&gt;Hello! Unfortunately one of the limitations of the REST documentation is that it displays only the most up to date version. The feature you are attempting to use was introduced at 11.1.&lt;/P&gt;&lt;P&gt;Your use case of associating a new job with an existing version has been considered, and we introduced the &lt;A href="https://enterprise.arcgis.com/en/workflow/11.1/help/set-job-version.htm" target="_self"&gt;Set Job Version step&lt;/A&gt; with 11.1 so that you could associate an existing version with a job. This can also be used with &lt;A href="https://enterprise.arcgis.com/en/workflow/11.1/help/claim-version.htm" target="_self"&gt;Claim Version&lt;/A&gt; if you need to transfer version ownership.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 18:17:22 GMT</pubDate>
    <dc:creator>SamWest1</dc:creator>
    <dc:date>2023-12-05T18:17:22Z</dc:date>
    <item>
      <title>Update WFM Job from API REST not work</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/update-wfm-job-from-api-rest-not-work/m-p/1354536#M1968</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;i need to take a existing job and update it with a version name.&lt;/P&gt;&lt;P&gt;Reading the documentation i have seen that i can do it using "&lt;SPAN&gt;versions&lt;/SPAN&gt;" parameter into post request, like in this link:&amp;nbsp;&lt;A href="https://developers.arcgis.com/workflow-manager/api-reference/rest/update-job/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/workflow-manager/api-reference/rest/update-job/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The response of request is true and my payload:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"versions": [
    {
      "versionName": "XXXXXX.VERS_IN_USE"
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when i run the getJobs request, into response the parameter "activeVersions" is a empty array, instead i should see the versione name that i have passed before.&lt;/P&gt;&lt;P&gt;I'm using ArcGIS WFM 10.9.1.&lt;/P&gt;&lt;P&gt;The documentation is correct? I need to do something other or how i can modify the activeVersions?&lt;/P&gt;&lt;P&gt;It's possibile to create a new job and associate him with a existing version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 15:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/update-wfm-job-from-api-rest-not-work/m-p/1354536#M1968</guid>
      <dc:creator>gis_grow</dc:creator>
      <dc:date>2023-11-29T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update WFM Job from API REST not work</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/update-wfm-job-from-api-rest-not-work/m-p/1357016#M1977</link>
      <description>&lt;P&gt;Hello! Unfortunately one of the limitations of the REST documentation is that it displays only the most up to date version. The feature you are attempting to use was introduced at 11.1.&lt;/P&gt;&lt;P&gt;Your use case of associating a new job with an existing version has been considered, and we introduced the &lt;A href="https://enterprise.arcgis.com/en/workflow/11.1/help/set-job-version.htm" target="_self"&gt;Set Job Version step&lt;/A&gt; with 11.1 so that you could associate an existing version with a job. This can also be used with &lt;A href="https://enterprise.arcgis.com/en/workflow/11.1/help/claim-version.htm" target="_self"&gt;Claim Version&lt;/A&gt; if you need to transfer version ownership.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 18:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/update-wfm-job-from-api-rest-not-work/m-p/1357016#M1977</guid>
      <dc:creator>SamWest1</dc:creator>
      <dc:date>2023-12-05T18:17:22Z</dc:date>
    </item>
  </channel>
</rss>

