Technical enquiry - HTTP status codes using API in
Comments
-
[font=Calibri, sans-serif]Hi all, is it possible to return different http codes based on flow outcomes? We seem to always return 200 irrespective of completion/error. I assume it’s by design but was wondering whether there were hooks to override it.[/font]
-
[font=Roboto, Arial, Helvetica, sans-serif]Custom response codes and error messages can be returned to any system connecting to Decisions via a REST call by utilizing Throw API Exception steps in your flow(s). This step allows you to specify a response code and error message to return whenever your flow leads to that step. I have created a small example flow that takes an int as input and returns a 500 response along with an error message whenever the int does not equal 1. Feel free to import, review, or modify it at your convenience.[/font]
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 111 Rules
- 282 Administration
- 216 Portal
- 500 General Q & A
- 718 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions