You need to sign in to do that
Don't have an account?
learn_cloudsf
create a public group when an account is created
How to automatically create a public group when an account is created?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
list<Group> lstGroup = new list<Group>();
for(Account acc : trigger.new){
Group test = new Group();
test.Name = acc.name;
lstGroup.add(test);
}
insert lstGroup;
}
hope this would help.