Creating synchronous workflows

Real-time workflows were introduced in Microsoft Dynamics CRM 2013. They provide us with the flexibility to run our business logic before and after the core operation just like plug-ins. It also executes logic in transactions so, in the case of failure, all the modifications will be rolled back. They also introduced some new steps that are not available in asynchronous workflows.

Creating synchronous workflows

Let's take an example. We want to implement a business requirement where, before a book can be issued, we want to validate the book inventory. So we want to check if the quantity on hand is greater than 0; if it is equal to 0, we want to show ...

Get Microsoft Dynamics CRM 2015 Application Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.