Page 1 of 1

Pickup filename in submit point (or later)

Posted: Fri Nov 04, 2011 2:14 pm
by jan_suhr
I am setting up a flow where the customer submit files from PitStop connect to a Switch submit point.



At the end of the flow some emails are sent. However the Mail send pickup the filename of the report since that triggers the mail.



I have tried to find any varible for the jobs filename but haven't found any that works.



The submit point has some META fields that the submitter has to fill out and all that Meta data is then used at the end of the flow for sorting and email.





Saw in another thread some discussions about this and there was a non-working link to an example that should solve this.





Jan

Pickup filename in submit point (or later)

Posted: Tue Nov 15, 2011 10:10 am
by jonasy
I assume that the report is named Filename_Report.pdf?



Then you can use the following variable to get only Filename, it will strip the underscore and everything after it.

[Job.NameProper:Before=_]

Pickup filename in submit point (or later)

Posted: Tue Nov 15, 2011 11:09 am
by jan_suhr
Yes your assumption is correct.



Thanks for the tip, I was thinking that something like that would be the trick.





Jan