You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

User notification feature is used to notify users on new tasks. It is to be implemented at the application level thus allows greater customization of its notification content.

It is a one-time setup process and this plugin will be called every time a new task is created.

You will need to specify the email server settings first as what the example below shows.

Secondly, you will need to customize the email content. Remember to keep the email message generic as it will be used by all process activities in the application.

In the third tab, you will be able to customize the task link found in the email message. This is for you to customize the link to point to the relevant userview for the users to execute their said task.

As an example, presumably you have created a userview with a Inbox element at the following path:-

 http://localhost:8080/jw/web/userview/leave_request_app/leave_userview//inbox

In the URL attribute, you will need to key in the following:-

  http://localhost:8080/jw/web/userview/leave_request_app/leave_userview//inbox?_mode=assignment 

In the Parameter Name attribute, key in "activityId" and choose "As URL Request Parameter" for the Parameter Passover Method attribute.

As a result, the link would be constructured to be like the following:-

  http://localhost:8080/jw/web/userview/leave_request/leave_userview//inbox?_mode=assignment&activityId=21497_21111_leave_request_leave_request_activity1

You are basically done with the setup.

In the next tab, you will be presented with the ability to exclude activities from sending out the notification email.

For example, in our use case here, we should exclude "Leave Application Process - Submit" activity as the user who starts the process would be seeing this activity right it thus there's no need for the system to send out the notification email.

  • No labels