BUG corrected. Framework is not required on every bot

This commit is contained in:
Luis Fernando Molina committed 2019-03-26 13:35:20 +01:00
1 parent 2e82e7e228
commit ada66e41c8
1 file changed
+6 -4
+6 -4
View File
@@ -288,11 +288,13 @@
processConfig.timePeriod = global.EXECUTION_CONFIG.timePeriod
}
if (processConfig.framework.name === "Multi-Period-Daily") {
processConfig.framework.startDate.fixedDate = processConfig.startMode.noTime.beginDatetime;
processConfig.framework.startDate.resumeExecution = processConfig.startMode.noTime.resumeExecution;
if (processConfig.framework !== undefined) {
if (processConfig.framework.name === "Multi-Period-Daily") {
processConfig.framework.startDate.fixedDate = processConfig.startMode.noTime.beginDatetime;
processConfig.framework.startDate.resumeExecution = processConfig.startMode.noTime.resumeExecution;
}
}
try {
/* We test each type of start Mode to get what to run and how. */