When trying to migrate changes from source model to destination model on the Host Encyclopedia this error is received:
*** MIGRATION DID NOT COMPLETE SUCCESSFULLY ***
PROBLEM: OBJECT(S) CANNOT BE/MUST BE DELETED.
Exit State Usage < UNNAMED >, Object Id nnnnnnnnn REPEATS
Exit State EXIT_STATE1
SOURCE ID = xxxxxxxxx, TARGET ID = yyyyyyyyy
Gen Host Encyclopedia. Any release.
- This error is thrown because the migration would result in a Procedure Step (BUSPRST) having a second Dialog Flow (DLGFLOW) both of which are associated to the same Exit State (EXSTATE). Such a duplication would violate the Gen meta-model.
- This is often caused by deleting/recreating a Dialog Flow on the Procedure Step in the source model which uses the same Exit State as an existing Dialog Flow on the same Procedure Step in the Destination Model. Gen will then interpret the 2 Dialog Flows as being different objects because the source object has been recreated.
The Gen Developer should be able to confirm which Procedure Step Dialog Flow referencing Exit State EXIT_STATE1 has been recreated in the source model. Then the corresponding Dialog Flow in the destination model can be deleted & the migration resubmitted. The migration should then succeed.
- The above advice is also valid for the same error occurring on a Client Server Encyclopedia.
- If the problem Procedure Step Dialog Flow in the source model cannot be found manually this attached SQL can be used to do so: DLGFLOWduplicate.txt (the SQL is Host Encyclopedia specific)