Hello Zoho Team;
I tried to enter a piece of code on the When Edited of a form in the On Sucess
The below code is working ok, i can save and test and if working.
//Mail de Aprobacion
if(input.Status1 == "Aprobado" && input.Status2 == "Aprobado")
{
input.Status_del_Pedido = "Aprobado";
}
Now, the problem is when add a Send Mail function.
//info input.Status1;
if(input.Status1 == "Aprobado" && input.Status2 == "Aprobado")
{
input.Status_del_Pedido = "Aprobado";
sendmail
[
from : zoho.adminuserid
to : miranda.victor@clmgrp.com
subject: "Hello " + input.Nombre2
message : "<div>Your Request has been approved<br></div>"
]
}
So according to the message it looks like is missing a ";" but I can´t find where, What I'm doing wrong?, how can detect where is the problem on this block?.
Thanks for your help on this; I´m stuck.
