ZIS flow custom action passing and access header values like retry-after | Community
Skip to main content

ZIS flow custom action passing and access header values like retry-after

  • January 18, 2024
  • 1 reply
  • 0 views

nawed

A typical ZIS custom state can be passed like this:

"xxx": {
"Type": "Action",
"ActionName": "<custom-action-name">
"Parameters": {
<here are the parameters>
},
"ResultPath": "<name of the variable to pass the response>",
"Next": "<nextaction>"
},
 
So in the variable of "ResultPath" I can access to the response, but I need to access to the header of the response. Any idea?

1 reply

Tipene
  • February 16, 2024
Hey Nawed,
 
Unfortunately the response headers are not currently accessible in HTTP responses. Our team are aware of this as a feature gap and will be considering it for future updates.
 
Sorry I couldn't be more help!
 
Tipene