IMLError Function 'renameFileName' finished with error! Cannot read properties of undefined (reading 'slice')

Hi,

I’m encountering an IML Error while running the attached flow. Here’s the error message:

"IMLError
Function ‘renameFileName’ finished with error! Cannot read properties of undefined (reading ‘slice’) "

I’ve attached the blueprint JSON file for reference. Any insights or suggestions to resolve this issue would be greatly appreciated.

BluePrint: blueprint (1).json (52.9 KB)
Thanks in advance for your help!