AgileApps Support Wiki Pre Release

Difference between revisions of "Part 1: Customizing an Email Template"

From AgileApps Support Wiki
(Created page with "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 rej...")
 
Line 9: Line 9:
#: • Close Date: $Orders.date_closed
#: • Close Date: $Orders.date_closed
#: • Date Modified: $Orders.date_modified
#: • Date Modified: $Orders.date_modified
#: • Description: $Orders.description
#: • Description: $Orders.description<br><br>[[File:Email_Template Need_More_Order_Details.PNG]]<br><br>
# At the bottom of the email template, add a link to open the related '''Order''' record:
# At the bottom of the email template, add a link to open the related '''Order''' record:
## Type the text: '''Open Order Record'''
## Type the text: '''Open Order Record'''
Line 16: Line 16:
##: resp.<br><code>https://<your_subdomain>.agileappscloud.eu/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number</code>
##: resp.<br><code>https://<your_subdomain>.agileappscloud.eu/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number</code>
##: For example, for John Richards, the link is:<br><code>https://johnrichards.agileappscloud.com/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number</code>
##: For example, for John Richards, the link is:<br><code>https://johnrichards.agileappscloud.com/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number</code>
##: resp.<br><code>https://johnrichards.agileappscloud.eu/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number</code>
##: resp.<br><code>https://johnrichards.agileappscloud.eu/networking/servicedesk/index.jsp#$Orders.object_id/$Orders.case_number</code><br><br>[[File:Open_Order_Record_Link.PNG|800px]]<br><br>[[File:Email_Template Text.PNG|800px]]<br><br>
## '''Save''' your changes.
## '''Save''' your changes.
# Test the Email Template:
# Test the Email Template:
Line 25: Line 25:
## Logout and login as '''MyManager'''.
## Logout and login as '''MyManager'''.
## 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”'''.
## 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”'''.
## Open the email you receive from your manager to see the changes you made to the template:
## Open the email you receive from your manager to see the changes you made to the template:<br><br>[[File:Email_-_Case_Record _Details.PNG|800px]]<br><br>
## In the mail body, click '''Open Order Record''' to test the hyperlink.
## In the mail body, click '''Open Order Record''' to test the hyperlink.

Revision as of 15:37, 11 December 2022

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.