<?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: How to delete a job? in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404820#M803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, I see.&amp;nbsp; In that case, no, the administration utilities most likely won't help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's definitely a REST interface for deleting jobs, though I don't have a code example at the ready.&amp;nbsp; I'm not sure if the Flex sample viewer includes an object/class for managing jobs.&amp;nbsp; However, even if it doesn't, I'd at least expect the behavior of "DeleteJobs" to be consistent with that of the other calls you're making to Workflow Manager Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...not sure if that helps...?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 11:51:30 GMT</pubDate>
    <dc:creator>BrianDemers</dc:creator>
    <dc:date>2011-07-28T11:51:30Z</dc:date>
    <item>
      <title>How to delete a job?</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404817#M800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to ask is it possible to delete a job using some standart tool of Workflow manager like &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;Model.instance.workflowManagerTask&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;in my source&lt;/STRONG&gt;&lt;SPAN&gt; code or I need to make a queryTask to related tables in my JTX database. And if the case is to make a queryTask so which tables should be affected? I think it won't be only the table "JTX_JOBS", will it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 12:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404817#M800</guid>
      <dc:creator>EvgeniaKaradjova</dc:creator>
      <dc:date>2011-07-27T12:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a job?</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404818#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're coding in ArcObjects, then the C# version will look something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
int jobId;

// Set your job ID to the ID of the job to be deleted

IJTXJobManager jobManager = m_ipDatabase.JobManager;
jobManager.DeleteJob(jobId, true);
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;There's also a "DeleteJob" GP tool included with the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/gallery/file/workflow-manager/details?entryID=07ACE260-1422-2418-88BE-9738709D2F23" rel="nofollow noopener noreferrer" target="_blank"&gt;Workflow Manager Administration Utilities&lt;/A&gt;&lt;SPAN&gt;, if you'd like to do this from a Python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that helps.&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>Sat, 11 Dec 2021 18:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404818#M801</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2021-12-11T18:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a job?</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404819#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I am using flex and Workflow manager in its web version is my subject of action. So will Workflow Manager Administration Utilities be helpful about my purposes? Shall I download these utilities?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:32:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404819#M802</guid>
      <dc:creator>EvgeniaKaradjova</dc:creator>
      <dc:date>2011-07-28T09:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a job?</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404820#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, I see.&amp;nbsp; In that case, no, the administration utilities most likely won't help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's definitely a REST interface for deleting jobs, though I don't have a code example at the ready.&amp;nbsp; I'm not sure if the Flex sample viewer includes an object/class for managing jobs.&amp;nbsp; However, even if it doesn't, I'd at least expect the behavior of "DeleteJobs" to be consistent with that of the other calls you're making to Workflow Manager Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...not sure if that helps...?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 11:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404820#M803</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2011-07-28T11:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a job?</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404821#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is currently not a method in the Flex WorkflowManagerTask to delete a job.&amp;nbsp; However, you can call the REST API directly from your code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var urlVars:URLVariables = new URLVariables();
urlVars.f = "json";
urlVars._ts = new Date().time;
urlVars.user = "yourWorkflowManagerUsername";

var urlRequest:URLRequest = new URLRequest(Model.instance.workflowManagerTask.url + "/jobs/" + jobId + "/delete");
var urlLoader:URLLoader = new URLLoader();
urlLoader.load(urlRequest);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will provide a WorkflowManagerTask.deleteJob() method in a future release of the Workflow Manager Flex API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404821#M804</guid>
      <dc:creator>ThomasHill</dc:creator>
      <dc:date>2021-12-11T18:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a job?</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404822#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll try to use the REST API directly from source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank to both of you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 08:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/how-to-delete-a-job/m-p/404822#M805</guid>
      <dc:creator>EvgeniaKaradjova</dc:creator>
      <dc:date>2011-07-29T08:56:26Z</dc:date>
    </item>
  </channel>
</rss>

