AIO lib state - expiry | Community
Skip to main content
Urs_Boller
Community Advisor
Community Advisor
August 28, 2020
Solved

AIO lib state - expiry

  • August 28, 2020
  • 1 reply
  • 1440 views

Hi all. have a question regarding aio-lib-state: https://github.com/adobe/aio-lib-state

what is the expiry of a key I set in an action? is the state cleared after an action or persits for a given time?

example: action1 sets a key to the state, can a action2 get the value when running later (and independend).

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by mihai-corlan

Hi Urs,

 

The value doesn't expire, so yes, your flow would work - writing values from one action and retrieving them later from another action or the same one.


Cheers,

Mihai

1 reply

mihai-corlanAdobe EmployeeAccepted solution
Adobe Employee
August 28, 2020

Hi Urs,

 

The value doesn't expire, so yes, your flow would work - writing values from one action and retrieving them later from another action or the same one.


Cheers,

Mihai

Urs_Boller
Community Advisor
Community Advisor
August 28, 2020
Hi @mihai-corlan thanks a lot for the fast reply and confirmation! will give it a try. on the other hand, that means we need to be careful using this feature and create a proper documentation