When you migrate solutions, the migration process forces the generation of Solution Create and Link events using the migrated values for the date created/linked and create by or linked by. If these values are found in neither the Solution nor the incident, the defaults are used. The default for date is the current date. The default for author or profile id is the value set by EServiceMigrationService.user.

Events, which are generated as part of the migration of solutions and recommended answers, can only be migrated as part of the original migration of the solutions and recommended answers (i.e. incident link migration). Events are not generated for solutions that are rejected based on the value of the solutionValidationLevel.

There are two properties in EserverMigrationService - createEvents and generateEvents. Only one of these properties can true at a time. When createEvents is set to true the EventTools kicks in and the events would be created as they are in the normal functioning of Knowledge. When generateEvents is set to true, the migration service generates events for the solutions when they are migrated. Link events are generated when the associated incidents are migrated.

Note: Ensure that eventsEnabled property is set to true.

The EServiceMigrationService.generateEvents property, which is true by default, generates events only when createEvent property is set to false. Setting createEvent property on EServerMigrationService will cause the event tools to generate events for migrated solutions that do not have the migrated solution linked date/by and solution create date/by.

 
loading table of contents...