In Dynamics CRM, I'm using javascript at custom activity entity to create the phone calls. following is the for loop that runs to create the phone calls.
for (var indxAttendees = 0; indxAttendees < respondent.length; indxAttendees++) {
//List of parameters for phone call
XrmServiceToolkit.Soap.Create(createPhCall);
}
But it runs one extra times than the length specified and also create an extra phone call I need your help to resolve the issue
I tried the following code in the console :
and output is:
So check respodent length properly, I don't think there is any issue.