【发布时间】:2012-08-02 20:12:25
【问题描述】:
我正在尝试在 Salesforce 中创建一个发送 SMS 的 APEX 类。这是从 Lead Trigger 调用的。
我想将“Lead”传递给方法,但出现以下错误
“不支持的参数类型 SOBJECT:Lead”
我的声明如下所示。
global class SMS_Services {
@future (callout=true)
public static void SendTestDriveReminder(Lead l){
}
}
【问题讨论】:
标签: salesforce apex-code