web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

SysGlobalCache keys existence time

(0) ShareShare
ReportReport
Posted on by 1,230

Hello,

I have a custom class and a method inside like this one:

Inside CheckCallFromAsterics.validateCheck() I have the following method:

And it always returns false cause globalCache doesn't contain pair (classstr(CheckCallGetFromAsterics), literalstr(run)))

When it returns false validatecheck() returns true and then globalCache is set with pair (classstr(CheckCallGetFromAsterics), literalstr(run))) in method startProcessed from above.

Method startProcessed  starts when I log in.

The question that even thoiugh I have set up pair (classstr(CheckCallGetFromAsterics), literalstr(run)))  in global cache. At next login my global cache doesn't contain this value. Does it mean global cache only exists while my user session exists and then it is eliminated?

Thanks.

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    239,208 Most Valuable Professional on at

    That's correct. It's just a cache in memory; it's not persisted between sessions. If you want something saved for later sessions, put it into database.

  • dark_knight Profile Picture
    1,230 on at

    Thank you Martin as always.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 657

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 453 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 190 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans