Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Introduction

User Notification is a Plugin Default Properties to automatically send assignees email notification on every new activity tasks. Plugin Default Properties allows you to pre-select and set properties for plugins that you intend to use in your application.

User Notification is implemented at the application level and allows for greater customization of the notification content. A one-time setup process, this plugin will be called every time a new activity task is created. If you use User Notification plugin, you do not need to create the tools for Emails in your process design.


User Notification Properties

Configure User Notification

NameDescription
CC

Fully qualified address is expected.

Multiple values can be accepted by separating them with semicolons.

Info

CC: lets you send a copy of a message to someone who's interested, but is not the primary recipient.

Figure 1: User Notification Properties

SubjectGeneric email subject to be used across all newly created assignment.
Email Message

Generic email message to be used across all newly created assignment.


Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This is a new feature in Joget Workflow v6.

You can use the special hash variable #assignment.link# to anchor the task hyperlink at a specified line in your email message.

By default, the task hyperlink will appear at the bottom of the email message.

HTML Content?Click checkbox to enable HTML content in email message, especially if you provide the "Link Name" as a hyperlink.
NameDescription
URL

 URL

Info
titleSample
Include a link that points to a Userview Inbox.
http://localhost:8080/jw/web/userview/leave_request_app/leave_userview//inbox
In addition, you will need to include the extra parameter below in order for the assignment to show up.
http://localhost:8080/jw/web/userview/leave_request_app/leave_userview//inbox?_mode=assignment

Figure 2: User Notification Properties - Notification Link

Link Name

 Link label to open the assignment. Click the "HTML Content" checkbox to enable HTML content in email message if you provide the "Link Name" as a hyperlink.

Parameter Name
Activity Instance ID will be passed to this parameter.


Info
titleSample

If you are pointing to an Inbox element in URL attribute above, then you should set this to:-

activityId

Parameter Passover Method
  • None
  •  As URL Request Parameter
  • Append to URL


Info
titleSample

If you are pointing to an Inbox element in URL attribute above, then you should set this to:-

As URL Request Parameter

SMTP Settings

NameDescription
Base URLSpecify the server context path.

Figure 3: User Notification Properties - SMTP Settings

From

Sender email address to send email to the assignee and/or CC.

Info
titleExample

no-reply@your-company-name.com

SMTP Host

Email Server SMTP Host

Info
titleExample

smtp.gmail.com

SMTP Port

Email Server SMTP Port

Info

Typically, port 465 for SSL security option and 587 for TLS

Security
  • None
  • TLS
  • SSL
SMTP Username

Email Server Account Username

Info

On Google email account, use your full email address.

SMTP Password

Email Server Account Password

Info

Password submitted will be encrypted for security reason.

Web Push Settings

NameDescriptionScreens (Click to view)

Disable Web Push Notifications

Click the check box to disable mobile web motification

Attachments

If the form you used for the workflow process contains an image or file attachment, you can configure these properties to include the attachments in the email.

NameDescriptionScreens (Click to view)

Form

Select the Form containing the file or image attachment.

Form Upload FieldsSelect the field ids containing the file or image attachments. You can add more than one attachment field.
FilesConfigure here if you want to attach specific files file the Joget server, via "system path" or "URL".

Advanced

NameDescriptionScreens (Click to view)
 Activity ExclusionInclude activity that you do not wish to notify its assignee.

Figure 4: User Notification Properties - Advanced


Download Demo App

View file
nameAPP_user_notification_file_upload_attachment_dx_kb.jwa
height150

...