Posts

Showing posts from October, 2015

Custom workflow to send e-mail after some specific working days provided at account creation

Image
This post is to send an email on account creation to the account holder after some specific days(in this code: 7). The email will be sent after 7 working days as described in the organization's Calendar and presuming every Saturday & Sunday as holiday. Step 1: Create new project in  Visual Studio and  select 'Class Library'. Then copy the code as below and save. Build the solution to get library file(*.dll) using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Query; using Microsoft.Xrm.Sdk.Workflow;