cimbalek opened a new issue, #2189: URL: https://github.com/apache/incubator-kie-issues/issues/2189
### Describe the bug Consider a process with two catching signal events. If an instance is waiting in the first signal, and you send a signal to the second signal node, nothing happens at the engine side (as expected). However, the REST call returns a 200 response. It should respond with some 40x to indicate to the caller that the call was not successful. ### Expected behavior The engine should return either 400 or 404 http code to indicate to the caller that the call was not successful. ### Actual behavior The engine returns 200 OK status. ### How to Reproduce? 1. Create proces with two subsequent intermediate signal events, let's call them "first" and "second" 2. Start the process instance 3. While process instance is waiting for the "first" signal, send "second" signal 4. Server does nothing (which is correct), but returns 200 (which is not a correct behaviour) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
