{ZERO CODE DEVELOPMENT}Restrict user to add notes to inactive entity: Dynamics CRM 2013/2015

When a record is inactive, changes to most fields in record are locked. Still, there are some actions which are out of box allowed like adding activities, notes, etc.

I often have had this scenario.

Here is a simple workflow solution to solve this problem. I have taken example of Contact record and Notes.

Step 1: Create a workflow on Create of Notes (It should be synchronous):

clip_image002

Step 2: Put a check condition to check parent regarding status:

clip_image004

clip_image006

Step 3: Stop the workflow with cancelled, if this condition is met true:

clip_image008

Set Error Message in Properties:

clip_image010

Now let’s see this in action:

clip_image012

Hope it helps!

Advertisement

4 thoughts on “{ZERO CODE DEVELOPMENT}Restrict user to add notes to inactive entity: Dynamics CRM 2013/2015

  1. Hi Deepesh,

    I tried to reproduce the same workflow in my Contact records. But I am not getting any error while I am entering notes to the inactive contacts.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s