User level

Intermediate

The Managed Review & Approval Solution Accelerator is a powerful tool that easily increases the efficiency of conducting reviews and approvals within your team or in external circumstances. Part of the out-of-the-box functionality of the Managed Review & Approval Solution Accelerator is the auto-generated email notifications that keep the initiator, approvers and reviewers in the review aware of the review's progress. This is a very convenient feature but it has the potential to overwhelm email inboxes and inadvertently encourage people to disregard the notifications. In this tutorial, I will outline possible solutions to modify the default email settings to allow you to make the most of the Managed Review & Approval's capabilities.

How to find your e-mail configuration

This portion will direct to change the sender address of the email notifications.

Find the configuration to change the Sender Address for Notifications

Open Workbench and login to your LiveCycle server using proper credentials.

Find the configuration to change the sender address for Task Assignments

In Email Setting you are able to indicate whether you want an email for Task Assignments, from which address and service the email are sent from.

If you retract to Server Setting and select Task Notifications you are then able to set the contents of the message and have the ability to enable and disable different kinds of notifications.

Note: More explanation is provided in the LiveCycle Process Management documentation linked to at the bottom.

Customize your e-mail notifications

The messages that we are about to configure are sent out in the SendNotification process when an Event is triggered. You can find all the events in ReviewCommentingAndApproval/#/events folder. Events are xml files that thrown during certain process and then received by another. The receiver is then able to access the xml data that is specific to that event.

Open Workbench and login to your LiveCycle server using proper credentials.

Select File >Get Application… and choose:

ManagedReviewAndApproval

ManagedReviewAndApproval-Sample

ReviewCommentingAndApproval

Note: If these applications are not available access the adminui. Follow Services/ Applications and Services / Application Management and select Import. Generally it will be located [SolutionTemplateRoot]/deploy to locate ManagedReviewAndapproval and ManagedReviewAndApproval – Sample. To locate the ReviewCOmmentingAndApproval Application you should be able find it under this root: [LCROOT]\Adobe LiveCycle ES2\sa_resources\SA_SDK_9.5\BuildingBlocks\ReviewCommentAndApproval\lca.

You are now ready to start customizing.

Customize the message

The customization of the subject and body of the email notifications will allow the user to make the most of the reminders. For example, the user can customize the body to contain a link to the location of the review or can provide a personalized message with task instructions. The subject and body fields of the emails are populated by templates located in ReviewCommentingAndApproval/ReviewCommentingAndApproval/# under resources > templates > email > notification.

To edit the templates, open the desired template with the Text Editor and use the CSS classes and HTML to modify your message. After you are finished save and check in the template. To put your changes into effect ensure to deploy the ReviewCommentingAndApproval application after checking in.

Filtering techniques

Template removal

This solution requires the removal of the email templates used to auto-generate the emails. The removal causes no obvious consequences to the user however it will cause a error log to be recorded in the server.log. Be sure to create and deploy a new Application Version the delete the templates to prevent any permanent loss of data.

For each notification there is a subject and a body. Delete the pair for each notification you don't want to receive.

Right-click on your ReviewCommentingAndApproval/# application version and select Deploy.

Process modification

This solution is recommended because it does not cause error logs. In addition this solution provides more granular control over the email messages. However a solid knowledge of Workbench process creation is required. A new Application version is not as necessary as in Solution One but is still good practice to prevent any permanent data loss.

Open Workbench and login.

Locate the ReviewCommentingAndApproval application create your new Application Version and expand: processes >notification and double click the SendNotification process to open it in the Process Designer.

Check out the Send Notification process and you will be creating a 'if' structure to filter. Use a decision point as many decisions points as desired removed notifications and one Set Value action that will do nothing.

Place the Decision Points in a line and connect them all together in one direction. Allow the process to continue to the next Decision Point or SendMail if the 'onEvent' variable does not equal the Event string you do not want. If it does, it will take the route to the dummy action.

Save and check in your changes

Right-click on your ReviewCommentingAndApproval/# application version and select Deploy.