<?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 Trying to figure which processDefinition a job will execute in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-figure-which-processdefinition-a-job-will-execute/m-p/82495#M55287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, can someone tell me where I can get which process definition a job will execute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I create a JobQuery with the managementService&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;Job&amp;gt; list = managementService.createJobQuery().orderByJobDuedate().asc().list();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I look a the individual Job instance in the list I have no way of knowing which process instance is referred by each job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All I have is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;duedate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exceptionMessage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;executionId&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processInstanceId&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;retries&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So when a job is not currently executing executionId and processInstanceId are null!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how am I supposed to know which processDefinition it is referencing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2012 16:48:58 GMT</pubDate>
    <dc:creator>rgareau</dc:creator>
    <dc:date>2012-07-09T16:48:58Z</dc:date>
    <item>
      <title>Trying to figure which processDefinition a job will execute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-figure-which-processdefinition-a-job-will-execute/m-p/82495#M55287</link>
      <description>Hi, can someone tell me where I can get which process definition a job will execute.Here is what I do.I create a JobQuery with the managementServiceList&amp;lt;Job&amp;gt; list = managementService.createJobQuery().orderByJobDuedate().asc().list();But when I look a the individual Job instance in the list I h</description>
      <pubDate>Mon, 09 Jul 2012 16:48:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trying-to-figure-which-processdefinition-a-job-will-execute/m-p/82495#M55287</guid>
      <dc:creator>rgareau</dc:creator>
      <dc:date>2012-07-09T16:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to figure which processDefinition a job will execute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-figure-which-processdefinition-a-job-will-execute/m-p/82496#M55288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A job as a (type-specific) HANDLER_CFG_ field. This contains all relevant information for the job to execute. Normally, at least the process-instance ID should be available if the job is related to a process, regardless if it's currently running or not…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 07:53:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trying-to-figure-which-processdefinition-a-job-will-execute/m-p/82496#M55288</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-16T07:53:18Z</dc:date>
    </item>
  </channel>
</rss>

