diff --git a/api/src/main/java/ca/bc/gov/educ/api/pen/replication/orchestrator/SchoolUpdateOrchestrator.java b/api/src/main/java/ca/bc/gov/educ/api/pen/replication/orchestrator/SchoolUpdateOrchestrator.java index ea2c21e..a7108fd 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/pen/replication/orchestrator/SchoolUpdateOrchestrator.java +++ b/api/src/main/java/ca/bc/gov/educ/api/pen/replication/orchestrator/SchoolUpdateOrchestrator.java @@ -65,6 +65,9 @@ public void populateStepsToExecuteMap() { .step(UPDATE_SCHOOL_IN_SPM, SCHOOL_UPDATED_IN_SPM, UPDATE_SCHOOL_IN_IOSAS, this::updateSchoolInIOSAS) .step(UPDATE_SCHOOL_IN_SPM, SCHOOL_WRITE_SKIPPED_IN_SPM_FOR_DATES, UPDATE_SCHOOL_IN_IOSAS, this::updateSchoolInIOSAS) .step(UPDATE_SCHOOL_IN_IOSAS, SCHOOL_UPDATED_IN_IOSAS, UPDATE_SCHOOL_IN_ISFS, this::updateSchoolInISFS) + .step(UPDATE_SCHOOL_IN_IOSAS, SCHOOL_UPDATE_SKIPPED_IN_IOSAS, UPDATE_SCHOOL_IN_ISFS, this::updateSchoolInISFS) + .end(UPDATE_SCHOOL_IN_ISFS,SCHOOL_UPDATE_SKIPPED_IN_ISFS) + .or() .end(UPDATE_SCHOOL_IN_ISFS, SCHOOL_UPDATED_IN_ISFS); }