Skip to main content
Answer

How to solve "version of the default workflow in the customization project is not equal to the current version in system"?

  • March 28, 2022
  • 5 replies
  • 774 views

Forum|alt.badge.img+6

Hello,

      We recently have a direct upgrade from 2020R2 to 2021R2.
After the upgrade, the customization projects show:

"version of the default workflow in the customization project is not equal to the current version in system"

 

On 4 screens, PO, SO, shipment, invoice.
However, if I can “UPGRADE PREDEFINED workflow” button, the system show error

1 time is : “The given key was not present in the dictionary.”

another time is “Object reference not set to an instance of an object.”

 

How can I solve this, thank you.

Best answer by ray20

Hello to anyone who also having this issue

1, create a brand new customization, do your modification on the new customization.
Actually, I did not do any workflow modification, never, I only modified some actions before.
The system might treat actions and workflow as a whole.

Never mind, 
2, Open your brand new project.xml ,
copy the whole blocks out

 

3, Replacing in your OLD project

 

4, Then republish your merged project.

5 replies

hkabiri
Acumatica Moderator
Forum|alt.badge.img+8
  • Acumatica Support Team
  • March 28, 2022

@ray20  As for now for the workaround I can suggest you to edit customization project manually. You need to create new customization project on 2021R2, add PO301000 screen there, and introduce any change in workflow. After that, export this project, open it in any editor and copy predefined configurations of new workflows to your old customization project. Then upload your fixed customization to the site, upgrade project again, if it is still required.

This is probably due to the fact we have introduced new workflow in 2021R1 and later and disabled old workflow and automation steps on most screens and forms.

Check Page 31 which can help:

http://acumatica-builds.s3.amazonaws.com/builds/21.1/ReleaseNotes/AcumaticaERP_2021R1_ReleaseNotes_for_Developers.pdf

In case you have any further issue it should be discussed with our Dev team and through a DEV support Request (Case)


Forum|alt.badge.img+6
  • Author
  • Captain II
  • March 28, 2022

@hkabiri  Thank you for your feedback. I will try later today.
However, can you help check whether my below steps are correct?
1, create a brand NEW customization projects in 2021R2.
2, Add the fours screen, like PO,SO with default workflow to the NEW customizations.
3, Export the new customizations out, open it in text editor
And copy the “default workflow codes” out,
And move these codes into the OLD customization, and replace its old workflow codes.

4,  republish the merged customization project.

 

 


Forum|alt.badge.img+6
  • Author
  • Captain II
  • March 28, 2022

@hkabiri  Hello, I’ve read the page 31 of the release note.
But I still do not totally understand how can I merge the New customization with my old customization.

Can you give me a little detail guide on it?


Forum|alt.badge.img+6
  • Author
  • Captain II
  • Answer
  • March 29, 2022

Hello to anyone who also having this issue

1, create a brand new customization, do your modification on the new customization.
Actually, I did not do any workflow modification, never, I only modified some actions before.
The system might treat actions and workflow as a whole.

Never mind, 
2, Open your brand new project.xml ,
copy the whole blocks out

 

3, Replacing in your OLD project

 

4, Then republish your merged project.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • March 29, 2022

Thank you for sharing this @ray20 !