Level 1 Training exercise Simple Flow Decision - can't open Notepad

My future as an RPA developer is already in peril!

Trying to open Notepad.exe, write either “Correct” or “Incorrect” into the file, and then close it, but I am repeatedly informed:

Source ‘notepad.exe Document’
Message: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Exception Type: System.BadImageFormatException

Suggestions, please?

@mjtierney If you trying to open an existing text file, pass it as a argument in “Open Application” activity. This should resolve the error for you.

OpenNotepad.xaml (6.2 KB)

2 Likes

Thank you, that worked!!!

2 Likes