Skip to main content
Solved

Automation Anywhere 360 - illegal char : Trying to add date to file name


Forum|alt.badge.img+2
  • Cadet | Tier 2
  • 1 reply

 

Hello,

Can someone please assist me with this? I believe I have tried everything.

I would like to add the date/time to the file name so the user can read the log file name and know when the bot ran. However, when I run the bot, I get the below error in the 2nd screenshot:

I have tried removing the colon, but still get an error. 

Best answer by Kolupuri.L1

Hi Dear,

 

please use the custom format  while converting system date to string and try saving the file name.The reason for error may be invalid characters in date of file name. verify that too

refer the Image attached.

Thanks,

Likhitha

View original
Did this topic help answer your question?

2 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • May 8, 2023

Hi @hshtx ,

Please follow the below 

FilePath/$System:Day.Number:toString$_$System:Month.Number:toString$_$System:Year.Number:toString$_$System:Hour.Number:toString$_$System:Minute.Number:toString$.extension (for example .csv or .txt...etc)


Forum|alt.badge.img
  • Cadet | Tier 2
  • 1 reply
  • Answer
  • May 8, 2023

Hi Dear,

 

please use the custom format  while converting system date to string and try saving the file name.The reason for error may be invalid characters in date of file name. verify that too

refer the Image attached.

Thanks,

Likhitha


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings