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

palanikumar
Giga Sage

Hi,

 

How are you sending the information? are you using Business rules or any IntegrationHub spokes used?

 

Thank you,

Palani

Thank you,
Palani

Hello,

 

I am sending the information through business rule.

 

Thanks,

Manju

How are you building the payload? if you pass it using setStringParameter or setStringParameterNoEscape then special character can cause issue. Try creating JSON payload and send it to the restmessage

Thank you,
Palani

I am using setStringParameter only.

Thanks,

Manju