Job stopped with an expected exit code when reading data from excel file and storing it in a dictionary

Hi I am new to UIpath and facing this following issue when storing value from a excel to a dictionary, "Job stopped with an expected exit code "
Steps I am doing

  • assign the dictionary
  • Excel application scope
  • for each loop for Datatable and storing it in a dictionary
  • using a message box to show dictionary value

Please check the attached screenshots too and HELP ME Out !!!

Hello @Tania_Sahu

Kill all excel process and try again. To do so, add “kill process” activity, process name “EXCEL” at the begining of your workflow.

1 Like

If it executes assign activity and fails only at excel scope,you may try be introducing a delay between these two activities…if it didnt work,try killing excel process before starting the excel scope…

If anyone of the above doenst help,might need to make few updates