<?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 Updating code for Activiti 5 to Activiti 7 upgrade in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/updating-code-for-activiti-5-to-activiti-7-upgrade/m-p/31171#M13219</link>
    <description>&lt;P&gt;I have a signal class using APS 1.x.x version ACTIVITI 5.x.x. I have to upgrade the Activiti to 7.x.x and APS 2.x.x . So what are the code changes are to be implemented as a part of this update? How to implement using TriggerableActivitiBehavior and using trigger() method?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below is the code I want to make modifications in.&lt;/P&gt;&lt;P&gt;@Component("asyncReqReplyServiceTask")&lt;BR /&gt;public class AsyncReqReplyServiceTask implements SignallableActivityBehavior {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;protected static final Logger logger = LoggerFactory.getLogger(AsyncReqReplyServiceTask.class);&lt;BR /&gt;&lt;BR /&gt;private static final long serialVersionUID = 1L;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/33527"&gt;@override&lt;/A&gt;&lt;BR /&gt;public void execute(ActivityExecution execution) throws Exception {&lt;BR /&gt;logger.info(execution.getId());&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/33527"&gt;@override&lt;/A&gt;&lt;BR /&gt;public void signal(ActivityExecution execution, String signalEvent, Object signalData) throws Exception {&lt;BR /&gt;PvmTransition transition = execution.getActivity().getOutgoingTransitions().get(0);&lt;BR /&gt;execution.take( transition);&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2022 12:25:57 GMT</pubDate>
    <dc:creator>PuspitaGhosh</dc:creator>
    <dc:date>2022-05-31T12:25:57Z</dc:date>
    <item>
      <title>Updating code for Activiti 5 to Activiti 7 upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/updating-code-for-activiti-5-to-activiti-7-upgrade/m-p/31171#M13219</link>
      <description>&lt;P&gt;I have a signal class using APS 1.x.x version ACTIVITI 5.x.x. I have to upgrade the Activiti to 7.x.x and APS 2.x.x . So what are the code changes are to be implemented as a part of this update? How to implement using TriggerableActivitiBehavior and using trigger() method?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below is the code I want to make modifications in.&lt;/P&gt;&lt;P&gt;@Component("asyncReqReplyServiceTask")&lt;BR /&gt;public class AsyncReqReplyServiceTask implements SignallableActivityBehavior {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;protected static final Logger logger = LoggerFactory.getLogger(AsyncReqReplyServiceTask.class);&lt;BR /&gt;&lt;BR /&gt;private static final long serialVersionUID = 1L;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/33527"&gt;@override&lt;/A&gt;&lt;BR /&gt;public void execute(ActivityExecution execution) throws Exception {&lt;BR /&gt;logger.info(execution.getId());&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/33527"&gt;@override&lt;/A&gt;&lt;BR /&gt;public void signal(ActivityExecution execution, String signalEvent, Object signalData) throws Exception {&lt;BR /&gt;PvmTransition transition = execution.getActivity().getOutgoingTransitions().get(0);&lt;BR /&gt;execution.take( transition);&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 12:25:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/updating-code-for-activiti-5-to-activiti-7-upgrade/m-p/31171#M13219</guid>
      <dc:creator>PuspitaGhosh</dc:creator>
      <dc:date>2022-05-31T12:25:57Z</dc:date>
    </item>
  </channel>
</rss>

