cache in conditional flows

Not applicable

Hi,

I am trying to populate cache in one conditional flow using populate cache

and trying to read cache in other conditional flow using lookup cache.

My lookup cache seems to be empty.

How do i get data from one conditional flow to another conditional flow?

0 2 257
2 REPLIES 2

Not applicable

Hi Chandana , I hope you have configured the cache and cache resource in the respective policies. We have a similar scenario in one of our implementations , where we store certain client attributes in cache with a specific key and retrieve them in other flows and proxies as well.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PopulateCache async="false" continueOnError="false" enabled="true" name="CachePopulate">
    <DisplayName>CachePopulate</DisplayName>
    <Properties/>
    <CacheKey>
        <Prefix>prefix</Prefix>
        <KeyFragment ref="internal_id"/>
        <!-- as an example -->
    </CacheKey>
    <CacheResource>XXXXXXXX</CacheResource>
    <Scope>Application</Scope>
    <ExpirySettings>
        <TimeoutInSec>13600</TimeoutInSec>
    </ExpirySettings>
    <Source>XXXXXXX</Source>
</PopulateCache>


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LookupCache async="false" continueOnError="false" enabled="true" name="CacheLookup">
    <DisplayName>CacheLookup</DisplayName>
    <CacheResource>XXXXXXXX</CacheResource>
    <AssignTo>variable</AssignTo>
    <!-- name of flow variable -->
    <Scope>Application</Scope>
    <CacheKey>
        <Prefix>prefix</Prefix>
        <KeyFragment ref="internal_id"/>
        <!-- as an example -->
    </CacheKey>
</LookupCache>

I have modified few values from the policy we are using. If you are still not able to identify , please share your code , i will take a look

Hope this helps

1. please verify that naming is correct. (cachekey, prefix, or resource)

2. please verify that the cache expiration time is in within limits (has not expired)

3. please verify that there is not another process/proxy, that might have deleted the cache.