How can I trim a filename in FullSwitch? Let's say I want to remove everything before and including an underscore character.
I played with attaching [Job.Name:After=_] to the JobState of a folder specifically created for staging the file renames, but that doesn't actually rename the file itself.
Any way to do this without scripting inside the actual workflow? If not, what would be your recommended workaround?
Thanks!
Renaming Files in FullSwitch
Renaming Files in FullSwitch
JohnPCS wrote: How can I trim a filename in FullSwitch? Let's say I want to remove everything before and including an underscore character.
I played with attaching [Job.Name:After=_] to the JobState of a folder specifically created for staging the file renames, but that doesn't actually rename the file itself.
Any way to do this without scripting inside the actual workflow? If not, what would be your recommended workaround?
Thanks!
John,
You can use the 'rename job' element using the same variable.
Bert
I played with attaching [Job.Name:After=_] to the JobState of a folder specifically created for staging the file renames, but that doesn't actually rename the file itself.
Any way to do this without scripting inside the actual workflow? If not, what would be your recommended workaround?
Thanks!
John,
You can use the 'rename job' element using the same variable.
Bert
Renaming Files in FullSwitch
Perfect! Thank you. Works great... not sure how I missed it to begin with, but I appreciate you pointing me in the right direction.