filename is changed in schedule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-10-20 10:46 AM
Hi Blueprism somehow the filename is changed to Test_07\10\2020.txt from Test_07102020.txt when you run it in the scheduler.
Greetings
------------------------------
Kristian Holm
RPA programmer
PenSam (Pension Company)
Copenhagen Denmark
------------------------------
Is it blueprism or server/setup who change the date to a fileformat that is wrong.?
Have attached an example and description on the errorGreetings
------------------------------
Kristian Holm
RPA programmer
PenSam (Pension Company)
Copenhagen Denmark
------------------------------
Kristian Holm
RPA programmer
PenSam (Pension Company)
Copenhagen Denmark
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-10-20 03:14 PM
Hi Kristian,
I think that Today() expression is returning a different result. Running it in studio, it is resulting in 07-10-2020, but from the control room, you are getting 07/10/2020. So, a calc stage to remove the dashes does not do anything. You are getting an error when you try to save the file because those backslashes look like a path, but that file path does not exist.
Instead of a calc stage to get the date in the desired format, try using the Format Date action from Utility - Date and Time Manipulation. Still use Today() for the value of the Date Time input, and for your case "ddMMyyyy" for the format.
Let me know if that works!
------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------
I think that Today() expression is returning a different result. Running it in studio, it is resulting in 07-10-2020, but from the control room, you are getting 07/10/2020. So, a calc stage to remove the dashes does not do anything. You are getting an error when you try to save the file because those backslashes look like a path, but that file path does not exist.
Instead of a calc stage to get the date in the desired format, try using the Format Date action from Utility - Date and Time Manipulation. Still use Today() for the value of the Date Time input, and for your case "ddMMyyyy" for the format.
Let me know if that works!
------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-10-20 07:45 PM
Hi Blueprism when you using the format date from Utility - Date and Time object then it is working in the scheduler.
Greetings
------------------------------
Kristian Holm
RPA programmer
PenSam (Pension Company)
Copenhagen Denmark
------------------------------
Greetings
------------------------------
Kristian Holm
RPA programmer
PenSam (Pension Company)
Copenhagen Denmark
------------------------------
Kristian Holm
RPA programmer
PenSam (Pension Company)
Copenhagen Denmark
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-10-20 03:52 PM
Hi Kristian,
Have you run scheduler from same machine ?
You can add below logic in your process
- if found "\" then replace with "_" or blank (input will be 23\10\2010 – Output will be 23_10_2010 or 23102010 according to your condition)
- If found "-" replace with "_" or blank (input will be 23-10-2010 – Output will be 23_10_2010 or 23102010 according to your condition)
I hope it will help you.
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Nilesh Jadhav.
Consultant
ADP,India
Consultant
ADP,India
