![]() |
玩足球的登山鞋 · 计算机图形学算法 CGAL 模型减面 ...· 2 月前 · |
![]() |
乖乖的四季豆 · java获取远程服务器时间-掘金· 1 年前 · |
![]() |
文武双全的刺猬 · commitNowAllowingState ...· 1 年前 · |
![]() |
爽快的烤面包 · SharePoint 和 OneDrive ...· 1 年前 · |
![]() |
幸福的草稿本 · Springboot 集成Minio - 掘金· 1 年前 · |
![]() |
玩足球的登山鞋 · 计算机图形学算法 CGAL 模型减面 纹理重计算 模型简化 模型优化 轻量化 源码剖析 倾斜摄影 simplification 数字孪生技术 三维数据处理 算法_哔哩哔哩_bilibili 2 月前 |
![]() |
乖乖的四季豆 · java获取远程服务器时间-掘金 1 年前 |
![]() |
文武双全的刺猬 · commitNowAllowingStateLoss导致的FragmentManager is already executing transactions_tian2342的博客-CSDN博客 1 年前 |
![]() |
幸福的草稿本 · Springboot 集成Minio - 掘金 1 年前 |
You are adding the Contact object instance to Account List , which is Wrong .
For you scenario, the code would be:
Trigger ContactInsertor on Account (after insert) {
List<Contact> conList = new List<Contact>();
if(Trigger.isAfter && Trigger.isInsert){
for(Account a : trigger.new) {
Conatct c = new Contact();
c.LastName='Sharma';
c.Description=a.name;
conList.add(c);
}
insert conList;
}
}
}