Leads = zoho.crm.getRecordById("Leads",id);
Lead_Status = Leads.get("Lead_Status");
info "字段值:" + Lead_Status ;
leads = invokeurl
[
type :GET
connection:"cnuser"
];
// info leads;
for each field in leads.get("fields")
{
if(field.get("api_name") == "Lead_Status")
{
for each pick_list_value in field.get("pick_list_values")
{
if ( pick_list_value.get("display_value") == Lead_Status )
{
info "参考值:" + pick_list_value.get("reference_value");
}
}
}
}
2、连接器: