<?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 How to identify task type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-task-type/m-p/136521#M95734</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;I am having a scenario, where i have to execute bpmn flow programaticaly. For this i am fetching task from process, perform some operations and complete that task. Now i want to perform operations on the basis of task type. For example if current task is User task than i will operation A and if task type is service task i want to perform operation B.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But till now i am not able to find any class/method which will help to find type of task. Is there class or method available for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Masarrat Siddiqui&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Feb 2013 06:30:15 GMT</pubDate>
    <dc:creator>masarrat</dc:creator>
    <dc:date>2013-02-16T06:30:15Z</dc:date>
    <item>
      <title>How to identify task type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-task-type/m-p/136521#M95734</link>
      <description>Hi,I am having a scenario, where i have to execute bpmn flow programaticaly. For this i am fetching task from process, perform some operations and complete that task. Now i want to perform operations on the basis of task type. For example if current task is User task than i will operation A and if t</description>
      <pubDate>Sat, 16 Feb 2013 06:30:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-task-type/m-p/136521#M95734</guid>
      <dc:creator>masarrat</dc:creator>
      <dc:date>2013-02-16T06:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify task type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-task-type/m-p/136522#M95735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use RepositoryServiceImpl for this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; public ReadOnlyProcessDefinition getDeployedProcessDefinition(String processDefinitionId) {&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;Use the PVMActivities (cast to ActivityImpl) and check the type to the getActivityBehaviour() return value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OR even better, use the BPMN2.0 model for this, this has explicit ally typed objects for each type of task/activity. See &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/tree/master/modules/activiti-bpmn-model" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/tree/master/modules/activiti-bpmn-model&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/tree/master/modules/activiti-bpmn-converter" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/tree/master/modules/activiti-bpmn-converter&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 08:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-task-type/m-p/136522#M95735</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-18T08:23:00Z</dc:date>
    </item>
  </channel>
</rss>

