Cancel
Showing results for 
Search instead for 
Did you mean: 

How to attach the dataset in the target folders to the notifcation emails

Creator
Creator

Hello Experts,

I am creating a workflow where after release I need to send a notification to a user with the dataset (an excel file) in the target folder of the workflow attached to the notification email.

I have tried to use the EPM-Notify handler with argument "-attachment" and value as "target"

This yields no results.

Does anyone have a solution for this issue?

Thanks in advance.

13 REPLIES

Re: How to attach the dataset in the target folders to the notifcation emails

Phenom
Phenom

Hi Rushi,

from the documentation:
"-attachment
Adds an attachment to a Teamcenter mail. This argument is required for recipients to
receive Teamcenter mail, but does not have any affect on operating system e-mail."

 

So, if you are using Teamcenter Mail, then this is ok.  However, if you are using OS mail (outlook etc) then it wont.

 

Best you can get I think is to use the '-url' argument for OS mail.

 

Regards,

Richard Bennett

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: How to attach the dataset in the target folders to the notifcation emails

Creator
Creator

Hello Richard,

Thank you for the information.

I will try to use the url argument and see how it goes.

Rushi

Re: How to attach the dataset in the target folders to the notifcation emails

Creator
Creator

Hello Richard,

I tried to use the -url argument but it yields no result.

Attached is the snapshot of the notify task handlers and arguments that I have used.

I have also enabled the EPM_notify_url format preferences.

Am I missing something important or something obvious?

 

Rushi

 

Re: How to attach the dataset in the target folders to the notifcation emails

Phenom
Phenom

Hi Rushi,

I found that you have to set a value for the preference:

WEB_default_site_server

 

You then get links in your mail.  See attached.

 

Regards,

Richard

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: How to attach the dataset in the target folders to the notifcation emails

Creator
Creator

It worked! Thank you Richard.

I was wondering if its possible  to get the dataset which is in a workflow to some users Teamcenter mailbox? Can the notify task handle such a request too?

Re: How to attach the dataset in the target folders to the notifcation emails

Phenom
Phenom
Glad you got it working.

From memory, that's what the attachment argument does? You will have to enable Teamcenter internal mail though if you haven't already.

Richard

Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: How to attach the dataset in the target folders to the notifcation emails

Creator
Creator

Hello Richard,

I am using the attachment argument, however, I do not get any email in the TC mailbox.

Please see attachment for details.

Rushi

Re: How to attach the dataset in the target folders to the notifcation emails

Creator
Creator

The current settings for mail_server_name is disabled.

As seen below:

 

Re: How to attach the dataset in the target folders to the notifcation emails

Phenom
Phenom
You need to enable internal mail...

Have you set the preference Mail_internal_mail_activated?

Richard Bennett
Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk