Skip to main content
Question

Using system caller to change a folder name


Forum|alt.badge.img

I'm trying to change the name of a folder when running a workspace. I would like it to update the folder name from [job name_YYYYMMDD] to put in the date of when the workspace is run.

I tried using system caller however it doesn't seem to work: below is a screenshot of my command line:

I know @DateTimeNow() doesn't have the date format I'm looking for, does anybody know how I can update that as well?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • June 17, 2020

To get the correct date format you can use

"@DateTimeFormat(@DateTimeNow(),%Y%m%d)"

I'm not sure why you statement isn't working otherwise, I take it the Job Folder parameter is the full path?


david_r
Celebrity
  • June 18, 2020

As mentioned by @ebygomm, verify that the parameter "Job_folder" contains a full path.

If that does not work, please post the relevant log messages here.


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