Pickup filename in submit point (or later)

Post Reply
jan_suhr
Member
Posts: 57
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Pickup filename in submit point (or later)

Post 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
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
jonasy
Member
Posts: 30
Joined: Tue Feb 01, 2011 11:50 am

Pickup filename in submit point (or later)

Post 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=_]
jan_suhr
Member
Posts: 57
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Pickup filename in submit point (or later)

Post by jan_suhr »

Yes your assumption is correct.



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





Jan
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
Post Reply