<?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 Workflow state change upgrade in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6482#M3151</link>
    <description>&lt;P&gt;I have existing workflow with 4 user tasks: DRAFT, PENDING_REVIEW_A,&amp;nbsp; PENDING_REVIEW_B,&amp;nbsp; and PENDING_APPROVAL.&lt;/P&gt;&lt;P&gt;Sequence Flows are:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DRAFT to&amp;nbsp;PENDING_REVIEW_A (operation = SUBMIT_A),&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;DRAFT to&amp;nbsp;PENDING_REVIEW_B (operation = SUBMIT_B),&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;PENDING_REVIEW_A TO&amp;nbsp;PENDING_APPROVAL&amp;nbsp;(operation = REVIEWED_A),&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;PENDING_REVIEW_B TO&amp;nbsp;PENDING_APPROVAL&amp;nbsp;(operation = REVIEWED_B)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let's say the existing flow has been used in production for quite sometime and now below changes are to be done:&lt;/P&gt;&lt;P&gt;Changes to user task:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Remove&amp;nbsp;PENDING_REVIEW_A,&amp;nbsp; PENDING_REVIEW_B&lt;/LI&gt;&lt;LI&gt;Add new task PENDING_REVIEW&lt;/LI&gt;&lt;LI&gt;Add sequence flow from&amp;nbsp;RAFT to&amp;nbsp;PENDING_REVIEW&amp;nbsp;(operation = SUBMIT)&lt;/LI&gt;&lt;LI&gt;Add Sequence flow from PENDING_REVIEW to PENDING_APPROVAL (operation = REVIEWED)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The problem I am facing is how to upgrade existing production transactions to new workflow.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How can existing DRAFT and PENDING_APPROVAL tasks can be upgraded to new workflow version?&lt;/LI&gt;&lt;LI&gt;How can&amp;nbsp;existing PENDING_REVIEW_A and&amp;nbsp;PENDING_REVIEW_B tasks can be&amp;nbsp;upgraded to PENDING_REVIEW task?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Basically it's existing transactional data handling problem in ACT_* tables.&lt;/P&gt;&lt;P&gt;Thanks so much in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:56:15 GMT</pubDate>
    <dc:creator>Shwe</dc:creator>
    <dc:date>2020-09-28T12:56:15Z</dc:date>
    <item>
      <title>Workflow state change upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6482#M3151</link>
      <description>&lt;P&gt;I have existing workflow with 4 user tasks: DRAFT, PENDING_REVIEW_A,&amp;nbsp; PENDING_REVIEW_B,&amp;nbsp; and PENDING_APPROVAL.&lt;/P&gt;&lt;P&gt;Sequence Flows are:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DRAFT to&amp;nbsp;PENDING_REVIEW_A (operation = SUBMIT_A),&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;DRAFT to&amp;nbsp;PENDING_REVIEW_B (operation = SUBMIT_B),&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;PENDING_REVIEW_A TO&amp;nbsp;PENDING_APPROVAL&amp;nbsp;(operation = REVIEWED_A),&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;PENDING_REVIEW_B TO&amp;nbsp;PENDING_APPROVAL&amp;nbsp;(operation = REVIEWED_B)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let's say the existing flow has been used in production for quite sometime and now below changes are to be done:&lt;/P&gt;&lt;P&gt;Changes to user task:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Remove&amp;nbsp;PENDING_REVIEW_A,&amp;nbsp; PENDING_REVIEW_B&lt;/LI&gt;&lt;LI&gt;Add new task PENDING_REVIEW&lt;/LI&gt;&lt;LI&gt;Add sequence flow from&amp;nbsp;RAFT to&amp;nbsp;PENDING_REVIEW&amp;nbsp;(operation = SUBMIT)&lt;/LI&gt;&lt;LI&gt;Add Sequence flow from PENDING_REVIEW to PENDING_APPROVAL (operation = REVIEWED)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The problem I am facing is how to upgrade existing production transactions to new workflow.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How can existing DRAFT and PENDING_APPROVAL tasks can be upgraded to new workflow version?&lt;/LI&gt;&lt;LI&gt;How can&amp;nbsp;existing PENDING_REVIEW_A and&amp;nbsp;PENDING_REVIEW_B tasks can be&amp;nbsp;upgraded to PENDING_REVIEW task?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Basically it's existing transactional data handling problem in ACT_* tables.&lt;/P&gt;&lt;P&gt;Thanks so much in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6482#M3151</guid>
      <dc:creator>Shwe</dc:creator>
      <dc:date>2020-09-28T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow state change upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6483#M3152</link>
      <description>&lt;P&gt;You might wanna reconsider on migrating existing processes to a newer version. may be let the old processes finish by themselves, anyway activiti will use latest version for new process instance&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/34205814/migrating-activiti-tasks-from-old-process-to-new-process" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/34205814/migrating-activiti-tasks-from-old-process-to-new-process&lt;/A&gt;&lt;/P&gt;&lt;P&gt;while there IS a way to achieve it, requires coding and is not reliable. (&lt;STRONG&gt;might lead to more issues&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/bpm-archive/process-instances-migration/m-p/236329" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/bpm-archive/process-instances-migration/m-p/236329&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:36:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6483#M3152</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-09-28T14:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow state change upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6484#M3153</link>
      <description>&lt;P&gt;Thanks for the reply and links.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Since the states are changed (obviously business logic tagging along with those will change as well), allowing in flight cases to continue&amp;nbsp;become a maintenance nightmare.&lt;/LI&gt;&lt;LI&gt;There will be hardcoding to check what workflow version for in flight cases, correct?&lt;BR /&gt;Can I have advise on the best way and how to do it?&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The frontend and business logic will get changed due to workflow changes.&lt;BR /&gt;Does this mean there is a need to hardcode the frontend based on the workflow version too?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;It seems like the system will be stuck with codes to handle old things and then continue for new things even if handled as above points.&lt;BR /&gt;This is not scalable and not to mention future proof. Correct?&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Maybe the best way is to end all pending cases so that the system can start with new workflow?&lt;BR /&gt;If yes, possible to share what is the best practice way to do it?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 10:32:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6484#M3153</guid>
      <dc:creator>Shwe</dc:creator>
      <dc:date>2020-09-30T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow state change upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6485#M3154</link>
      <description>&lt;P&gt;It whould be great if someone can help me with above please. Thanks so much in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 03:50:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6485#M3154</guid>
      <dc:creator>Shwe</dc:creator>
      <dc:date>2020-10-07T03:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow state change upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6486#M3155</link>
      <description>&lt;P&gt;Is there any experienced guru who has gone through before and can help me on this same situation please?&lt;/P&gt;&lt;P&gt;Being&amp;nbsp;&lt;SPAN&gt;enterprise BPM solution, this should be quite common case&amp;nbsp;where long running production in-progress transcational data are to be changed as the workflow have new state or have standardized state changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There must be best &lt;SPAN&gt;practice approach of this kind of changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you so much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:06:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-state-change-upgrade/m-p/6486#M3155</guid>
      <dc:creator>Shwe</dc:creator>
      <dc:date>2020-10-19T13:06:22Z</dc:date>
    </item>
  </channel>
</rss>

