Home > Forum > Known bugs > Error handling in cyclical actions

Error handling in cyclical actions

Hello,
I have a global cyclical action that does some things. And in "Error handling" section i've got an automation that sends a customized email
It was working fine in 2022, stopped working after upgrading it to the newest 2023 version.

Currently it is impossible to do such scenario. I've also tried invoking a REST API but it also fails.
Those automation put somewhere else (not in cyclical actions) work fine.

Message: Błąd wysyłania wiadomości e-mail:
Object reference not set to an instance of an object.

Type: WebCon.WorkFlow.BPS.Abstract.Exceptions.WorkFlowException
Source: WebCon.WorkFlow.BusinessLogic
StackTrace: at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.Evaluators.AutomationEvaluator.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.Interfaces.AutomationEvaluatorAbstract.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationEngine.d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.BusinessLogic.Automations.Engine.AutomationCoordinator.d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.Service.Context.ServiceExecuteWithTimeout.<>c__DisplayClass6_0`1.<g__ExecuteAndCatchInnerExceptionAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at WebCon.WorkFlow.Service.Context.ServiceExecuteWithTimeout.d__6`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebCon.WorkFlow.Service.StartRecurrentAction.Queue.RecurrentActionsManager.d__23.MoveNext()

Nobody has replied in this thread yet.
Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings