Skip to main content
Question

Using system caller to change a folder name

  • June 17, 2020
  • 2 replies
  • 44 views

mackenziebudda
Participant
Forum|alt.badge.img+5

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • 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
  • 8392 replies
  • 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.