+ Start a Discussion
Tarun Kumar 1902Tarun Kumar 1902 

If any a development team sets a trigger on an object to change a field, and simultaneously another team working on same object runs another trigger to update the field it creates an issue. How to restrict a team from updating object in such situation?

PratikPratik (Salesforce Developers) 
Hi Tarun,

If the user's of that specific team should not change the field then you can add Profile criteria in your trigger (profiles of users for that specific team).
You can add a conditional statement to check the profile and then execute the code in trigger.

If it's independant developement then you can ask your dev teams to work on seperate dev boxes. (Dev pro or Dev sandbox)

sushant sussushant sus
u can use for update feature .for reference