I created an automation a couple of days ago that was working great, even uploaded it to orchestrator and was able to run it. However, I needed to make a quick edit and now nothing is working.
The only change I made was to a couple of variables (just a file path), now I’m getting the error “Main Flowchart: Sequence contains no elements”. Total error statement below.
I tried a restart. I tried reverting all my changes and had no luck. I tried opening a new project and copying everything over with the old variables and still no dice.
RemoteException wrapping System.InvalidOperationException: Sequence contains no elements
1 source) at Namespace_481e.Main_Expressions.Main_Expressions_TypedDataContext2_ForReadOnly.__Expr0Get() at Namespace_481e.Main_Expressions.Main_Expressions_TypedDataContext2_ForReadOnly.ValueType___Expr0Get() at Namespace_481e.Main_Expressions.InvokeExpression(Int32 expressionId, IList1 locations,
at System.Activities.Expressions.CompiledExpressionInvoker.InvokeExpression(ActivityContext activityContext)
1.Execute(CodeActivityContext context) at System.Activities.CodeActivity1.InternalExecuteInResolutionContext(CodeActivityContext context)
at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContext[T](ActivityInstance parentInstance,
1 expressionActivity) at System.Activities.Variable1.PopulateDefault(ActivityExecutor executor,
at System.Activities.ActivityInstance.ResolveVariable(Variable variable,
at System.Activities.ActivityInstance.ResolveVariables(ActivityExecutor executor)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,