Hi Clofly,
thank you for the information.
i followed this link to create my flow and call the flow from form submit.
www.itaintboring.com/.../
The flow successfully ran, however, it didn't return any value after the run. Please advise me what i am missing here.
I am not sure how to call the callback function to check if the count is more than one (if a record is already exist). Please provide me a sample code.
Please refer to the attached file to see the flow result and advice me what i am missing. thank you, Siva
This is the way i am calling the flow.
MsCrmMkt.MsCrmFormLoader.on('formSubmit', function (event) {
alert("Thank you!....");
var xmlhttp = new XMLHttpRequest(); // new HttpRequest instance
//xmlhttp.open(“POST”, “REQUEST URL”);
//this is the url for the flow
xmlhttp.open("GET", "----------/.../invoke
xmlhttp.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
xmlhttp.send(JSON.stringify(
{
email: .getElementById("7f685ebb-7c54-4cff-a1bc-772562d25c38").value
}
));
alert("after you!....");
});
HTTPFlowResult.docx