April 21, 2009, 05:23 PM
Don GarlandIWAY Service Manager 5.5 - Email Listener Capturing the attachment name
Has anyone tried to grab the file name of the attachment and use it. If I configure the Service Object for handling an email attachment with Type: "iwMAILATTACH" and Properties: Attachment "attachment", Enconde "false", Target "file", Output Dir "\here" Output File " " and Delete Mail Object "true" then I get the file attachment in the native format with the file name. This is a good thing except I need to put a timestamp or a number on the file name and I'd like to store the original file name in a table. But if I put anything in the "Output File Name" option, I lose the original file name. I'm wondering if there is a special register that I can use to trap that attachment file name.
April 27, 2009, 11:30 AM
DarksiderHi Don,
After your Email Service Object, Drop a iwQAAgent (com.ibi.agents.XDQAAgent) in the flow, give it a file name and change *When to Always. This provides you with all the SREGs that are in play during the document lifecycle. It should provide you with the original attachement name as part of an SREG.