Question

Using system caller to change a folder name


Badge

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

Userlevel 1
Badge +10

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?

Userlevel 4

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.

Reply