New globals driving me crazy

If I’m seeing it correctly you are trying to use identity after a login. The identify step in the global is run before the login step, so it is null when the user wan’t login or it will return the previous logged in user. The identity is not by reference, so it will not be updated by the login step. To update the identity you need to add a new identify step after the login, or you could use the output of the login which is also the new logged in identity.

Yes,spotted that earlier Patrick and changes it to appear after login. Still no difference

This
image

Returns

image

OK, i figured it, thanks Patrick

Needed this stage re-get the identity

image

Got to say old way was far simpler!

Ah now i understand you want to access the identity directly after login.
Just use the login step then - no need to add identify there:

The login step outputs the identity.

Yes, just a simple login then retrieve user details like i have done hundreds of times before

Once you know what is happening it is obvious but I think perhaps the step named “Security Login” which returns the identity may be better named “security login identity” for the sake of clarity?

2 Likes