I am trying to use the new activities for Microsoft Dynamics 365, the package is UiPath.MicrosoctDynamicsCRM.IntegrationService.Activities = 5.0.0 (I tried the preview dynamics package but SSO was failing).
In the package 5.0.0 the list all records activity returns something other than a data table, and I cannot figure out how to convert the list to a data table
However, The older version of this same activities (package 4.0) creates a usable table when creating the variable (which I can write range with), the project documentation is basically empty so I don’t know where to start here… I wanted to use the older package but I get a system error when trying to use 4.0, Error: "Unable to cast object of type ‘System.String’ to type ‘System.Activities.InArgument’1[System.String]’
Here is a short video, I have not input any arguments yet, or made any adjustments to the elements.
https://www.screencast.com/t/KWwUYTn52
And here is the system error:
22.10.4+Branch.support-v22.10.Sha.b4be88e3b45fb05c4bcd71885c763d4f2095f959
Unable to cast object of type ‘System.String’ to type ‘System.Activities.InArgument`1[System.String]’.
Error: System.Exception: Unable to cast object of type ‘System.String’ to type 'System.Activities.InArgument1[System.String]'. at System.Activities.DesignViewModels.DataSourceBuilder
1.<>c__DisplayClass13_01.<System.Activities.DesignViewModels.IDataSourceConfigured<T>.WithSingleItemConverter>b__1(Object o) at System.Activities.DesignViewModels.DataSourceConfig
1.ParsePropertyValue(Object propertyValue)
at System.Activities.DesignViewModels.DataSource`1.System.Activities.DesignViewModels.IDataSource.CurrentSelection(Object propertyValue)
at UiPath.Studio.Plugin.Workflow.Presentation.AutocompleteWidget.LoadFromViewModelInternal()
at UiPath.Studio.Plugin.Workflow.Presentation.BaseWidgetControl.LoadFromViewModel()
at UiPath.Studio.Plugin.Workflow.Presentation.BaseWidgetControl.HandleViewModelValueChangedInternal()
at UiPath.Studio.Plugin.Workflow.Presentation.BaseWidgetControl.HandleViewModelValueChanged(Object sender, EventArgs e)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2147467262
NOTE the same problem happens with the list all records as well as list records