Hello! I am having an issue trying to display an alert and then log a user out based on a certain condition. I have a sign-in workflow that logs the current user in. Then, the User data type contains a user_status that can be either active or disabled. When the user_status of the user who just logged in is “disabled”, I want to display an alert message, reset the login inputs, and then log the user out. The problem is that no matter where I put the “Log The User Out” action in the workflow, even if I put all the other actions in a custom workflow prior to the “Log The User Out” action, only the “Log the User Out” action is executed and nothing else.
Am I missing something here? The documentation does not indicate that if I include a “Log the User Out” action, it will be the only one fired. Also, I am not convinved that custom workflows actually finish before other events, as I have never been able to prove this to be the case in any application I have worked on.
Thanks in advance for any assistance!