function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SiranjitSiranjit 

How to make Inactive Accounts not visible for a specific profile when searched?

Hi Everyone,

 

Seeking your kind help !

 

I have a situation here. In Accounts I have two types of accounts available (Active & Inactive). Now, for a specific profile,is it possible to make the inactive accounts not visible when searched? I have used a Advanced searched filter, when Active=True only then the active accounts are visible.

 

Thanks All !            

amitashtekaramitashtekar

Have you tried criteria based sharing rule.

SiranjitSiranjit

I have tried that but I am not sure whether I am correct. Could you please let me know what exactly needs to be done?

 

Thanks !

amitashtekaramitashtekar

Please confirm whether user belongs to a specific profile or specific group of people.

Otherwise create group and add users within it.

 

First of all you have to make owd for account as private. 

Create sharing rule to share only active accounts with the group of people.

 

Please let me know if you are able to do it or not.

 

SiranjitSiranjit

I wanted it for a specific profile, if possible. However, I have created a group and added the users of that group and then used the criteria based sharing. The assigned user can view only the active account, so this works perfect ! What if there are many users, it not feasible to add all the users to the group and then try the sharing rule right? I hope you got my point.

 

Is there any solution to it, I mean for a specific profile?

 

Thanks much !

amitashtekaramitashtekar

Do you want to go for record types in that case?

 

 

SiranjitSiranjit

Yes I can go for record types, if I can get a solution to my problem using RT

amitashtekaramitashtekar

In that case create record types instead of your Active field and make changes accordingly.

SiranjitSiranjit

Sure, I will try it as well..thank you so much for your suport :)

SiranjitSiranjit

We can have access to an inactive account from an opportunity. So how does this help,restricting users to view inactive account??