Outbound FTP filename
There is nothing native that allows for easy manipulation of document/process properties. Most straightforward way would be to get the document property, manipulate the string, then save into a document property via Groovy/Data Process shape.
Document property scripting names
Document properties access with scripting
How to access Dynamic Document Properties using Groovy
Thanks for the reply Lee.
I solved the problem by just creating a Map Function to do the manipulation of the received filename and store the result in the Dynamic Process Property, later to be used in a Set Properties Shape to set the outbound filename. It seems I needed at least one input or one output for my map function to be triggered in the Map, so I just added a dummy input with a dummy usage.
This is what I have done, below are few glimpses of the work
Your method also works but using a Map shape/function is little tedious and little difficult manage.
Another suggestion: take that same map function and use it within a Business Rules shape instead of a map so you don't have to worry about mapping the acruel data.
See How to manipulate properties without a Map shape
Retrieving data ...