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
TobyMcTobyMc 

how do i stop Workflow rules if Sys Admin profile makes a change to a record

Hi

 

I have set up multiple work flow rules which emails certain people when specific fields/records are updated in Accounts & Contacts tabs.

 

What I want to do is stop these work flow rules running if the Role = System Administrator.

 

Currently have I have rules like one below I would like to update

 

AND(
LEN(System_ID__c) > 0,
OR(
ISCHANGED(BDM_Field_c )))

 

Any ideas?

 

 

Message Edited by TobyMc on 02-04-2009 08:53 PM
Best Answer chosen by Admin (Salesforce Developers) 
CRM08CRM08

Specify NOT ($Profile.Id= '00e80000006xDUY')(which is the id of System Admin Profile) in the formula of each workflow rule.

 

Thanks..

All Answers

CRM08CRM08

Specify NOT ($Profile.Id= '00e80000006xDUY')(which is the id of System Admin Profile) in the formula of each workflow rule.

 

Thanks..

This was selected as the best answer
TobyMcTobyMc

Thanks , it worked well, although I had to change SF id as it was different in my instance

 

cheers

 

TobyMc

CRM08CRM08

Yes, SF Profile Id will be different for each instance.Once deployed from test sandbox into Production,you need to change your sandbox Profile Id into Production Id manually for each workflow. 

 

Thanks..