ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
Tq tq so muchhhhhh
Thankssss
Thnks for providing this code
It's my pleasure
i did't find any code here
@@AshishSingh-tp3mj trigger ClosedOpportunityTrigger on Opportunity (after insert,after update) {List tasklist = new List (); for(Opportunity opp : trigger.new) { if(opp.StageName == 'Closed Won') { tasklist.add(new Task(Subject = 'Follow Up Test Task',WhatId= opp.Id)); } } if(tasklist.size( )>0) { insert tasklist; }}
🙏🏻
Tq bro
trigger ClosedOpportunityTrigger on Opportunity (after insert,after update) {List tasklist = new List (); for(Opportunity opp : trigger.new) { if(opp.StageName == 'Closed Won') { tasklist.add(new Task(Subject = 'Follow Up Test Task',WhatId= opp.Id)); } } if(tasklist.size( )>0) { insert tasklist; }}
I got an error at 11th line
Tq tq so muchhhhhh
Thankssss
Thnks for providing this code
It's my pleasure
i did't find any code here
@@AshishSingh-tp3mj
trigger ClosedOpportunityTrigger on Opportunity (after insert,after update)
{
List tasklist = new List ();
for(Opportunity opp : trigger.new)
{
if(opp.StageName == 'Closed Won')
{
tasklist.add(new Task(Subject = 'Follow Up Test Task',WhatId= opp.Id));
}
}
if(tasklist.size( )>0)
{
insert tasklist;
}
}
🙏🏻
Tq bro
trigger ClosedOpportunityTrigger on Opportunity (after insert,after update)
{
List tasklist = new List ();
for(Opportunity opp : trigger.new)
{
if(opp.StageName == 'Closed Won')
{
tasklist.add(new Task(Subject = 'Follow Up Test Task',WhatId= opp.Id));
}
}
if(tasklist.size( )>0)
{
insert tasklist;
}
}
I got an error at 11th line