Update MultiPeriodDaily.js

This commit is contained in:
Luis Fernando Molina committed 2020-04-13 17:56:43 +02:00
1 parent ac4f0309f8
commit 1d9c2dd3f2
1 file changed
+1 -1
+1 -1
View File
@@ -214,7 +214,7 @@
return;
}
if (bot.hasTheBotJustStarted === true && processConfig.framework.startDate.resumeExecution === false) {
if (bot.hasTheBotJustStarted === true && processConfig.framework.startDate !== undefined && processConfig.framework.startDate.resumeExecution === false) {
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> Starting from the begining because bot has just started and resume execution was true."); }
startFromBegining();