Start of Content Area

Background documentation Email  Locate the document in its SAP Library structure

Configuring Email Notification

To get Email to work in conjunction with Workflow the following configuration is required. Steps to configure the Email notification:

...

       1.      Navigate to System Administration  ®  System Configuration  ®  Universal Worklist and Workflow  ®  Workflow ®  Engine

       2.      Change the Notification Service to: com.sap.workflow.es.notificator.JavaMailNotification

       3.      Save.

Note

If using the KMC Mail Notification, the Notification Service should be : com.sap.workflow.es.notificator.KMNotificationServiceProxy

       4.      Now navigate to System Administration  ®  System Configuration  ®  Universal Worklist and Workflow  ®  Workflow  ®  Email

       5.      Configure the parameters.

Parameters for Mail Configuration

Parameter

Description

From

Mail sender (will be copied to From field of sent messages)

Host

A single mail server which handles both incoming and outgoing mail.

POP3 Host

Name of mail receiving host - mail is retrieved from this server by your Email client.

POP3 Password

Your POP3 host may require that your mail client (for example, Outlook) provides a user name and password to retrieve mail. This is usually entered in the mail client settings.

POP3 User

See POP3 Password above.

Password

Password for a mail server which handles both incoming and outgoing mail. The User/Password will be needed to fetch received Email to your client and may be needed to send mail.

Protocol

Protocol to use, for example, SMTP.

SMTP Host

Name of SMTP server host (typically used to send Email only).

Subject

Statement appearing as the default subject in the mail

User

Userid used to connect to server; not needed if server is not secure

Debug Mode

Yes / No

Example

Following is an example of a Collaboration Task notification.

Note

The format is not configurable - when a task has been updated or completed, any changed task attribute is displayed in bold. If the third notification option is chosen, task creation is considered an update and will generate a notification. For example: A Workflow task has been completed.

Example of Collaboration Task Notification

Task Details

Values (updated values are displayed in bold)

Task Name

ST2

Status  

Approved     

Completed By

admin, admin

Priority

Low        

Creator

admin, admin

Time created

2005-01-21 10:24

Time due

2005-01-28 00:00

Completion Progress

100%

Task Notes

Some notes

 

Troubleshooting Email Notifications

I do not get any Email notifications when using Collaboration Task. What needs to be configured in order to receive Email notifications through the KM notification service?

...

...

       1.      Check that for the process creator a (correct) Email address has been configured:

Log on as a user with administrator rights and go to User Administration  ® Search

       2.      Check that for the workflow system a legitimate Email address has been configured:

Log on as a user with administrator rights and go to System Administration  ® System Configuration  ® Knowledge Management  ® Content Management  ® Global Services ® Advanced Options  ® Notificator Service.

Edit under Originators notificator. EMAIL, enter a legitimate Email address.

       3.      Check that for the workflow system an Email channel has been configured:

Log on as a user with administrator rights and go to System Administration  ® System Configuration  ® Knowledge Management ® Content Management ® Global Services ® Advanced Options ® Notificator Service.

Edit under Channels Email, for example, enter SMTP as the type and enter the server name. Password should be empty (depending on the server requirements).

 

login as a user with admin rights and go to System Administration ® System Configuration ® Knowledge Management ® Content Management ® Global Services ® Advanced Options ® Notificator Service.

Edit under Channels INTERNET, for example, enter SMTP as the type and enter the server name. Password should be empty (depending on server requirements).

 

Where can I find workflow log and workflow trace files?

WAS 6.20 / WAS 6.30

\usr\sap\<instance name>\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\logs

For example, \FP5\JC02\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\logs

 

See also:

Workflow Notification Settings

 

End of Content Area