Response Expression "KEY function" is always returning an empty string

Document ID : KB000116721
Last Modified Date : 02/10/2018
Show Technical Document Details
- KEY function usage on the policy Sevrer 
- Followed the Docuemnt to configure KEY Function within an http header Variable Response

- Response keeps returning empty 
This is a Known issue with KEY Function and impacting all CA SSO Releases 
If you are Experiencing the same issue, please open a case with CA Support and request a DEV fix for the same.
The DEV fix will be generated for your CA SSO Release based on Defect DE375003.
After Fix is deployed, the function can be tested as follows:

* Expression configured in WAMUI is as 
"KEYExpTest=<$expr="KEY('C:\expr\schedule.dat','IAM','<start>')" $>", 

* The contents of the .dat file is as below: 


The point to note is, in the above example, '<start>' is the key. The key should match the expression configued in WAMUI and the .dat file. 
The output when a transaction is run will be 'KEYExpTest=<20180712080000TEST>' 
ie., the first <start>'s value after 'IAM'.