Customizing Your Messages with Velocity Templates

Slides:



Advertisements
Similar presentations
Tivoli Service Request Manager
Advertisements

KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Interactive Reporting v3.2. Multiple Order By Option Set multiple order by options.
Cascading Style Sheets
Hidden Features. What will we cover 16 hidden features for Admins Bonus: –2 hidden features for Employers –Live examples!
TEA/TUG + ALDOT(Mobile) = H(O+I) The TEA/TUG being hosted by ALDOT in Mobile causes Hurricanes to come to Alabama. The TEA/TUG being hosted by ALDOT in.
Workflow & Event Derivation Workshop
Travel and Expense Management Scenario Overview
Engaging networks can help you to grow your online community Outreach top 10.
Contacts. Stored in the Contact folder Stores information about businesses or people –Address, phone number, address etc.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Workflow & Event Derivation Workshop
Self-paced study guide for Online Performance Evaluations – Detailed steps for Employee Self-evaluation.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
Company Confidential Info Exchange Workflow Examples for External Users: Action Items Company Confidential.
07/19/04 NorCal OAUG Training Day, Paper 2.4 John Peters, JRPJR, Inc.1 Oracle Workflow Notifications John Peters JRPJR, Inc.
Chapter 15 Designing Effective Output
Wikispaces in Education Tutorial Jennifer Carrier Dorman
South Dakota Library Network ALEPH v21 Staff User Upgrade Information Circulation and ILL South Dakota Library Network 1200 University, Unit 9672 Spearfish,
Mid-West Tri State Users Group Meeting Agenda l Overview of Event, Condition, Action (ECA) l What’s new in release 7.0 l Designing effective workflows.
Missed Call Notification Unity Connection 11.0
Demo: Conversion to the New External Template March 29, 2007.
VistA Imaging Capture via Scanning. October VistA Imaging Capture via Scanning The information in this documentation includes only new and updated.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Communication Tools Presented by: Lauren Velazquez Presented by: Lauren Velazquez.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
The evolution of hrblock.com Jonathan Heavner Web Designer 1.
Wikispaces in Education Tutorial Fatema Kashoob Nawal ALKathiri
Consumer Recall Notification 1) Recall Info 2) Item Info 3) Distribution List.
Setting Up TGO User Accounts. Creating User Accounts for Other Users If your company has other users who need to use the Active Orders system, your company’s.
Internal and Confidential Cognos CoE COGNOS 8 – Event Studio.
PestPac Software Customer Portal. Customer Portal Website Training The Customer Portal provides your customers with access to their account information.
My Company icon should drop down to -Playbooks -Pages -Analytics -Settings (Company Wizard + suspend, contacts, help topics etc.) -Partnerships.
28 Copyright © 2009, Oracle. All rights reserved. Customizing the Oracle Business Intelligence User Interface.
Company Confidential Info Exchange Workflow Examples for External Users: File Transfers Company Confidential.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Authored by Frank Hamelly, Microsoft MVP Regional Chapters.
2016 CSO System Training & Networking Conference / Copyright © 2016 #csoconf 2016 CSO System Training & Networking Conference / Copyright © 2016 #csoconf.
Protect communications Conditions Actions Exceptions Conditions Actions Exceptions.
1 Terminal Management System Usage Overview Document Version 1.1.
Core LIMS Training: Entering Experimental Data – Simple Data Entry.
General System Navigation
Streamline Dashboards With List Function Gadgets
Core LIMS Training: Velocity Templates
Core LIMS Training: Project Management
Core LIMS Training: CoreScripts
Internet Made Easy! Make sure all your information is always up to date and instantly available to all your clients.
Project Management: Messages
How to Setup and Utilize Functionality
Gadgets and Dashboards
Project Management: Workflows
z/Ware 2.0 Technical Overview
Configuring Applications
LMEvents SharePoint Portal How-to Guide
CS3015 Beacon Module 4 Messenger & Setting Preferences
Core LIMS Training: Advanced Administration
ERO Portal Overview & CFR Tool Training
Kodak Alaris Sales Information Library User Training
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
iCIMS 17.1 Release: Highlights
Tips and Tricks (from Spitfire Development) Presenter: Stan York
PX-Web 2019 and more… Mikael Nordberg Developer Statistics Sweden.
BAZaaR FOR HOSTING COMPANY
BCS Template Presentation February 22, 2018
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Speaking the language of publishing. Worldwide
Contract Management Software 100% Cloud-Based ContraxAware provides you with a deep set of easy to use contract management features.
ADMINISTRATION A guide to setup and manage your innovation platform…
Advanced Tips and Tricks
Presentation transcript:

