We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

REST Message In Flow Designer with Body in JSON

aguyard
Tera Expert

Hi community,

 

I try to build a REST POST Action in flow Designer where I have to pass the Domain\UserID information in Body\JSON, it's work with POSTMAN with this configuration.

NorrinRadd_0-1743067605038.png

But ServiceNow Side I'm unable to reproduce this configuration.

as well by using input variable, or JSON builder, or directly in the Body value of the Rest Message, I also try to pass it in query, each time the response body respond is null for usr.

NorrinRadd_2-1743067814252.png

NorrinRadd_1-1743067730454.png

 

Any Ideas ?

 

 

1 REPLY 1

Ankur Bawiskar
Tera Patron

@aguyard 

you need to include \\ and you have kept only 1 \

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader