Skip to content
+1-888-319-3663

EONE BLOG

Tech Tuesday: Email Task Functionality


Our Senior Technical Consultant, Chris Hanson, will be taking us through this week’s Technical Tuesday:

Today we are going to look at the email task that you can attach to any SmartConnect map that you have setup. The most common use of this that I see is to use it on the Map Failure section to alert a user that something has gone wrong with the map if it is an automated (scheduled or real-time) map. 

The amount of data that you can pass back and customize within the email task is fairly extensive. One option that we have, using system global variables to pass data back through the body of the email, has been around for a while. In the screenshot below I have placed different global variables in the task so that it will report the map id, run number, run date, and a list of all the errors encountered on the map run.  

You can do this with any global variable, whether it is a user variable or a system one, but the system variables will be populated by SmartConnect – so you don’t have to put data in them in the first place to use them in a task.


The other options that are new to the latest builds of SmartConnect are the 2 checkboxes highlighted in the image. These will tell SmartConnect whether or not to attach additional files to the email when it is sent. The first check box, the validation errors, will attach a file that lists all the rows of data that fail any SQL validation tasks that were setup on the map. SQL validation tasks can be added at the Before Map section and check any data in the source against a SQL table/view and prevent any data to be processed on that map run if it fails. With this option marked on the email the user will see the failed rows in that file, rather than having to come back to the map to figure out what went wrong.

The second check box, the process errors, will attach a file with data that failed if you are not running any SQL validation and instead the record fails when trying to be submitted. This is different in the sense that the map is running through every record at this point and each record is either submitted or failed. Those failed records are then recorded and dumped into the file that the user can use as the new source for the next map run, so only failed records are attempted to be re-uploaded.

If you want to learn more about SmartConnect please feel free to reach out to us at sales@eonesolutions.com or check our our Knowledge Base! 

1 Comment

  1. Debi Johnson on August 2, 2016 at 12:44 pm

    Is there a way to make the email notifications conditional? I have a customer who wants to eliminate multiple sends of the notification. For instance, they are running a map on a 30 minute schedule for 16 hours. Documents that pertain to a certain client may not be resolved if the rep responsible for that client is busy or out of the office. This results in the same notifications being sent out every 30 minutes until the document errors are resolved and no longer fails. They want to eliminate these duplicate sends.

    If I added a field to their staging table that would be updated to true via a script task that would run after the document failure email notification had been sent, would I be able to add a script task that would run prior to the email notification task to determine if this field returns true and if so, set it to cancel processing to prevent running of the email notification task? From what I understand, this would not stop the map from going on to the other documents, is this correct?

    Has anyone tried doing this before and, if so, was it successful?

Leave a Comment





RECENT POSTS


2021 Q4 Promotions
Connect with us at Directions EMEA 2021 in Milan!
eOne at Summit North America 2021
Employee Spotlight: Megan Tripp, Business Development Representative
eOne is now compatible with Microsoft Dynamics GP October 2021 Release

POPULAR POSTS


2016 SmartConnect Integration Bootcamps
Tech Tues: Automatically refreshing Pivot Tables in Excel Refreshable Reports
Happy Thanksgiving from the eOne team!
2017 SmartConnect Integration Bootcamps
New Releases of Extender and SmartList Builder

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.