Hi All
I export the report from orchestrator queue and i got the excel like this
is any option available to deserialize the json and get the string values with all the details in the report?
Hi All
I export the report from orchestrator queue and i got the excel like this
is any option available to deserialize the json and get the string values with all the details in the report?
You can postprocess the result
We would assume that a common structure is to expect and maybe a postparsing into a datatable will serve
Can you explain in details?
can you share sample data?
{“DynamicProperties”:{“PatientAccountNumber”:“1000.0-1”,“PatientName”:“XXXX, YYYY”,“PlanGroupName”:“Aetna”,“PlanRecordId”:“T001\r”,“TransmissonMode”:“F”,“AddressLine”:null,“City”:null,“State”:null,“PhoneNumber”:null,“ZipCode”:null,“FaxNumber”:“1234563”,“JobQueueTransactionId”:“99cdf826-7213-4215-8d9a-af5b7f2197aa”}}
Is this okey or should i share the excel?
Hi @divya.17290
To extract data from a JSON representation within an Excel sheet in UiPath, you can follow these general steps:
Thanks!
Hi @divya.17290
you can use following steps:
Read Range: Read the Excel data into a DataTable (e.g., dtExcelData).
Deserialize JSON: Use the Deserialize JSON activity. Set the InputString property to dtExcelData.Rows(0)(“ColumnName”).ToString(), where “ColumnName” is the name of the column containing the JSON data.
Access Deserialized Data: You can access the deserialized JSON data as a Dictionary or JObject, and then extract values as needed.
Actually you can directly get the data using get queue items api…and then use deserialize json to get each value as needed
Or pass this string to deserialize json and from output jobj("DynamicProperties")("PatientName").ToString
will give the name similarly get other details
Cheers