TABLE OF CONTENTS
Overview
When using the ACE engine to automatically process Pending applications, new applications may appear in the Accepted Applications queue without manual intervention. To keep the applications team informed, you can configure a weekly summary email listing which applications have been processed.
Steps
Follow these steps to set up a weekly summary email:
- Create a Data Mining Report (DMR)
- Create an Email Template
- Create a PowerShell script to send the email weekly
1. Create a Data Mining Report (DMR)
- Navigate to Applications -> All Applications.
- Click the
Datamining Reportbutton in the Ribbon. - Click
Show History Fieldsin the Ribbon. - Tick both boxes next to
Rationalisation Status.
- Untick Process.
- In the
Data Sourcetab of the Ribbon:- Ensure
All Applicationsis selected. - Click
Rationalisation Statusand select:Accepted,Rejected,Rationalised.
- Ensure
- Click
Run Datamining Report. - In the
Build Reportarea, clickEdit Column Layout, Filter, Sortand configure the following:Rationalisation Status Previous Value, Hide Column:CheckedRationalisation Status Modified By, Hide Column:CheckedRationalisation Status Previous Date, Filter Expression:> '[Today - 7]'Rationalisation Status Previous Date, Rename to Date (click text to rename)Rationalisation Status Previous Date, Display Format:dd/MM/yyyyRationalisation Status Modified By, Filter Expression:like 'ace*'
- Click
Apply Changes. The report will now display applications processed by ACE in the last week. - Save the DMR, assign a meaningful name, and note its ID.
2. Create an Email Template
Create the email template in the ManagementStudio global module, not the Applications module.
- Navigate to
Administration→PS Scripts, Emails, Buttons. - Untick
ScriptsandButtons. - Under Email Templates, select the current project name (the first icon), then click
Click here to add new item. - Enter ACE Apps Processed in Last 7 Days as the Email Name and the Subject.
- Use the column picker to add the
CCfield.
- Enter one or more email addresses (or a distribution group) in the
CCfield. - Click Save Changes.
- Click the
Editbutton. - Drag two Paragraph UI Elements into the body of the email.
- In the first Paragraph Element add text such as:
These are the Pending applications processed by the ACE connector in the last seven days.<br><br> - In the second Paragraph Element add this text:
<style>
table.table {
border:solid 1px #c0c0c0;
border-collapse: collapse;
}
tbody th, tbody td, thead th {
padding: 3px;
border-width: 1px;
border-style: solid;
border-color: #c0c0c0;
vertical-align: top;
font-size: 12px;
}
thead th {
text-align: center
}
</style>
[A-DMR-XX-ScopeDMR-AsTable]- In the last line replace
XXwith the Data Mining Report ID. - Under the UI Element Style for the second Paragraph turn on Enable Markdown

- To include the report as a file attachment, add this to the bottom of the second Paragraph:
[A-DMR-XX-ScopeDMR-AsAttachment]
ReplaceXXwith the Data Mining Report ID. - Click
Save Changes. - Click Preview Email -> Preview Email in mail client; an email will be sent to your email address within a few minutes.
- Close the Email Builder.
- Note the email template ID from the furthest right column.
3. Create a PowerShell Script to Send the Email Weekly
Navigate to
Administration→PS Scripts, Emails, Buttons.Untick
EmailsandButtons.Under PowerShell Scripts, select the current project name, then click
Click here to add new item.Give the script a meaningful name such as ACE Apps Processed in Last 7 Days.
Click the
Editbutton (scroll icon).Add the following command (replace
YYwith the Email Template ID) and click OK:Send-MSEmails -Module ManagementStudio -ToIds 1 -EmailTemplateId YY -SpreadOverHours 0 -OverrideSendTo ''Use the column picker to display the
Grant Access 2column.Assign the
Project Adminsrole toGrant Access 2.Click
Save Changes.Schedule the PowerShell Script to run weekly, for example every Monday at 12pm.
4. Test the Script
- Click the play button to test the script.
- Confirm that an email is sent containing the DMR.
Further Support
For additional assistance, visit the ManagementStudio Service Desk to search the knowledge base or submit a new support ticket.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article