How to resolve Host Encyclopedia migration error "Exit State Usage < UNNAMED >, Object Id xxxxxxxxxxx REPEATS Exit State ..."

book

Article ID: 38136

calendar_today

Updated On:

Products

CA Gen CA Gen - Build Tool CA Gen - Workstation Toolset CA Gen - Host Encyclopedia CA Gen - Run Time Distributed 3RD PARTY TSO

Issue/Introduction

Issue:

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 

 

Environment:

Gen Host Encyclopedia. Any release.

 

Cause:

  • 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.

 

Resolution:

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. 

 

Additional Information:

  • 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)

Environment

Release: KGNCRK05500-7.6-Gen-CLS Runtime Kit-for Unisys
Component:

Attachments

1558534319959TEC1117558.zip get_app