<?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 avail process details to the involved group in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16946#M7507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that its possible in APS 1.8. Members of involved groups will be able to&amp;nbsp;access tasks and processes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 12:33:06 GMT</pubDate>
    <dc:creator>bassam_al-saror</dc:creator>
    <dc:date>2018-06-07T12:33:06Z</dc:date>
    <item>
      <title>How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16943#M7504</link>
      <description>Hi,I have a process with 2 task lets say t1 and t2I want to involve t1 task to a group namely everyone so that whenever user(who is involved in everyone group) clicks on process to view the process details user should be able to see the details of particular processFor this I have written a task lis</description>
      <pubDate>Tue, 05 Jun 2018 11:56:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16943#M7504</guid>
      <dc:creator>anitapatil_bld</dc:creator>
      <dc:date>2018-06-05T11:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16944#M7505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you using&amp;nbsp;APS or Activiti and what version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16944#M7505</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-06-06T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16945#M7506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Bassam Al-Sarori&lt;/B&gt;&amp;nbsp;I am using APS 1.7‌&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:21:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16945#M7506</guid>
      <dc:creator>anitapatil_bld</dc:creator>
      <dc:date>2018-06-07T12:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16946#M7507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that its possible in APS 1.8. Members of involved groups will be able to&amp;nbsp;access tasks and processes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:33:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16946#M7507</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-06-07T12:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16947#M7508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌ I tried with APS 1.8.1 and tested It is working only when I involve group to task manually.&amp;nbsp; With task listener it is not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have printed in logs also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logs with task listener&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;groupId=5&lt;BR /&gt;after groupId=5&lt;BR /&gt;12:56:57,144 [http-nio-8082-exec-25] INFO com.activiti.extension.bean.InvolveAdminInAllTask - successfully involved to groupId&lt;BR /&gt;12:56:57,145 [http-nio-8082-exec-25] INFO com.activiti.extension.bean.InvolveAdminInAllTask - [Process=87501][event=assignment][TaskListener=com.activiti.extension.bean.InvolveAdminInAllTask@55671af8][ActivityId=sid-801B1B07-9D25-4208-B61B-6CBE754BFA4B][TaskAssignee=4 group id[IdentityLinkEntity[id=87507, type=candidate, groupId=5, taskId=87506]]][TaskForm=null]&lt;BR /&gt;12:57:00,082 [pool-7-thread-1] INFO com.activiti.service.runtime.ActivitiEventProcessingService - Processed 8 events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logs with manually involved group to task&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12:58:22,248 [http-nio-8082-exec-27] INFO&amp;nbsp; com.activiti.service.runtime.AlfrescoTaskService&amp;nbsp; - Involve group. Task: 87506(87501), group: 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is the code I have written for task listener&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;package com.activiti.extension.bean;&lt;/P&gt;&lt;P&gt;import java.util.HashSet;&lt;BR /&gt;import java.util.Map;&lt;BR /&gt;import java.util.Set;&lt;/P&gt;&lt;P&gt;import org.activiti.engine.delegate.DelegateExecution;&lt;BR /&gt;import org.activiti.engine.delegate.DelegateTask;&lt;BR /&gt;import org.activiti.engine.delegate.TaskListener;&lt;BR /&gt;import org.activiti.engine.task.IdentityLink;&lt;BR /&gt;import org.slf4j.Logger;&lt;BR /&gt;import org.slf4j.LoggerFactory;&lt;/P&gt;&lt;P&gt;public class InvolveAdminInAllTask implements TaskListener {&lt;BR /&gt;private static Logger logger = LoggerFactory.getLogger(InvolveAdminInAllTask.class);&lt;/P&gt;&lt;P&gt;@Override&lt;BR /&gt;public void notify(DelegateTask task)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;{&lt;BR /&gt;DelegateExecution execution = task.getExecution();&lt;BR /&gt;try{&lt;BR /&gt;String groupId="5";&lt;BR /&gt;System.out.println("groupId="+groupId);&lt;BR /&gt;task.addCandidateGroup(groupId);&lt;BR /&gt;System.out.println("after groupId="+groupId);&lt;BR /&gt;logger.info("successfully involved to groupId");&lt;BR /&gt;logger.info("[Process=" + execution.getProcessInstanceId() + "][event=" + task.getEventName()&lt;BR /&gt;+ "][TaskListener=" + this + "][ActivityId=" + execution.getCurrentActivityId() + "][TaskAssignee="&lt;BR /&gt;+ task.getAssignee() + " group id" + task.getCandidates() + "][TaskForm=" + task.getFormKey() + "]");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;catch(Exception e){&lt;BR /&gt;System.out.println("exception in InvolveAdminInAllTask="+e.getMessage());&lt;BR /&gt;logger.info("exception in InvolveAdminInAllTask="+e.getMessage());&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 07:55:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16947#M7508</guid>
      <dc:creator>anitapatil_bld</dc:creator>
      <dc:date>2018-06-20T07:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16948#M7509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Candidate type of involvement is used to queue tasks for group members to claim. Can you use participant type instead?&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;taskService&lt;/SPAN&gt;.addGroupIdentityLink(&lt;SPAN class=""&gt;taskId&lt;/SPAN&gt;, &lt;SPAN class=""&gt;groupId&lt;/SPAN&gt;, IdentityLinkType.&lt;SPAN class=""&gt;PARTICIPANT&lt;/SPAN&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 09:36:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16948#M7509</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-06-20T09:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to avail process details to the involved group</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16949#M7510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌ I have added following lines of code it working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TaskService taskService=ProcessEngines.getDefaultProcessEngine().getTaskService();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taskService.addGroupIdentityLink(task.getId(), "5", "participant");&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 07:39:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-avail-process-details-to-the-involved-group/m-p/16949#M7510</guid>
      <dc:creator>anitapatil_bld</dc:creator>
      <dc:date>2018-06-21T07:39:11Z</dc:date>
    </item>
  </channel>
</rss>

