Forum Discussion
bbowdensa_25884
Altostratus
Apr 13, 2016APM Expression Error on Variable Assignment
Working on an F5 running BIG-IP 11.5.4 and using a Variable Assignment that I have used on many other F5s as shown below.
session.logon.last.username = expr { [mcget {session.saml.last.nameIDVa...
- Apr 15, 2016
Opened a support ticket and this ended up being an issue with the browser and the F5 admin page. Deleted all cookies, restarted the browser and entered the expression again and it no longer garbled the expression as it had previously. The expression is now working fine.
shopkeeper56_23
Cirrostratus
Apr 13, 2016Hi
I shouldn't think performing a Variable Assign to an expression would be possible. Expression is meant to produce a result, not a variable.
The correct expression for what I think you're trying to do would be something like...
session.logon.last.username = Session Variable session.saml.last.identity
bbowdensa_25884
Altostratus
Apr 14, 2016I am using expr { [mcget {session.saml.last.nameIDValue}]} to grab the nameID out of the SAML response and set the session.logon.last.username variable with that value. I have used the same expression on other F5s not sure why I am running into an error hear or why when I go back to edit it, it appears as it does in the attached picture (above)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects