[IDEA] Stored Response Status Code as Individual Variable. #5823
Labels
enhancement
New feature or request
Internal-Issue-Created
An issue has been created in NextGen's internal issue tracker
RS-10857
triaged
Is your feature request related to a problem? Please describe.
Would it be possible to add a Response Map variable to store just the status code
EXAMPLE: '200', '500', '401'
This value is used a log in the response logic to determine what the next action is to be taken in the channels workflow.
Describe your use case
I need this feature so I can accomplish .
Describe the solution you'd like
Seems like the following code could be added to the HttpDispatcher code here
connectorMessage.getConnectorMap().put("responseStatusCode", statusCode.toString());
connect/server/src/com/mirth/connect/connectors/http/HttpDispatcher.java
Line 339 in e0db549
Describe alternatives you've considered
The current method requires parsing it out from the
$('responseStatusLine')
like so$('responseStatusLine').toString().substring(9, 12)
The text was updated successfully, but these errors were encountered: