Skip to content

Commit 23cfc3c

Browse files
authored
fix(bug): @W-11900220@ Fix DR active flag
2 parents 69f70ec + 37338e2 commit 23cfc3c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/migration/dataraptor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ export class DataRaptorMigrationTool extends BaseMigrationTool implements Migrat
207207
});
208208

209209
mappedObject['Name'] = this.cleanName(mappedObject['Name']);
210+
mappedObject['IsActive'] = true;
210211

211212
// BATCH framework requires that each record has an "attributes" property
212213
mappedObject['attributes'] = {

src/migration/omniscript.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ export class OmniScriptMigrationTool extends BaseMigrationTool implements Migrat
430430
}
431431
});
432432

433+
mappedObject['Name'] = this.cleanName(mappedObject['Name']);
434+
433435
// BATCH framework requires that each record has an "attributes" property
434436
mappedObject['attributes'] = {
435437
type: OmniScriptMigrationTool.OMNIPROCESS_NAME,
@@ -499,7 +501,9 @@ export class OmniScriptMigrationTool extends BaseMigrationTool implements Migrat
499501
propertySet['bundle'] = this.cleanName(propertySet['bundle']);
500502
break;
501503
}
504+
502505
mappedObject[ElementMappings.PropertySet__c] = JSON.stringify(propertySet);
506+
mappedObject['Name'] = this.cleanName(mappedObject['Name']);
503507

504508
// BATCH framework requires that each record has an "attributes" property
505509
mappedObject['attributes'] = {

0 commit comments

Comments
 (0)