#set($userid = $context.getRequestParameter("userid")) #set($outmsg = $context.getRequestParameter("outmsg")) #set($ticketid = $context.getRequestParameter("ticketid")) #set($product = $context.getRequestParameter("product")) #set($usersearcher = $searcherManager.getSearcher("system", "user")) #set($user = $usersearcher.searchById("userid")) #if($user) #set($username = $user.firstName + " " + $user.lastName) #end
Dear $username,
Inventory levels have been updated and the following product is now available:
#if($ticketid)
Your support ticket (${ticketid}) associated with the product notification has been closed.
#endSincerely,
Administrator