Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Best way to store "Today" when running script that passes midnight
If I have a map/reduce script that may run for a long time or the user starts at 10pm and it runs past midnight and my script relies on "today" still being the date it was started, what has anyone done to accomplish storing this value? Cache does me no good as you can't rely on it being there Session variables do me no good as they don't last from phase to phase.
The cache states when using get:
The maximum duration, in seconds, that a value retrieved by the loader can remain in the cache. Note that the value may be removed before the ttl limit is reached.