How to parse the API response from REST step in flow designer

Snehal13
Kilo Sage

I am using flow designer flow, sub flow, action

 

I am making a POST API call from rest step in flow designer.  Sending a request body to a third party platform and expected to get a payload of data which can either success code or error code.

 

How to get the response back and update the same in ticket description.

 

The route, body, connection alias is all set properly.  Pre processing script creates the request body. 

 

When I call the action it trigger this api with params. I wamt to get back the api response body and parse it and update on ticket description field.

 

not clear with the output Thing in flow designer step

 

 

1 REPLY 1

Vasantharajan N
Giga Sage
Giga Sage

@Snehal13  - What is the response format you will be receiving from the API?

 

You can refer the below article for reference

https://developer.servicenow.com/dev.do#!/learn/learning-plans/xanadu/servicenow_application_develop...

 

https://www.servicenow.com/community/developer-forum/capturing-a-value-from-a-rest-response-body-in-...


Thanks & Regards,
Vasanth