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.

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.