• Chad Barbour
  • NEWBIE
  • 5 Points
  • Member since 2014
  • Sr. Service Cloud Architect
  • Salesforce

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
I want to have the ability for case feed filters to provide a filter for the related object filters.
Hi expperts,

Need suggestions on below use case:

I have to create a button on Account Detail page to open a screen with a dropdown having names of associated Contact Roles. AccountContactRoles object is not customizable so I was thinking of creating a flow which would use an apex method defined using @invocableMethod annotation to find associated Contact Role names. Issues:

1) I created a collection variable to hold the output from the method. But I am not able to select that from Target dropdown. If I create new Collection variable I get error as "DataType of resource you entered does not match. Am I missing something here?Error screenshot"

2) How can dropdown (choice or dynamic choice) in a screen be populated using these values?

OR should I rather concentrate on Visualforce page?

Thanks in Advance,
Vandana