A boundary event on an automatic step like the http task cannot be done (only wait states like e.g. a user task). If you’d want to build in timeouts, you would need to configure it on the http client level. This can be done through the processEngineConfiguration#setHttpClientConfig method (which takes in a variety of configuration settings).