The CreatorCon Call for Content is officially open! Get started here.

ServiceNow to ServiceNow Rest Integration

manju5
Tera Contributor

Hi,

 

I am creating the ticket in Instance A and ticket is created in Instance B also, but my question is some times description field is appear like "undefined" when we pass the huge description. Could anyone help me why this error coming only when sending the huge description?

 

Thanks,

Manju

16 REPLIES 16

In this case remove only line 6 in your original Business rule shared in this post and replace with the below lines.

 

var requestBody = {
"desc":current.description.toString()
};

request.setRequestBody(JSON.stringify(requestBody));

Thank you,
Palani

No, Still it's not working

Thanks,

Manju