Using the REST Generator (Response Content) in Workflow 7.6

Published on Wednesday, 16 December 2015

In this Article I will explain how to use the REST Generator (Response Content) within Workflow 7.6.

Other articles

New to me with build Symantec.Workflow.Setup.7.6.4383.504 the REST Generator has been updated to generate Response Content in a third manner - "Create From Sample".

7.6.4383.479 was the first build to have this

With Response Content there were two ways to create the Data Type you need to work with.

  • Create Manually
  • Create From Request

Create Manually was a lot of work but was handy when the Generator can't authenticate against the API or you used a method that wasn't possible.

The Create From Request is the easiest as it does it all for you.

There is a new one

  • Create From Sample

REST Generator - 2 Components - Response Content

Grab your JSON and paste it in, most APIs have this documented or you could run it through POSTMAN and grab the output

REST Generator - 2 Components - Response Content - Create from Sample

Hit Next

REST Generator - 2 Components - Response Content - Create from Sample - Data Type

There you have your DataType to work with.

This should also pull in the headers and map those, I've yet to test this out.

Other articles


Protirus.png