You are on page 1of 3

Workflow Notification

Purpose
The Java Workflow can provide notifications using either the KM notification service or the JavaMail transport service. Notifications are sent to the tracker(s) of a task. Java Workflow (JWF) provides it's notifications using one of two mechanisms, which can be specified in the Workflow configuration: If installed with Knowledge Management (KM), JWF will use the KM Notification service, which can be configured to use various channels including Email and internet. Additionally, JWF can use JavaMail to provide notifications. This option is available whether KM is installed or not. If Javamail is to be used, a mail server and any required authentication must be entered in the Workflow configuration. When a task is created using the JWF wizard, the creator can specify the conditions under which notifications are to be sent: Never When a task has completed When a task has completed or been updated or is overdue. Following is an example of a JWF notification.

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 JWF Notification Task Details Task Name Status Completed By Priority Creator Time created Time due Completion Progress Task Notes Values (updated values are displayed in bold) ST2 Approved admin, admin Low admin, admin 2005-01-21 10:24 2005-01-28 00:00 100% Some notes

Configuring JavaMail Notification


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

Navigate to System Administration Workflow Workflow Engine

System Configuration

Universal Worklist and

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

If using the KMC Mail Notification, the Notification Service should be : com.sap.workflow.es.notificator.KMNotificationServiceProxy Now navigate to System Administration Workflow Workflow Mail Configure the parameters. Parameters for Mail Configuration Parameter From Host POP3 Host POP3 Password Description Mail sender (will be copied to From field of sent messages) A single mail server which handles both incoming and outgoing mail. Name of mail receiving host - mail is retrieved from this server by your Email client. 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. See POP3 Password above. 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 to use, for example, SMTP. Name of SMTP server host (typically used to send Email only). Statement appearing as the default subject in the mail Userid used to connect to server; not needed if server is not secure Yes / No System Configuration Universal Worklist and

POP3 User Password

Protocol SMTP Host Subject User Debug Mode

You might also like