Fill the owner of another guide
I have a code that creates a custom task for each registration account entered into the system . But must this task be the owner of the contacts record that is different from account .
Arguments => prop : Clientes OwnerID
mp=map();
mp.put("SEMODULE",("Accounts"));
mp.put("SEID",input.specifyCMid);
mp.put("SMOWNERID",input.prop);
mp.put("Subject","Verificar se inicial foi distribuida");
mp.put("Status","Not Started");
mp.put("Priority","High");
mp.put("Due Date",today.addBusinessday(10));
mp.put("Andamento","Gerenciamento");
mp.put("Tipos de Andamentos","Acompanhar Distribuição");
createResp = zoho.crm.create("Tasks",mp);