You need to sign in to do that
Don't have an account?
Rstrunk
Simple trigger
I need to create(and I have zero apex experience) a simple trigger that will do the following:
//psuedo code
if (the new case owner is not in the same case team as the old case owner) {
increment a field by 1
}
else {
nothing
}
its for the case object
Any help would be greatly appreciated
Hello Rstrunk,
you can go with something like this: (NumberField__c is your field to increment and I assumed that the Team field is located on the User object (Owner.Team__c)
Hope it helps,
ChopaForce