Highlighted
Absent Member.
Absent Member.
719 views

Send email with IM Attach's using connect.it

Hi all,

I need to send a email (notification engine) with all IM attachs. I know that we can manage this with connect.it! Does any one have an example of a connect.it scenario?

Cheers,
JMenino
0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

Re: Send email with IM Attach's using connect.it

Hi,

please see atached doc.


Hope this help



Juan
If you want peace... prepare for war!
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Send email with IM Attach's using connect.it

Juan, Thanks for the reply.

I have done what you suggested but I get a few errors:

Network error (send(),errno=10054)
The connection to the process executing the connector 'ServiceCenter (12670)' has been broken. The current actions will be stopped.

Any ideas?
Cheers
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Send email with IM Attach's using connect.it

Joao,

I don't know how familiar you are with C-IT documents and SC event types.
I will try to explain in a simple way what I had to do when I faced this issue. I hope it is helpful for you.

Which event type are you using to send mail via C-IT? If you're using "email", then you cannot easily handle attachments.

What I do is to generate an "epmu" event in the eventout queue when I need to send a notification that may have attachments. (To create the epmu event you use axces.write subrutine form format control. See the event registration record for epmu, for information on how to create an event of this type)

You can use pmu/pmo/pmc instead, if you like, but I use that one for other purposes, so I picked epmu for output email.


In the C-IT scenario, read this epmu documents and map the fields you need to build your email (ex. "brief.description"->"subject", etc)

This is how to create and use events different form type "email" to send emails through C.IT.
Now we need to solve how to handle attahments 😉

To be able to use attachments for the epmu document, most probably, you will need to modify your config file in:
C:\Program Files\HP\Connect-It 3.81 unicode en\config\sc\config

Mine is called scdb52.cfg, but it depends on the SC version you're using.
I added this piece of code to enable epmu events to handle attachments:
===========================
// Configure the epmu output evnet to handle attachment
{ STRUCT epmu
NODETYPE = EVENT

{ STRING number
MANDATORY = 1
}

{ ARRAY activity
NODETYPE = TABLE
MODEIN = 0
CIRCULAR = activity
PIFLINK = number = @{..number}
}

{ ARRAY attachments
CIRCULAR = ATTACHMENT_TEMPLATE_EVENT
NODETYPE = BLOB

// Not displayed for the output event pmu
MODEOUT = 0
BLOBTYPE = 5
BLOBFORMAT = SC

// Insert the attachment in the event
BLOBRECONCTYPE = EVENT
APP = eventin
}

{ ARRAY attachments_output_event
DISPLAYNAME = attachments
MODEIN = 0
CIRCULAR = ATTACHMENT_TEMPLATE_TABLE
NODETYPE = BLOB
BLOBTYPE = 5
BLOBFORMAT = SC
APP = probsummary
PIFLINK = @{..number}
}

{ ATTRIBUTE AllFields
EXCEPTION = number
}
}
===============================

After you do so, you will be able to see a collection "Attachments" for the epmu document in C-IT. Then, you just need to map the attachments from the epmu document into the attachments in the email output document.

Hope this helps.
Yolanda

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Send email with IM Attach's using connect.it

Hi all,

Thanks for all the answers.

It works fine. Next step receiving attachs!

Cheers
Jmenino
0 Likes
Highlighted
New Member.

Re: Send email with IM Attach's using connect.it

Dear,

 

I am not able too see the attachemnt , kindly provide the document

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.