<?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 properly start a new process from inside a service task ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174709#M127839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want the started process to appear as a child I think you must use a "call activity" element in the parent process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the process name can be an EL, you can dynamically determine which process to start based on your specific requirements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 00:21:52 GMT</pubDate>
    <dc:creator>pmsevestre</dc:creator>
    <dc:date>2014-05-23T00:21:52Z</dc:date>
    <item>
      <title>How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174708#M127838</link>
      <description>Hello, I have created a custom palette element following the user guide about this topic.This new activity is in fact a 'configuration mask' for a CallActivity with a complex input map.So the execute method of the JavaDelegate that is called by this custom palette element at runtime is like this:&amp;lt;</description>
      <pubDate>Thu, 22 May 2014 11:24:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174708#M127838</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-05-22T11:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174709#M127839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want the started process to appear as a child I think you must use a "call activity" element in the parent process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the process name can be an EL, you can dynamically determine which process to start based on your specific requirements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 00:21:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174709#M127839</guid>
      <dc:creator>pmsevestre</dc:creator>
      <dc:date>2014-05-23T00:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174710#M127840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know how to start a CallActivity when using custom palette element. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The documentation about this topic says that you have to use a JavaDelegate class and the XML generated by the custom element is a ServiceTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact, as said in my message, the custom palette element is a 'configuration mask' for a CallActivity with a complex input map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have some core processes that have a complex input map with mandatory/optionnal field. Having a custom palette element allow an easier integration of these processes: they have a specific Icon, and more important a custom form to set the input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 06:24:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174710#M127840</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-05-23T06:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174711#M127841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; I don't know how to start a CallActivity when using custom palette element. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to extend the CallActivityBehavior, or at least inspire yourself by the code there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 07:57:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174711#M127841</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-27T07:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174712#M127842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I'll try that. So we can re-use any activiti Behavior as a custom palette element delegate ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:51:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174712#M127842</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-05-27T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174713#M127843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So it works, but now I have this error when the called sub-process terminates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.ClassCastException: org.activiti.engine.impl.bpmn.helper.ClassDelegate cannot be cast to org.activiti.engine.impl.pvm.delegate.SubProcessActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessEnd.eventNotificationsCompleted(AtomicOperationProcessEnd.java:49)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the AtomicOperationProcessEnd#eventNotificationsCompleted method the activity behavior is a ClassDelegate, and this last does not implements the SubProcessActivityBehavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the eventNotificationCompleted(), around line 49&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;subProcessActivityBehavior = (SubProcessActivityBehavior) activity.getActivityBehavior();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;debugger view:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;activity = {org.activiti.engine.impl.pvm.process.ActivityImpl@6664}"Activity(test)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; activities = {java.util.ArrayList@6676} size = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; activityBehavior = {org.activiti.engine.impl.bpmn.helper.ClassDelegate@6102}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; activityBehaviorInstance = {my.palette.Test@6084}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; bpmnActivityBehavior = {org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior@6706}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; className = {java.lang.String@6703}"my.palette.Test"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; executionListenerInstance = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; fieldDeclarations = {java.util.ArrayList@6704} size = 6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; multiInstanceActivityBehavior = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; taskListenerInstance = null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea about how to fix this? (I'm using activiti 5.14, so maybe it is a fixed bug) &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174713#M127843</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-05-27T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174714#M127844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm seens like you've hit a bug here in the core engine &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix is easy, I've done it already on master: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/92262ae31fda26a153e16b1fe5e4eed5c1fa9903" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/92262ae31fda26a153e16b1fe5e4eed5c1fa9903&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a workaround, but it's pretty complex: you can replace the default Classdelegate with one that has the fix in the commit above. The ActivityBehavipourFactory is responsible for creating it, and you can plugin in your own version of it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:42:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174714#M127844</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-30T09:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174715#M127845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for solving the bug so quickly and for your help about this topic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to put the workaround in place in our current version in order to use the custom palette.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way I always got a nasty error message from eclipse that complains about the custom palette jar I have created:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"There was an error when processing an extension to Activiti Designer. The extension at location x/y/z.jar is not open. Please make sure it is not installed inside the Eclipse workspace."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Custom elements are not displayed, and processes containing those element are not loaded too !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;However&lt;/STRONG&gt;&lt;SPAN&gt; If I open a blank diagram (either a new or a saved one) in a new project, then the palette is loaded and I can use it with my other projects and open processes definition that contains those custom activity. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I'm still not confident about the custom palette: I fear that for some reason the work around won't work anymore and that will prevent me to open any of the processes that will use the palette. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that some other people had the same issue, but I did not find any real fix. Do you have any idea about this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 10:43:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174715#M127845</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-05-30T10:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174716#M127846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm could it be the old process was made with a palette that now "doesn't exist" anymore? Or do you also see it when the palette hasn't changed yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround shouldn't have influence, cause it's on the engine (runtime - execution) level where the fix is.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 07:59:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174716#M127846</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-02T07:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174717#M127847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I always had the issue with my eclipse version (Eclipse SDK Version: 4.2.2 Build id: M20130204-1200) and the 5.14 designer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think it is related to the workaround, I think something is wrong with eclipse…&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 08:52:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174717#M127847</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-06-02T08:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174718#M127848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems to be an older version of Eclips, no. Maybe verify if it's still the same on the latest version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 10:05:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174718#M127848</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-02T10:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174719#M127849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same issue with latest eclipse: the palette is loaded when I start a new project, but trying to use the palette in my current project does not work until I open a blank process in a side empty project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something must be wrong with my current project settings. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for all your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 12:17:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174719#M127849</guid>
      <dc:creator>guillaume1</dc:creator>
      <dc:date>2014-06-02T12:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly start a new process from inside a service task ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174720#M127850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange - sorry we can't help you much further in this &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do post an update if you would find a solution. Maybe more people suffer from this!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 07:49:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-start-a-new-process-from-inside-a-service-task/m-p/174720#M127850</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-04T07:49:58Z</dc:date>
    </item>
  </channel>
</rss>

