Use gateways or attach events to model our process
Recently me and a friend stumbled on a discussion how to model our process.
Previously we used gateways to model our process.
Example here: We used a exclusive gateway, saying if the user logged in 3 times wrongly in a short period, then if yes --> Lock him out. No --> Continue the flow.
Another way we went to model our process is by using events instead of gateways.
As seen here, I attached a signal event to the database checking the credentials. When the system would see that the user logged in 3 times wrongly in a short period, it would signal to lock out that user for x minutes.
We found that while the attach events made the process model a lot cleaner (a lot less gateways we had to use), it was less readable for people who don"t make process models.
What is the correct way to use these?