@Monali_Vekariya
I just Changed the structure now
Used Default document extracion service task to extract and passig out to create task
Getting error as
{
“code”: “Robot”,
“message”: “Failure in the Orchestrator Job”,
“detail”: “System.Exception: Invalid format for argument ‘in_documentData’: Could not create an instance of type UiPath.IntelligentOCR.StudioWeb.Activities.DataExtraction.IDocumentData1[UiPath.IntelligentOCR.StudioWeb.Activities.DataExtraction.ExtendedExtractionResultsForDocumentData]. Type is an interface or abstract class and cannot be instantiated. Path 'ExtractionResult', line 1, position 20.\n ---> Newtonsoft.Json.JsonSerializationException: Could not create an instance of type UiPath.IntelligentOCR.StudioWeb.Activities.DataExtraction.IDocumentData1[UiPath.IntelligentOCR.StudioWeb.Activities.DataExtraction.ExtendedExtractionResultsForDocumentData]. Type is an interface or abstract class and cannot be instantiated. Path ‘ExtractionResult’, line 1, position 20.\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\n at UiPath.Platform.NetCore.ResourceHandling.IResourceConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\n at UiPath.Executor.ExecutorUtils.DeserializeArguments(Activity workflow, IDictionary2 arguments, Boolean shouldThrow, IList1 converters) in /mnt/_work/2/s/Studio/Robot/UiPath.Executor.Core/Utilities/ExecutorUtils.cs:line 50\n — End of inner exception stack trace —\n at UiPath.Executor.ExecutorUtils.DeserializeArguments(Activity workflow, IDictionary2 arguments, Boolean shouldThrow, IList1 converters) in /mnt/_work/2/s/Studio/Robot/UiPath.Executor.Core/Utilities/ExecutorUtils.cs:line 57\n at UiPath.Executor.Core.WorkflowBuilder.Build() in /mnt/_work/2/s/Studio/Robot/UiPath.Executor.Core/WorkflowBuilder.cs:line 92\n at UiPath.Executor.RobotRunner.BuildWorkflow() in /mnt/_work/2/s/Studio/Robot/UiPath.Executor.Core/RobotRunner.cs:line 360\n at UiPath.Executor.RobotRunner.InitWorkflowApplication() in /mnt/_work/2/s/Studio/Robot/UiPath.Executor.Core/RobotRunner.cs:line 344\n at UiPath.Executor.RobotRunner.ExecuteJob(Boolean preLoaded) in /mnt/_work/2/s/Studio/Robot/UiPath.Executor.Core/RobotRunner.cs:line 629”,
“category”: “System”,
“status”: 502,
“response”: null,
“element”: null
}