Hello @Madhavi, @Lahiru.Fernando, @Pablito and everyone,
Since the last time, I didn’t found the solution to my problem.
To precise it’s only when the program should to trigger my customized activity. The code is exactly the same, work on user machine but not on my VM. I tried on an other VM, and I have the same result.
You could see below the error message with details and the code on visual studio. With that are you able to tell what’s wrong?
Thanks a lot
Error message in attach file, and below the details :
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at XXXXXXX.RPA.Uipath.XXXXX.EditContract.MappingKeys(Dictionary`2 infoList, ScriptObject scriptObject)
at XXXXXXX.RPA.Uipath.XXXXX.EditContract.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)