Hello, I have data table on excel and simple Json array, I am trying to fill my “RESULT” column with condition if date on datatable match with date on Json, Write TRUE, if not, write FALSE.
can anyone help? Thanks
Hello, I have data table on excel and simple Json array, I am trying to fill my “RESULT” column with condition if date on datatable match with date on Json, Write TRUE, if not, write FALSE.
can anyone help? Thanks
Try this:
Use Deserialize JSON activity to read the JSON file and the output is JSON Object.(Download UiPath.webAPI.activities dependeny)
For each row in excel:
if row("DATE") == jsonObject(row("DATE")):
write cell activity: TRUE
else:
write cell activity: FALSE
Note: Here jsonObject means output of Deserialize activity.
Hope it helps.
ISNothing(jobj("Key1")("DatekeyvalfromExcel"))
…this will return true if the fdatekeyvalfromexcrl is not present else falseCheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.