As on the date of writing this entry, the latest BPM release is 11.1.1.6 (also called the PS5). If you have ever wondered or had issues in sending 'HTML' email notifications from BPM 11g using the 'Notification' activity, here is a workaround to get the HTML email notifications working.
In your BPM process drag and drop the 'Notification' activity from the activity pane and configure the settings. This will create a 'BPM-Notification Service' web service adapter with a set of operations (for different communication channels) under the 'External References' swim lane of the Composite editor. If you closely notice, there is no way to explicitly specify the 'Content Type' using the default 'Notification' activity and hence all emails are by default are 'text/plain' types.
To overcome this issue, drag and drop a service task and refer to the 'BPM-Notification Service' web service and under 'Data Associations' expand the 'Content' section of the notification service and map the 'ContentType' element to 'text/html' along with other configuration details such as 'fromAccount', 'to' etc..
Essentially what we are trying to achieve here is that to explicitly specify the email 'contentType' by leveraging the service task 'Data Association' capability.
Now, all your message content with HTML tags for formatting such as <BR> will take effect and the email messages would be HTML formatted.
In your BPM process drag and drop the 'Notification' activity from the activity pane and configure the settings. This will create a 'BPM-Notification Service' web service adapter with a set of operations (for different communication channels) under the 'External References' swim lane of the Composite editor. If you closely notice, there is no way to explicitly specify the 'Content Type' using the default 'Notification' activity and hence all emails are by default are 'text/plain' types.
To overcome this issue, drag and drop a service task and refer to the 'BPM-Notification Service' web service and under 'Data Associations' expand the 'Content' section of the notification service and map the 'ContentType' element to 'text/html' along with other configuration details such as 'fromAccount', 'to' etc..
Essentially what we are trying to achieve here is that to explicitly specify the email 'contentType' by leveraging the service task 'Data Association' capability.
Now, all your message content with HTML tags for formatting such as <BR> will take effect and the email messages would be HTML formatted.