Custom Workflows in AL: Email Validation

Custom Workflows in AL: Email Validation

I report this interesting post by Jaspreet Singh about creating a workflow using Microsoft AL, the demo is based on the use of an API to verify the correctness of an email (more or less with the same API recall mode already used in the Microsoft demo GetAddress already tested previously). The example is interesting, i report it for sharing knowledge.

The Goal of this blog post is to demonstrate the power of workflows and how they can be incorporated into customizations we do going forward. Workflows are more than just replacement for old Approvals.”

SCENARIO:Email Validation: Use an external API and send our Emails there to check If the Server exist. This way we can avoid lots of fake / dummy emails.

Free API to validate emails from https://mailboxlayer.com/

“The goal here is to not touch the base NAV code. That means we can’t edit any standard code unit, page or table so the custom code can remain standalone. Luckily using AL we have the ability to extend base pages and tables without doing any change in the base objects.”

Finally write the custom code in AL language using Visual Studio code and generate an extension for this functionality.

ORIGINAL POSTS HERE:

Custom Workflows in AL – Part 1 ‘Events’

The Goal of this blog post is to demonstrate the power of workflows and how they can be incorporated into customizations we do going forward. Workflows are more than just replacement for old Approvals. I think of them as wrapper…..

https://www.ctrlshiftf4.com/2017/11/11/custom-workflows-in-al-part-1-events/

Custom Workflows in AL – Part 2 ‘Response

Let’s see how to create custom Reponses for Workflows in the new AL environment….

https://www.ctrlshiftf4.com/2017/12/09/custom-workflows-in-al-part-2-response/

Demo Files here:

https://drive.google.com/open?id=1_9UBhLKuJ2ruRHg84M51FGttnKbiztmn

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enjoy this blog? Please spread the word :)

%d bloggers like this: