<?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 Process state is not getting changed in callback context but it is changed after callback end  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-state-is-not-getting-changed-in-callback-context-but-it/m-p/201591#M154721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;PF Attached Test-Case in activiti-example.zip , run with 5.18.0 and 5.9 by changing dependency in pom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/nal-raj/Activiti-demo" rel="nofollow noopener noreferrer"&gt;https://github.com/nal-raj/Activiti-demo&lt;/A&gt;&lt;SPAN&gt; -&amp;gt;(Project and issue-PPT)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created sample demo to reproduce that issue, which we were talking long time (&lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/comment/31757#comment-31757" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/comment/31757#comment-31757&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now Issue is more apparent that- &amp;gt; "Process state is not getting changed in callback context but it is changed after callback end ".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Behavior quite different in 5.18.0 as compared to 5.9.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Activiti 5.18.0 -&amp;gt; When we callback "Items" flow from "Order" flow for Signout state (After taskService.complete(taskID)) We tried to get its output before callback end..I can see that "Items" flow's state is not changed, its still previous state i.e. "InProgress". Once callback end , state is getting changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in Activiti 5.9 -&amp;gt; State getting changed before callback end and obviously after callback end .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want same behavior in activiti 5.18.0 as well, because before callback end, based on state changed..i am executing some other business logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Test case will not fail in either case i.e. Activiti 5.9 and Activiti 5.18.0 , because assert in test case executes after callback… SO that i have printed output in console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2015 12:28:30 GMT</pubDate>
    <dc:creator>nal_raj</dc:creator>
    <dc:date>2015-10-27T12:28:30Z</dc:date>
    <item>
      <title>Process state is not getting changed in callback context but it is changed after callback end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-state-is-not-getting-changed-in-callback-context-but-it/m-p/201591#M154721</link>
      <description>PF Attached Test-Case in activiti-example.zip , run with 5.18.0 and 5.9 by changing dependency in pom.xmlhttps://github.com/nal-raj/Activiti-demo -&amp;gt;(Project and issue-PPT)I have created sample demo to reproduce that issue, which we were talking long time (https://forums.activiti.org/comment/31757</description>
      <pubDate>Tue, 27 Oct 2015 12:28:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-state-is-not-getting-changed-in-callback-context-but-it/m-p/201591#M154721</guid>
      <dc:creator>nal_raj</dc:creator>
      <dc:date>2015-10-27T12:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Process state is not getting changed in callback context but it is changed after callback end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-state-is-not-getting-changed-in-callback-context-but-it/m-p/201592#M154722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How many times are you going to post this? This works counterproductive.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 19:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-state-is-not-getting-changed-in-callback-context-but-it/m-p/201592#M154722</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-28T19:17:04Z</dc:date>
    </item>
  </channel>
</rss>

