Hi, I am using allegro thick client application to automate the process, And i would like to save to screenshot in the format ApplicationName_MachineName_Current date/Time whenever the script fails.I am currently using 5 different locations to run the application,
so i have create a asset in orchestrator and gave the path like
for atlanta location VM- “C:\XOM\Temp\RPA\AllegroHorizon_Atl01_”+DateTime.now.tostring(“ddMMyyyy-hh-mm-ss”)+“.jpeg”
for Dallas location VM-
Whenever i run the job through orchestrator it says- Save Image: Save image failed. Check if the file name is a valid path.
The same path works without using asset but not after using asset activity. . Is it because of double quotes in the path?? but if i don’t use double quotes then how i will add date time logic in the path?
the machine is connected to the orchestrator
Also this save screenshot activity is in catch block, as once there is an exception then only screenshot activity will take place