Rename action in workflow doesn't always work

I’m using the rename action to read data from a pdf file and map the data locations to Var/Info# variables (ex: %1 - region(1,0.4658,6.2435,1.4299,6.4441,KeepCase,Trim)) and then use those variables (%1, %2, etc.) to rename the pdf file. However, it doesn’t work all the time:

Strings with odd characters: If there is a “:” in the data, that part gets cut out and all that remains is the data after the “:” (ex: Attn: Smith, John becomes “Smith, John”). How can I keep the full string?

Date string: I want to use the entire date string “6/2/2009 2:35:18 AM” but it gets cut to “18 AM.pdf”. How can I keep the full string?

Colons (:slight_smile: are not a valid character in a file name, so you can’t keep them.

Same with Slashes (/) and Backslashes ().

Those are not limitations of the software but rather restrictions imposed by the Operating System.

Yes, that makes sense. My work-around will be to capture the existing data in a Job Info variable, then use a script to modify it (remove the colons), then update the Job Info variable with the modified string or write it to a new local variable.

Thank you!