+ Start a Discussion
babacandoitbabacandoit 

Account Owner as Groupe ?

Hi All,

    I have a requriment,  once the account is Created, the owner of account must changed to the Groupe.
Criteria is based on stated the state of account, Groupe should be assigned.(North, South, East, West) Groupe.

Please, Help me.. How to do ? Is it possible with Configration ? Or I have to go to Workflow or Trigger ?

Thanks in Advance :)
Cheer,
Baba
Sonam_SFDCSonam_SFDC
As you have mentioned that the account owner should change based on a state of the account..is state a field on the account? if yes, you can create an after insert after update trigger on Account to update the account owner to the group as per your requirement..

sample code below:
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables.htm