what is "valuesNull" used for when you create a cache?

The API for creating a cache in an environment shows an optional property of "valuesNull" in the request body under "expirySettings":

"expirySettings": {  

  "expiryDate": {

     "value": "{mm_dd_yyyy}"
  },

  "valuesNull": "{true_false}"   

}

However, I cannot find a description of that option. Does it mean that the cache can contain null values?

Stephen

Solved Solved
0 1 157
1 ACCEPTED SOLUTION

Not applicable

sgilson, AFAIK valuesNull works like below .

In populate cache you can set expiry settings and you also have expiry settings for the cache .

So this property helps in deciding what expiry settings has to be applied for each entry.

if valuesNull = false // which is by default

When you have set expiry in policy , it will be considered .

When you don't have expiry in policy , default cache expiry will be considered .

if valuesNull = true // which you never need to use but in this case

irrespective of whether you have expiry in policy or not , the default cache expiry settings will be considered .

View solution in original post

1 REPLY 1

Not applicable

sgilson, AFAIK valuesNull works like below .

In populate cache you can set expiry settings and you also have expiry settings for the cache .

So this property helps in deciding what expiry settings has to be applied for each entry.

if valuesNull = false // which is by default

When you have set expiry in policy , it will be considered .

When you don't have expiry in policy , default cache expiry will be considered .

if valuesNull = true // which you never need to use but in this case

irrespective of whether you have expiry in policy or not , the default cache expiry settings will be considered .