@@ -229,27 +229,27 @@ export class OmniScriptMigrationTool extends BaseMigrationTool implements Migrat
229229 const language = propertySet [ 'Language' ] ;
230230 const osName = type + '_' + subtype + '_' + language ;
231231 dependencyOS . push ( osName + ' ( ' + nameVal + ' ) <br>' ) ;
232- /* if (!existingOmniscriptNames.has(nameVal)) {
233- missingOS.push(nameVal);
234- }*/
232+ if ( ! existingOmniscriptNames . has ( nameVal ) ) {
233+ missingOS . push ( nameVal ) ;
234+ }
235235 }
236236
237237 // Check for Integration Procedure Action dependencies
238238 if ( type === 'Integration Procedure Action' ) {
239239 const nameVal = `${ elemName } _Integration Procedure Action` ;
240- // if (!existingOmniscriptNames.has(nameVal) && !existingFlexCardNames.has(nameVal)) {
241240 dependencyIP . push ( propertySet [ 'integrationProcedureKey' ] + ' (' + nameVal + ') <br>' ) ;
242- // missingIP.push(nameVal);
243- // }
241+ if ( ! existingOmniscriptNames . has ( nameVal ) && ! existingFlexCardNames . has ( nameVal ) ) {
242+ missingIP . push ( nameVal ) ;
243+ }
244244 }
245245
246246 // Check for DataRaptor dependencies
247247 if ( [ 'DataRaptor Extract Action' , 'DataRaptor Turbo Action' , 'DataRaptor Post Action' ] . includes ( type ) ) {
248248 const nameVal = `${ elemName } _${ type } ` ;
249- // if (!existingOmniscriptNames.has(nameVal) && !existingDataRaptorNames.has(nameVal)) {
250249 dependencyDR . push ( propertySet [ 'bundle' ] + ' ( ' + nameVal + ' ) <br>' ) ;
251- // missingDR.push(nameVal);
252- // }
250+ if ( ! existingOmniscriptNames . has ( nameVal ) && ! existingDataRaptorNames . has ( nameVal ) ) {
251+ missingDR . push ( nameVal ) ;
252+ }
253253 }
254254
255255 if ( type === 'Remote Action' ) {
0 commit comments