I have a “when condition is true” set to “everytime” that is set to trigger when “Current is logged out”, the action being to redirect them back to the index/login page.
However, this does not seem to be triggering properly - the user is logged out (as other details on the page that refer to current user come up blank, as they should) but the redirect doesn’t happen. Its a simple “Go to page” navigation.
So wondering if there is some flaw in the “Current user is logged in” status not being registered properly?
How do you trigger your logout command.? check workflow and arrange properly, navigation should be the last command on your workflow. on your navigation workflow set condition “only when current user is logged out”.
The current user is being logged out, because in the dashboard I have a “Currently logged in as First name/last name/ email”, which displays blank when this happens. So thinking about it further, the issue here seems to be the “go to page” action.
As a failsafe I tried putting a straightforward “When current user is logged out”, such that if for some reason the above workflow doesn’t do the trick, the other should fire anyway. but again, no redirect.
In addition this seems to be sporadic - most of the time it works, but every now and then it doesn’t, which leaves end users confused when they are logged out but still within the dashboard (and clicking logout does nothing, even though the actions are “log the user out” and then again, go to index).
Its just odd…primarily because there’s nothing deep or complex going on here.