You need to sign in to do that
Don't have an account?
Shauna Davies 72
I need Trigger to update a lead owner
I have two lead queues:
Reassignment Queue 00G00000006t3ZFEAY
Content Syndication and Events Queue 00G00000006skVdEAI
I am trying to write a trigger to evalute when a Lead is in the Content Syndication and Events que, and reaches >80%, it is reassigned to the Reassignment queue.
IF
(AND(NOT ISBLANK([Lead].Lead_Insights_Value__c ),
[Lead].Lead_Insights_Value__c > 80,
[Lead].OwnerId = '00G00000006skVdEAI')
update [Lead].OwnerId = '00G00000006t3ZFEAY')
Is my syntax correct?
Reassignment Queue 00G00000006t3ZFEAY
Content Syndication and Events Queue 00G00000006skVdEAI
I am trying to write a trigger to evalute when a Lead is in the Content Syndication and Events que, and reaches >80%, it is reassigned to the Reassignment queue.
IF
(AND(NOT ISBLANK([Lead].Lead_Insights_Value__c ),
[Lead].Lead_Insights_Value__c > 80,
[Lead].OwnerId = '00G00000006skVdEAI')
update [Lead].OwnerId = '00G00000006t3ZFEAY')
Is my syntax correct?
All Answers
I called SF Help, and the "Apex Trigger" was the solution that Victor Balucio gave me.