Suppose you get the error “No outgoing sequence flow of the exclusive gateway” when you use a gateway activity and write a query.
In that case, this is because if two separate branches exist, the process can run through validation. However, if there is a 3rd condition other than the two defined conditions, two needs will not be met, so it gets the following error. For this, in such cases, it is necessary to put the default condition arm for the process to continue.