Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

servicecallout.policy_name.expectedcn variable returning null value

Hi @dchiesa1 ,

I'm trying to fetch the common name of  a target used in service callout using this flow variable servicecallout.policy_name.expectedcn, but the  variable is returning null value. I'm trying to fetch the value in a JS after the Service callout executes. 

2 1 226
1 REPLY 1

I think the documentation is not clear on that variable. It looks to me that the servicecallout policy READS the variable servicecallout.policy_name.expectedcn . It does not SET it.  And then, it will use that common name to check the certificate on the peer.