AgileApps Support Wiki Pre Release

Part 1: Customizing an Email Template

From AgileApps Support Wiki

In this part of the exercise, you add content to the Email Template you created in Exercise 5. This is the template for the email that is sent to an Agent when the manager rejects an order.

  1. Make sure you are logged in as yourself (User with Administrator Access Profile).
  2. Navigate to the Configuration page, under the Customization tile, click Objects. Navigate to Orders > Email Templates.
  3. Open the Agent Order Update template. 
  4. Use the Template Variable Tool to add (copy and paste) variables from the Order category to provide more information about the specific order in the email to the Agent, such as:
    The Order Number: $Orders.case_number was not approved by your manager.
    Order Details:
    • Account Name: $Orders.account.account_name
    • Close Date: $Orders.date_closed
    • Date Modified: $Orders.date_modified
    • Description: $Orders.description

    Email Template Need More Order Details.PNG

  5. At the bottom of the email template, add a link to open the related Order record:
    1. Type the text: Open Order Record
    2. Select the text and click the Link icon (globe with a chain).
    3. Specify a link using the following format – where you replace <your_subdomain> with your webMethods AgileApps Cloud tenant subdomain name:
      https://<your_subdomain>.agileappscloud.com/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number
      resp.
      https://<your_subdomain>.agileappscloud.eu/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number
      For example, for John Richards, the link is:
      https://johnrichards.agileappscloud.com/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number
      resp.
      https://johnrichards.agileappscloud.eu/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number

      Open Order Record Link.PNG

      Email Template Text.PNG

    4. Save your changes.
  6. Test the Email Template:
    1. Login as yourself.
    2. Create a new Order record for the account Fred Supplies, assigned to the SouthEast region. Provide some Description text and pick a Close Date.
    3. As done in the previous exercise, change the ownership of the record and assign it to you (as Agent), but do not provide any item.
    4. Set the Finish Order Setup task to Complete.
    5. Logout and login as MyManager.
    6. In the MyOrders application, open the Order created previously. In the Task section on the side pane, click Reject and add a comment “This is an incomplete order. Items are lacking”.
    7. Open the email you receive from your manager to see the changes you made to the template:

      Email - Case Record Details.PNG

    8. In the mail body, click Open Order Record to test the hyperlink.

Previous

Next