REST Message in flow designer action

levino
Giga Guru

 

Hi there

in flow designer not sure if my REST message is formatted correctly, it comes up with error message , empty json string

 

Thanks

Levino

 

 

levino_0-1692004817361.png

 

1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello @levino ,

1) you need to remove SN keyword in the middle of the JSON

2) And in value attribute you can remove quotes for dynamic pull of action value 

3) you need to end the JSON by a closing flower brace and also end the array with closing square bracket

 

Hope this helps 

Mark my answer correct if this helps you 

Thanks

View solution in original post

5 REPLIES 5

Chavan AP
Kilo Sage

Looks good to me except "sn", also refer: https://www.servicenow.com/community/developer-articles/outbound-rest-integration-using-flow-designe...

 

this will help 

 

Also paste your json here and check : https://jsonviewer.stack.hu/

Glad I could help! If this solved your issue, please mark it as Helpful and Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****