Customizing Your Email Messages with Velocity Templates CONFIDENTIAL Customizing Your Email Messages with Velocity Templates User Group Meeting October 21, 2015 Patrick Rose

Topics Why Custom Emails? What is Velocity? Email Settings CONFIDENTIAL Topics Why Custom Emails? What is Velocity? Email Settings Trigger Configuration Velocity Content Examples More Complex Examples

Why Custom Emails? Emails sent when conditions are met CONFIDENTIAL Why Custom Emails? Emails sent when conditions are met New or published data Updated data Data is a specific value Emails sent to specific users who start next business process or make decisions based on data Standard emails very generic in content and do not include specific data Custom emails include data, company-specific text, or formatting Custom emails require trigger and not in workflows

CONFIDENTIAL What is Velocity? Simplified language to reference objects in Java code Administrators customize dynamic content/outputs without access to main code base Contained within email messages, Velocity provides detailed items and quick links back to system Functional and attractive templates created by combining Velocity and HTML

Email Settings CONFIDENTIAL ***This requires a Tomcat restart in order to start working!***

Example Use Case Configuration does not require Message entity CONFIDENTIAL Example Use Case Sample Lot (Plasmid Lot) Request Email address attribute Trigger Impl (code that sends Email) Employee (Requestor) Configuration does not require Message entity

CONFIDENTIAL Setting Up Request

Your Turn Set up REQUEST Entity Type Requirements, include: CONFIDENTIAL Your Turn Set up REQUEST Entity Type Use REQUEST Super Type Requirements, include: Attribute to hold email address Association to Plasmid Lot Association to Employee

Trigger Configuration CONFIDENTIAL Trigger Configuration Take closer look at each attribute

CONFIDENTIAL Class Attributes Implementation Class and Trigger Type set by default to above values

CONFIDENTIAL Action Type Attribute Action Type tells trigger when to fire and send message Normal Action Types On_Create On_Update On_Publish

CONFIDENTIAL Traversal Attribute Use to send information from any Entity Types in message Allows for information to get to users without need to log to LIMS

Email Attribute Traversal must include “RECIPIENTS” variable CONFIDENTIAL Email Attribute Traversal must include “RECIPIENTS” variable Traversal tells email to go to Employee Association and send to their email address, designated in Email Address Attribute

CONFIDENTIAL External Emails You can email people outside of your organization as well You need to define an attribute that holds the external address in the Entity type In this case it is “Email Group”, you will only need to tell the trigger that the recipient is in this entity

Velocity Body Attribute CONFIDENTIAL Velocity Body Attribute

CONFIDENTIAL Velocity in the Email Each velocity statement should be designated as $REQUESTOR[0].name Since it can act like a list [#] is required Ability to go across entity types to show information

Common Variables Entity Object Available Variables Description CONFIDENTIAL Common Variables Entity Object Available Variables Description This Entity $this[0].name Get name of Entity type that trigger is on $this[0].barcode Get barcode of Entity type that trigger is on $this[0].getCreationDate() Get date created of Entity type that trigger is on $this[0].getPublishDate() Get date published of Entity type that trigger is on $this[0].getValue("attribute name") Get attribute on Entity type that trigger is on

Velocity in the Email Send link in text back to system CONFIDENTIAL Velocity in the Email Send link in text back to system Change second highlight to what you want it to say in email First highlight to be changed when you set it in your system

Your Turn Create new EMAILTRIGGER CONFIDENTIAL Your Turn Create new EMAILTRIGGER Add in traversal and Velocity body you would like to see in your email

CONFIDENTIAL Attaching the Trigger Go to your Request Super type and select triggers for your Entity type

CONFIDENTIAL Attaching the Trigger Pick your trigger under Action type you selected for email Add triggers in order you want them to fire

CONFIDENTIAL Final Email

CONFIDENTIAL More Complex Examples

CONFIDENTIAL Just More Velocity…

Getting Lot Information CONFIDENTIAL Getting Lot Information <table style="width: 500px; height: 82px;"> <thead> <tr style="vertical-align: top; font-size: 16px;"> <td><b><u>LOT ID</u></b></td> <td><b><u>Quantity to Send(mg)</u></b></td> </tr> </thead> <tbody> #foreach($data in $ExperimentSamples) <tr style="vertical-align: top; font-size: 14px;"> <td>$data.getValue("LOT")</td> <td>$data.getValue("Quantity to Send_ci")</td> #end </tbody> </table>

Tools HTML Cleaner- Makes your life easy! http://www.html-cleaner.com CONFIDENTIAL Tools HTML Cleaner- Makes your life easy! http://www.html-cleaner.com W3 School- Helps with HTML formatting tips http://www.w3schools.com/html/html_formatting.asp