Skip to main content

#Contact Roles0 personne en discute

Samanta Porru a posé une question dans #Sales Cloud

Hi, I would like to make the opportunity contact role required on opportunities from a specific stage onwards. A validation rule is not an option as it would not work on Related Lists, neither is coding.

Any suggestions?

Ideally I would like the users to be prompted to selecting a contact role as soon as the hit save.

#Sales Cloud #Contact Roles 

6 réponses
  1. Forum Ambassador Andrew Russo (BACA Systems)
    9 nov. 2023, 10:51

    you could use a record triggered flow with the new custom error message element that i campaigned for. it just came out in winter 24.

     

    the flow would be on the opp then you could go a det records to see if there are opp roles for the opp, if no records are found throw a custom error message to the user.

     

    ba da bing, ba da boom, you got an error!!! yayayyyy

0/9000

Hi Trailblazers, I am doing Lightning Migration and I have to switch from "Account Contact Roles" to "Contacts to multiple accounts" feature. How can I map the roles on Account Contact Roles to roles on Account Contact Relationship object for existing records, any suggestions would be highly appreciated, thanks!!

0/9000

Hi i am new to trail Head, Can anyone help me to learn this some topics.... I have some doubts in this topics..Can anyone help me for all..

0/9000

Hi dear how to resolve this problem pls help me on the topic of creating a opportunity and adding a contact roles in this opportunity.....

0/9000

Is there any plan to incorporate this into the Campaign Influence modeling? I would love to be able to use this functionality for my ABM campaigns so we can show & measure influence. I would imagine this would require the ability to add Accounts as Contact Roles or an auto-association behind the scenes?

0/9000

This may seem like a no-brainer but I gotta ask, validation Rule question: I want to write a validation rule that states before an opportunity can go to Closed Won, there must be two specific contract roles defined on the opportunity. Can I write a formula that references a related list on an object? Because I'm trying to insert the field but I notice that Contact Roles is not available as a field.

 

I assume that this is because the reference is to a related list. And if so, any idea of a better solution? I thought about creating lookup fields for both of these on the object itself, but it seems redundant. 

1 commentaire
  1. 26 mars 2021, 23:09
    That won't be possible with a simple Validation Rule Formula due to the object relationships. You're gonna need to add a process or Flow, or Declarative roll-up to get the count of Contact Role records
0/9000

Contact Roles and What I should Avoid? Or at least Consider? 

 

I'm about to go down what I think is a rabbit hole in trying to create Contact Roles.  I realize folks probably use them differently every where you go.  I was hoping though that some folks could share something they have learned along the way to help me?  

 

My use case: I was thinking of using the Contact Role as a way to help populate a contact field in another record in a related object.  Perhaps we want to attach the influencer's name somewhere, or the Executive Sponsor.  Something like that... 

5 commentaires
  1. 22 févr. 2021, 18:31
    Are you close enough to all the opportunities to know which Contacts should be associated with the Opportunity and also able to designate the Contact Role of Influencer, Sponsor, Decision Maker? Or do you make some educated guesses based on your conversations with your Sales team or have some logic for it?
0/9000

Hi, glad to join this group as my company get more demanding for complex automations haha.

I am hoping someone can help me work out if I can use Process Builder to add all contacts from an account to a campaign based on an Opportunity being won. Not ideal for a solo admin automation novice. :)

I have worked out the criteria for won...

But having problems working out how to add them all.

At a minimum to add those who are Contact Roles - but ideally all that are listed as contacts in an account. 

Immediate Action: Create Campaign - record type: Campaign Member.

Field: Campaign ID, Type ID, Value X

Field: Status, Type Picklist, Value X

Then how do I reference Account to bring in multiple contacts??

 

The idea is that I can then use this campaign to send out Onboard comms using Pardot. 

Hopefully can do this without using flow, as even more of a novice at that, 

Thanks in advance!

7 commentaires
0/9000

i am having this rest query

 

https://XXX.salesforce.com/services/data/v45.0/query?q=SELECT id,name,Phone,accountNumber,industry, (SELECT Contact.Name FROM AccountContactRoles WHERE IsPrimary = TRUE) FROM account

 

this returns data:

{

      "attributes": {

        "type": "Account",

        "url": "/services/data/v45.0/sobjects/Account/0016g000006hPozAAE"

      },

      "Id": "0016g000006hPozAAE",

      "Name": "Dean Infotech",

      "Phone": null,

      "AccountNumber": null,

      "Industry": "Technology",

      "AccountContactRoles": null

    },

 

The AccountContactRoles shows null which i am not sure why?  if i go to the above account i can see a contact is added under contact roles and it shows as primary. 

 

Please advise

0/9000

When my Users create an Opportunity from a Contact related list, the Contact shows up in the Contact Roles related list on the Opportunity.  Is there a way to have the Contact also show up on a Contact Lookup Field on the Opportunity when the new Opportunity screen opens?  I can fill it in later with a Process Builder, but is there a way to have it populated when the new screen shows up?  Thanks

@* Salesforce Administrators * 

2 commentaires
  1. 7 avr. 2020, 13:58
    I can't use Action buttons as List buttons. I'm trying to make a List button that does this.
0/9000