10-11-2010 03:33 AM
I using Connect-It scenario for fetching inbound mails and create interactions from it, using Service Manager Web Services connector. It is working well except if it process mails that contains more than one attachments. In this case the scenario create individual interactions (with the same other details) as many attachments has the original mail (and each interactions contain only one attachment from the original attachment collection). Of course it isn't acceptable way of mail processing, but I really got shucked to solve it. I appreciate any help advice and suggestion.
Our environment's details:
SM RTE: 7.11.281
SM db: 7.11
Solved! Go to Solution.
10-11-2010 08:09 AM
follow the steps below to fix the issue as i had same issue.
In order to tell Service Manager to expect Attachments, the following elements must be mapped:
A value of 1 would indicate to Service Manager that you want to have the attachment echoed back after processing. Most of the time this would not be true, so a vaue of 0 should be used. A value of 1 will cause additional processing to take place, use additional memory, and will take additional time. It is important to note that when using attachments, these elements do need to be mapped. In other words, not having the elements mapped is different than providing a zero value them. If they are not mapped, they are not part of the document sent to Service Manager, and Service Manager will therefore assume no attachments exist.
You need to map the source attachment BLOB to the destination 'Attachment' collection.
You also need to map these elements within the destination 'Attachment' collection:
action RetVal = "add"
attachmentType from source element [From.Type]
charset usually "UTF-8"
href from source element [MailInfo.UniqueID] & PifGetInstance
len minimum value is 1
name from source element [Attachment.FileFromMail]
type from source element [MimeType]
10-13-2010 03:29 PM
Sorry to reply to your thread. Just want to ask some help from you. I am also would want to do the kind of scenario that you're doing but I'm getting problems. I have open a thread for this.
But instead of emails, I've used text delimited file as test because I don't have access to the email system.
Can you please have a look at my thread or if you have a basic scenario that I can see. I'm pretty new to Connect-it.
Thanks a lot for any help.
05-03-2011 08:50 AM
I using Connect-It scenario for fetching inbound mails and create interactions from it, using Service Manager Web Services connector, the interaction is opened but without attachment, and also if there is more then one attachment, i get more then one interactions opened in SM, i use connect-it 9.20 SP1 and SM 7.11.333
can you help me please
you find in attachment a screenshot of my connect-it scenario
05-04-2011 01:23 AM
Set "attachmentData" and "attachmentInfo" field value to 1, and additionally have to fill all xml query fields with quote marks (""), as you see in the attachment. As I see all other things are correct.
05-06-2011 06:50 AM
thanks for your replay
i still have the same error, the interaction is opened but without attachment, no error on the connect-it interface (document genereted succefull)
any thing to do on the SM?
thanks in advance for your help
05-07-2011 12:41 AM
finaly i found the issue, there is a validation configured in SM format control 'subscription', now it's work fine but when i send an email with more then 1 file there is two interaction opened with the same value but with defernt attachment
05-07-2011 11:18 AM
We are using a similar environment but our inbound emails from Exchange are mapped to create incidents (IM). We also capture the body of the email and display it on a custom form as a separate custom tab on the IM screen. However I do have an issue where all of the formatting and HTML tags are stripped out of the incoming email body by Connect-IT. Is there a way to prevent Connect-IT from stripping out the formatting and HTML tags?
11-27-2013 04:33 AM
I am facing similar issue in my SCN. Were you able to solve the issue of creating multiple interactions for multiple attachments?
If you can share you SCN file with me, it would be great
01-21-2015 03:54 AM
I kept finding this thread while looking for the answer for mutiple attachments creating multiple interactions, so I'll put the answer in here:
Under the attachment element, "source for this collection mapping"="Attachment", this is correct.
but under "create Interaction" right at the top, this is also set to "source for this collection mapping"="Attachment", this is wrong, delete it.
01-21-2015 04:23 AM
Could you please share your scenario, i have gotten to point where no more multiples, however I have an issue where interaction created only has the first attachment. It doe snot take the rest of the attachments