<?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: Deleting Versions in a workflow in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249828#M530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Question, during the 'CleanUp' step is it posting changes to the parent version or is it only deleting the child version that was created? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 16:45:38 GMT</pubDate>
    <dc:creator>DanielJohns</dc:creator>
    <dc:date>2013-07-09T16:45:38Z</dc:date>
    <item>
      <title>Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249823#M525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue with the custom clean up step in WMX.&amp;nbsp; We have circumstances where at a database level versions created in WMX and pertaining to jobs are deleted.&amp;nbsp; In "clean up" We have arguments/v /m and they work fine, except when versions are deleted at a database level.&amp;nbsp; In that case an error message of "An error occurred while trying to execute this step.Version not found[VersionNameHere]" appears when executing a clean up step.&amp;nbsp; At this point we go into the jtx.jtx_jobs table and close the jobs manually.&amp;nbsp; To solve this I would like separate the m/ and v/ agruments into separate steps.&amp;nbsp; In the custom steps the argument for deleting a version is only in the "clean up" step as far as i'm aware.&amp;nbsp; I don't think putting in two clean up steps would be wise, so I need a to create a workflow step that deletes versions.&amp;nbsp; Any suggestions??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 19:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249823#M525</guid>
      <dc:creator>TimJacobsen</dc:creator>
      <dc:date>2012-01-05T19:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249824#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe there's an outstanding issue with Workflow Manager and the Clean Up step in certain cases.&amp;nbsp; If you close Workflow Manager after the step fails, then restart it and re-run the step, does the step then run successfully?&amp;nbsp; (This obviously isn't a great workaround, but it might at least confirm whether you're seeing the same issue or a different one.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 00:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249824#M526</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2012-01-06T00:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249825#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand your problem correctly, I would suggest utilizing the "Check Version" step first: JTXSteps.VersionExists Then if version exists, the workflow could advance to a step that cleans up both: /v /m If the version has been deleted, the workflow would advance to a clean up step for map only: /m&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my workflows, I use a "Clean Up Map" and "Clean Up Version" steps that are completely seperate from one another and haven't experienced any issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 13:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249825#M527</guid>
      <dc:creator>AshleyMott</dc:creator>
      <dc:date>2012-01-06T13:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249826#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@ Brian -&amp;nbsp; I think our were seeing a different issue.&amp;nbsp; When I close Workflow Manager after the step fails, then restart it and re-run the step the same error message reoccurs.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@ Ashley - Thank you for confirming it is ok to run two clean up steps!&amp;nbsp; Previously we had "clean up" with /v /m as our last step and it closed jobs, since it was the last step I imagine.&amp;nbsp; I wasn't sure where the line between the functionality of the "clean up" step and "Close Job" was.&amp;nbsp; E.g. when I threw two "clean up" steps in a workflow (one being the last step in the workflow)&amp;nbsp; without a close job step the jobs would not close. I was able to implement the check version with multiple clean steps, a close Job step, and it works great!&amp;nbsp; Again, Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 15:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249826#M528</guid>
      <dc:creator>TimJacobsen</dc:creator>
      <dc:date>2012-01-09T15:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249827#M529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope things are going well for you and the team.&amp;nbsp; Here's some additional insight.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CleanUp step that comes with WMX has three arguments: /v /m /a.&amp;nbsp; These are all optional and represent the cleanup of the job version, the mxd, and the attachments.&amp;nbsp; You could have three separate cleanup steps that removes each of these items separately if you wanted to.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is important to be careful with using the VersionExists step.&amp;nbsp; This step does not actually look and see if there is a database version in your Data Workspace.&amp;nbsp; Instead, it looks at the WMX tables in order to determine if WMX is aware of a Job Version.&amp;nbsp; If you delete a job's version using the CleanUp step, WMX will automatically become aware that the Job's Version no longer exists.&amp;nbsp; However, if you delete the Job Version using ArcCatalog, WMX is not aware and the VersionExists steps will still return 'True'.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far as closing jobs is concerned, there is a WMX System Setting to automatically close jobs when the workflow is complete.&amp;nbsp; This is set on by default:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]11228[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 16:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249827#M529</guid>
      <dc:creator>JeremyMirmelstein</dc:creator>
      <dc:date>2012-01-17T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249828#M530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Question, during the 'CleanUp' step is it posting changes to the parent version or is it only deleting the child version that was created? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 16:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249828#M530</guid>
      <dc:creator>DanielJohns</dc:creator>
      <dc:date>2013-07-09T16:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249829#M531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clean up does not post the child version back to the parent, it deletes the current job version, job map document and job attachments based on the arguments specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will be posting a model builder example to &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/communities/workflow-manager/"&gt;http://resources.arcgis.com/en/communities/workflow-manager/&lt;/A&gt;&lt;SPAN&gt; this month though that can be used to post the job version back to the parent, so please keep an eye out for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 23:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249829#M531</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-07-15T23:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Versions in a workflow</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249830#M532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;Clean up does not post the child version back to the parent, it deletes the current job version, job map document and job attachments based on the arguments specified.&lt;BR /&gt;&lt;BR /&gt;We will be posting a model builder example to &lt;A href="http://resources.arcgis.com/en/communities/workflow-manager/"&gt;http://resources.arcgis.com/en/communities/workflow-manager/&lt;/A&gt; this month though that can be used to post the job version back to the parent, so please keep an eye out for that.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Michael&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Great, thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 15:31:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/deleting-versions-in-a-workflow/m-p/249830#M532</guid>
      <dc:creator>DanielJohns</dc:creator>
      <dc:date>2013-07-16T15:31:35Z</dc:date>
    </item>
  </channel>
</rss>

