My Forms output is this…
{
“givenValueOfOption”: “option1”,\r\n
“submit”: true,
“container”: {
“givenExcelFile”: “C:\\Users\\TEST\\Documents\\UiPath\\Excelfile 1.xlsx”
}
}
When i use Assign to extract file name then i get error - Object reference not set to an instance of an object.
My assign look like this
str_exelFile = jsonOutput(“givenExcelFil”).ToString
the assign I did on givenValueOfOptione is working perfekt and show me the value option1 but file path assing is giving error.
this is jsonoutput in write line activity…
{
“givenoption”: “option1”,
“submit”: true,
“container”: {
“givenExcelFile”: “C:\Users\TEST\Documents\UiPath\6-FerieUge\ExcelFile 1.xlsx”
}
}