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
shopkeeper56_23
Cirrostratus
Apr 14, 2016You shouldn't need to use an expression to obtain that variable though. Also that expression is incomplete/invalid (see the log entry) so I'm surprised its worked for you in the past (maybe older version?)
I suggest you try the variable assignment I mentioned or using the simple view Lucas mentioned.
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