When the HTTP Query Smart Service is run, the status code is stored in the statusCode output variable only if it is a success code (200, 30X). If the query fails, the status code is not saved in the statusCode output variable.
This issue has been reported to the Appian product team. The reference number for this issue is AN-66644.
If a business requirement exists to capture the status code, a workaround is to extract the status code from the errorInfo output variable.
This article applies to all versions of Appian.
Last Reviewed: June 2017
© 2019 Appian. All rights reserved.