Phil - Thursday, August 30, 2012 1:16 PM:
So, Im migrating a 9.2 System to 9.3 using the same method I've used for every other version migration I've ever done. The problem is, this is the first migration I've done on a system that utilizes Workflows.
Workflows appear to be quite the complex data type, and seem to have many parts...my basic question is: If I wish to export the workflows, and keep all their states, assignments...and everything in working order..what Items should I Export/Import?
Heres what I've tried thus far:
-Workflow Processes
-Workflows (It's a relationship..but for whatever reason I can not get to export without exporting it explicitly)
-Activities
A few side notes: Workflow Processes will export, but half of the properties, including important ones like States, never make their way into the generated AML??
I know you're not supposed to export relationships explicitly, but without doing so for the Workflows relationship..that relationship never gets generated in any AML.
All Importing/Exporting is being done by adding the Items to Package Definitions, and then utilizing the 9.3 Import/Export tool.
Thanks very much for any advice/help in advance!!
Phil - Thursday, August 30, 2012 5:15 PM:
Ok, some more notes on this. It appears if I import the Workflow Processes first, followed by importing the Activities (merge), it kind of works.
The idea is..move the Workflow Processes first, which gives you your Activity Items via relationships. However, after this..your Activities are still missing Paths and Activity Assignments. So then, you import (merge) the Activity Items to fill in the missing info.
Like I said, it sorta works...up until I start getting the "Aras.Server.Core.ItemIsNotLockedException".
The exception doesn't really make much sense, and it occurs on different Activities based on what order they were imported in. Almost seems as if though its some sort of timing issue, and the program is trying to edit the Workflow Process Item before the previous action was done.
Still not having much success...but I figured this was worth a little update.