• #20534
    Salesforce | Vishant Vishant #217
    Forcetalks

    Trigger to update contact owner in Salesforce

    trigger if account owner changes then related contact owner also change.

    Tagged: , , , , , ,

    #20546
    Salesforce | Sudhir Sudhir #22
    Forcetalks

    You can achieve this using Process Builder. Simple and easy! Try once, and let me know if you need the whole solution.

    #20547
    Salesforce | Sudhir Sudhir #22
    Forcetalks

    You mean to say if a user changes the Account owner, the related Contact owner should be updated to the same Account Owner?

    #20557
    Salesforce | Vishant Vishant #217
    Forcetalks

    Yes thats the scenario …i tried it with Process builder but there was an error of flow…i encountered same error from the trigger

    #20565
    Salesforce | Sudhir Sudhir #22
    Forcetalks

    Hope it may help you. Click to see the solution..

    Process Builder – Account Owner Change Update Related Contact Owner

    #20568
    Salesforce | Vishant Vishant #217
    Forcetalks

    Still not working i had done the same thing and the error is

     
    Workflow Action Failed to Trigger Flow
    The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 3016F000000QT26. Flow error messages: <b>An unhandled fault has occurred in this flow</b><br>An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Contact your administrator for help.

    Click here to return to the previous page.

     

     

    Can u do it with the trigger

    #20570
    Salesforce | Sudhir Sudhir #22
    Forcetalks

    This worked for me thru Process Builder. Try to debug or go thru Process Builder error report to see the reason for failure.

    As far as trigger is concerned, this could be the solution.. UpdateContactOwner

    You can comply with your trigger template design pattern.

    #20572
    Salesforce | Sudhir Sudhir #22
    Forcetalks

    I got the issue in the process builder. There is a minor update in Step #3 in the attached solution document.

    Process Builder – Account Owner Change Update Related Contact Owner

     

    #20573
    Salesforce | Vishant Vishant #217
    Forcetalks

    Yes I had done the same step that you had done in your  latest attached document. There might be some issues with process builder thts y i m doing it with triggers but encountering the same probz

     

Viewing 9 posts - 1 through 9 (of 9 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Property of Forcetalks.com
Copyright 2017 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?