<?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: JobExecutor not used on start of workflow in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25206#M10905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;gt; I have tried following the source to see if there is some way to make it work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Sorry, but your source does not seem to be attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jul 2017 03:26:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-04T03:26:16Z</dc:date>
    <item>
      <title>JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25205#M10904</link>
      <description>I have added a custom JobExecutor based on the information in another question (&amp;nbsp;), but I noticed that the JobExecutor does not get used when starting a new workflow. Because a process instance does not get persisted until a "stopping point" like a user task, the JobExexcutor does not see the job. I</description>
      <pubDate>Mon, 03 Jul 2017 17:24:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25205#M10904</guid>
      <dc:creator>robdiana72</dc:creator>
      <dc:date>2017-07-03T17:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25206#M10905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;gt; I have tried following the source to see if there is some way to make it work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Sorry, but your source does not seem to be attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 03:26:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25206#M10905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T03:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25207#M10906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry that wasn't clear. I mean that I tried following the logic of the Activiti source code for when you start a workflow and could not see how to either persist the workflow immediately or see any hooks to change how things were executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 11:36:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25207#M10906</guid>
      <dc:creator>robdiana72</dc:creator>
      <dc:date>2017-07-04T11:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25208#M10907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to cooperate, but I'm sorrty that I cannot understand your description.&lt;/P&gt;&lt;P&gt;If possible, please share the details of what you did like Java code of&amp;nbsp;JobExecutorImpl , Processengineconfiguration setting, process to &lt;SPAN&gt;understand your situation&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 01:08:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25208#M10907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T01:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25209#M10908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We create a&amp;nbsp;ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration() and set some of the basic attributes. Then we call processEngineConfiguration.setJobExecutor(new MyCustomExecutor()) to set our custom job executor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, we start workflows using:&lt;/P&gt;&lt;P&gt;RuntimeService runtimeService = processEngine.getRuntimeService();&lt;BR /&gt; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(workflowKey, variables);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a java service task is the first node in the process definition, that service task gets executed by Activiti immediately. The task information does not get persisted to the database to allow the custom JobExecutor to read the job. Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:31:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25209#M10908</guid>
      <dc:creator>robdiana72</dc:creator>
      <dc:date>2017-07-05T16:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25210#M10909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the job executor to process the service task for you, make the service task "async" to get a job created. Otherwise the service task after start event gets processed in the same thread that starts the process instance. Please read &lt;A href="https://www.activiti.org/userguide/#asyncContinuations" rel="nofollow noopener noreferrer"&gt;async-continuations&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 19:14:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25210#M10909</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-05T19:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25211#M10910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Making the task "async" means it runs asynchronously, and anything after that job will get run as well. We would need the ability for multiple jobs in the process to run serially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 19:19:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25211#M10910</guid>
      <dc:creator>robdiana72</dc:creator>
      <dc:date>2017-07-05T19:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25212#M10911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Making it "async" doesn't mean that the next step in the process will get executed. This setting is purely for asynchronous continuation. A job will be created when a process reaches an async step and job executor will pick it up and execute the job from that point. Please check&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#asyncContinuations" title="https://www.activiti.org/userguide/#asyncContinuations" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&amp;nbsp;for more details on this setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 19:27:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25212#M10911</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-05T19:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: JobExecutor not used on start of workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25213#M10912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The task information does not get persisted to the database to allow the custom JobExecutor to read the job. Does that make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;BR /&gt;Could you share your JobExecutor code to understand details about your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 03:21:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/jobexecutor-not-used-on-start-of-workflow/m-p/25213#M10912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T03:21:36Z</dc:date>
    </item>
  </channel>
</rss>

