• Jess Zieglar
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Salesforce Admin
  • InsightSquared

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
I have been trying to build a Flow that would update a Lookup Field on a Lead record if the criteria on the Lead and the criteria on another Object match. However, everytime I run the test against different Lead records, the flow returns the same results as the 1st initial test I ran from day 1.

Example:

If Lead email domain = Account Domain, Update X field on the Lead record

How it Should work:

Lead 1
Account Domain 1
Update Field is Account 1

Lead 2
Account Domain 2
Update Field is Account 2

How it is currently working:

Lead 1
Account Domain 1
Update Field is Account 1

Lead 2
Account Domain 1
Update Field is Account 1

(Flow Screen Shot below)

For some reason, the flow does not want to understand anything outside of the 1st initial Account Domain. Any thoughts as to what I may be doing wrong?

User-added image
 
I have been trying to build a Flow that would update a Lookup Field on a Lead record if the criteria on the Lead and the criteria on another Object match. However, everytime I run the test against different Lead records, the flow returns the same results as the 1st initial test I ran from day 1.

Example:

If Lead email domain = Account Domain, Update X field on the Lead record

How it Should work:

Lead 1
Account Domain 1
Update Field is Account 1

Lead 2
Account Domain 2
Update Field is Account 2

How it is currently working:

Lead 1
Account Domain 1
Update Field is Account 1

Lead 2
Account Domain 1
Update Field is Account 1

(Flow Screen Shot below)

For some reason, the flow does not want to understand anything outside of the 1st initial Account Domain. Any thoughts as to what I may be doing wrong?

User-added image
 

I have a need that can't be accomplished with Workflow. I'm posting here hoping someone has some insight for me.

 

When a Campaign Member record is updated (to be specific - when a value in a particular custom field is updated), I need to create a completed Task on the Contact (or Lead) record that is associated with that Campaign Member record. I'm thinking this could be accomplished with an Apex Trigger. Unfortunately, I have almost no experience writing Apex Triggers.

 

So before I go down the path of trying to learn Apex and learn how to accomplish this particular goal, can anyone confirm if I can even achieve this goal using an Apex trigger? If so, and if you have any tips or helpful links, I'd really appreciate it. Thank you! Love the SF community!