<?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: Filtering Job on Hold in Queries in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/filtering-job-on-hold-in-queries/m-p/443093#M870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way to currently get jobs with active holds via queries is to query for records where release date is null like you have. Alternatively, you can write a custom command that uses the JTX API to retrieve that information off a job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tope&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 23:05:17 GMT</pubDate>
    <dc:creator>TopeBello</dc:creator>
    <dc:date>2010-05-04T23:05:17Z</dc:date>
    <item>
      <title>Filtering Job on Hold in Queries</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/filtering-job-on-hold-in-queries/m-p/443092#M869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now that we are starting to put jobs on hold, I need to filter those jobs with active holds out of some of the queries I have in JTX.&amp;nbsp; Something like an "Active jobs that aren't on hold" query.&amp;nbsp; From what I can see in the tables, the only way to query if a job is on hold is to check the JOB_HOLDS table and see if that job as any hold records with no RELEASE_DATE value.&amp;nbsp; Am I right?&amp;nbsp; Something like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Select * FROM JTX_ADMIN.JOBS_HOLDS WHERE JOB_ID = &amp;lt;jobid&amp;gt; and RELEASE_DATE is NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My SQL expertise is pretty limited, so the query above just returns a list of related records from another table.&amp;nbsp; How do I filter a job from my JTX window if it has related records(that have a RELEASE_DATE of NULL) in another table&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my existing WHERE clause for my "Jobs Ready to Edit" Query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;WHERE JTX_ADMIN.JTX_JOBS.STATUS = JTX_ADMIN.JTX_STATUS.ID AND JTX_ADMIN.JTX_STATUS.NAME = 'Edit Queue'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there a better way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I'm in JTX 9.3.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 15:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/filtering-job-on-hold-in-queries/m-p/443092#M869</guid>
      <dc:creator>AndrewRudin</dc:creator>
      <dc:date>2010-04-23T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Job on Hold in Queries</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/filtering-job-on-hold-in-queries/m-p/443093#M870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way to currently get jobs with active holds via queries is to query for records where release date is null like you have. Alternatively, you can write a custom command that uses the JTX API to retrieve that information off a job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tope&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 23:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/filtering-job-on-hold-in-queries/m-p/443093#M870</guid>
      <dc:creator>TopeBello</dc:creator>
      <dc:date>2010-05-04T23:05:17Z</dc:date>
    </item>
  </channel>
</rss>

