Hello Uipath
I get this error When am Try to use the create a form to Assine the value through orchestrator.
Example: Like the requirement is we have to assign the data from the orchestrator subject and body so I use to create form task and wait for the resume activity I use a few days back its work fine but now its through error I don’t know why please help me
Message: Cannot serialize the DataTable. DataTable name is not set.
Exception Type: System.InvalidOperationException
RemoteException wrapping System.InvalidOperationException: Cannot serialize the DataTable. DataTable name is not set.
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.Activities.WorkflowApplication.IdleEventHandler.OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, Boolean isStillSync)
at System.Activities.WorkflowApplication.EventFrame(IAsyncResult result)
Actually, I saw this solution in the Uniform You only suggest that but, I use two data table to hear if I use this one I get an error in another data table Like the table one is Config I use that in the dictionary check bellow screenshot and another one is ExcelSheet Datatable What to do for that
the scenario is not clear in total. If a second datatable need a tablename as well, just assign it after readin. In case of a key not present exception go for debugging and analyze it more in detail, if the issue cannot be sorted out by code review.
Maybe your question targets a different scenario, then just elaborate more on the details of your case. Thanks
Actually, I use that assign activity for both tables at that time its work but the thing when I use that in the send mail activity like String.Format(out_Config("Body").ToString,Email("Name").ToString,Body.ToString) hear OutConfig is a directory out_Config("Body") comes from Config Database and Email("name") is come from ExcelSheet Database. Exact in this code i get the error when am use assign activity
RemoteException wrapping System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key)
at UiPath.GSuite.SimpleObjectContainer.GetServiceT
at UiPath.GSuite.Activities.GoogleBaseClientActivity.GetGoogleService[T](ISimpleObjectContainer objectContainer)
at UiPath.GSuite.Activities.GoogleClientActivity.GetGmailServiceProxy(ActivityContext context)
at UiPath.GSuite.Activities.SendEmail.d__40.MoveNext()
— End of stack trace from previous location where exception was thrown —
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.ContinuableAsyncCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)