This feature was added in FlexDeploy version 7.0.0.1, and REST Plugin version 7.0.0.1.1
To capture HTTP response headers from the REST plugin, simply create a user defined output for each header you want to save. All response headers from the HTTP request will be returned as outputs, so they can be easily accessed.
Defining Workflow Variables for Headers
To get started, first define the workflow variables that will store the header values. These variables will be accessible to the workflow.
In the workflow editor, click the variables icon, then define the variables that will store your header values.
Defining Plugin Outputs
Next, define the plugin outputs that will store the headers in the workflow variables we just created. Open your REST plugin step in the workflow, then select the “User Output” tab. Here, specify the header name in the “Plugin Output” field, and the workflow variable you want to use in the “Workflow Variable” field.
Now you can use the workflow variables in subsequent workflow steps.