Monthly Archives: September 2011

CRM 2011: Fetch entity ID in process/workflow

Let’s say you need to fetch the GUID of an entity record in a process in order to build a link in an e-mail. The default process wizard does’nt give you this information. So you need to build your own custom workflow activitylibrary in Visual Studio.

Here’s the basic how to:

And here’s the code for extracting the ID:

Continue reading