JusticeWeb Notifications¶
When a request has been sent using JusticeWeb, a notification can be sent to the user to inform them of the status of the request. The Notifications snap-in is where you can configure that notification and define which message gets sent with which status.
The JusticeWeb Notifications are designed to integrate seamlessly with JustWare Notifications.
Attention: You will need to create a notification template in JustWare | System Administration | Tools | Notifications in order to use them in JusticeWeb Notifications. For information on how to complete this see JustWare Notifications.
- In JusticeWeb System Administration | Configuration | Notifications add a new record.
-
Enter information in the fields provided. Fields with an asterisk (*) are required.
Field Description Notification Template Select the notification template from the drop-down list provided. This list is populated from templates created in JustWare. Request Type Select the request type that will use this notification template. Request Status Select the request status that will use this notification template. For example, you could set the Request Type to "New Account" and set the Request Status to "Approved" to have a notification sent to the user stating that their account request has been approved. -
Repeat Step 2 for all request types and request statuses you wish to have notifications attached to.
- Save the Session. (Click Save button or
Ctrl
+S
)
Note: If you do not want a notification sent for a certain type of request type, do not fill in a row for that request type.
Creating Custom Notifications¶
If one of the default notifications does not meet your needs, you can create a custom notification using the Notification snap-in in JustWare | System Administration | Tools | Notifications.
When creating a custom notification for JusticeWeb, some custom parameters can be used. To create a custom parameter, use the @ sign followed by the Notification Code located in the Field Properties tab in the Pages snap-in container. For example, to have a notification insert the first name of a JusticeWeb user make sure that the First Name field in the Fields snap-in has a Notification Code of FirstName and insert the following text into the template: @FirstName.
Some codes are hard coded into JusticeWeb. You do not need to create new codes to reference these parameters:
- @Username
- @ERROR
To use these codes in notifications, use the @ before the code name. For example, @Username.
Notification Examples¶
The following are examples that can be used to send notifications from JusticeWeb. Each example provdes step-by-step instructions to create notifications to be used in conjunction with JusticeWeb.
JusticeWeb Account Request in Queue
Use this notification to inform the user that their JusticeWeb account request has been received and is pending approval.
- In JustWare Notifications | Notification Template add a new record.add a new record.
-
Enter the following information in the fields provided:
Field
Data
Template Name
JusticeWeb Account Request in Queue
Template Datasource
Leave this field blank for this example.
Default CC Address
Specify a default CC email address if desired.
Subject
JusticeWeb Account Request in Queue
Template
The JusticeWeb account you have submitted has been received and is in the Request Queue pending approval.
Username: @Username
First Name: @First
Last Name: @Last
-
Save the Session. (Click Save button or
Ctrl
+S
) -
In JusticeWeb System Administration | Configuration | Notifications add a new record.add a new record.
-
Enter the following information in the fields provided:
Field
Data
Notification Template
Select "JusticeWeb Account Request in Queue."
Request Type
Select the Account Request request type.
Note: This may be named something different in your implementation of JusticeWeb.
Request Status
Select "Queued."
Note: This may be name something different in your implementation of JusticeWeb.
-
Save the Session. (Click Save button or
Ctrl
+S
)The Account Approved notification is set up and live.
JusticeWeb Account Approved
Use this notification to inform the user that their JusticeWeb account has been approved and they can now access JusticeWeb.
- In JustWare Notifications | Notification Template add a new record.add a new record.
-
Enter the following information in the fields provided:
Field
Data
Template Name
JusticeWeb Account Approved
Template Datasource
Leave this field blank for this example.
Default CC Address
Specify a default CC email address if desired.
Subject
JusticeWeb Account Approved
Template
The JusticeWeb account you have requested has been approved. Return to the JusticeWeb Web site and Sign in to your account by typing in the username and password you provided on the Account Request form.
Username: @Username
First Name: @First
Last Name: @Last
-
Save the Session. (Click Save button or
Ctrl
+S
) -
In JusticeWeb System Administration | Configuration | Notifications add a new record.
-
Enter the following information in the fields provided:
Field
Data
Notification Template
Select "JusticeWeb Account Approved."
Request Type
Select the Account Request request type.
Note: This may be name something different in your implementation of JusticeWeb.
Request Status
Select "Accept."
Note: This may be named something different in your implementation of JusticeWeb.
-
Save the Session. (Click Save button or
Ctrl
+S
)The Account Approved notification is set up and live.
JusticeWeb Account Declined
Use this notification to inform the user that their JusticeWeb account has been declined.
- In JustWare Notifications | Notification Template add a new record.
-
Enter the following information in the fields provided:
Field
Data
Template Name
JusticeWeb Account Declined
Template Datasource
Leave this field blank for this example.
Default CC Address
Specify a default CC email address if desired.
Subject
JusticeWeb Account Declined
Template
The JusticeWeb account you have requested has been declined. Please contact the JusticeWeb provider for further clarification.
Username: @Username
First Name: @First
Last Name: @Last
-
Save the Session. (Click Save button or
Ctrl
+S
) -
In JusticeWeb System Administration | Configuration | Notifications add a new record.
-
Enter the following information in the fields provided:
Field
Data
Notification Template
Select "JusticeWeb Account Declined."
Request Type
Select the Account Request request type.
Note: This may be named something different in your implementation of JusticeWeb.
Request Status
Select "Decline."
Note: This may be name something different in your implementation of JusticeWeb.
-
Save the Session. (Click Save button or
Ctrl
+S
)The Account Approved notification is set up and live.
JusticeWeb Case-Specific Request in Queue
Use this notification to inform the user that their JusticeWeb case-specific request has been received and is pending approval.
- In JustWare Notifications | Notification Template add a new record.
-
Enter the following information in the fields provided:
Field
Data
Template Name
JusticeWeb Case-Specific Request in Queue
Template Datasource
Leave this field blank for this example.
Default CC Address
Specify a default CC email address if desired.
Subject
JusticeWeb Case-Specific Request in Queue
Template
The JusticeWeb case-specific request you have submitted for the @CaseID case has been received and is pending approval.
-
Save the Session. (Click Save button or
Ctrl
+S
) -
In JusticeWeb System Administration | Configuration | Notifications add a new record.
-
Enter the following information in the fields provided:
Field
Data
Notification Template
Select "JusticeWeb Account Request in Queue."
Request Type
Select the Account Request request type.
Note: This may be named something different in your implementation of JusticeWeb.
Request Status
Select "Queued."
Note: This may be name something different in your implementation of JusticeWeb.
-
Save the Session. (Click Save button or
Ctrl
+S
)The Account Approved notification is set up and live.