Expand my Community achievements bar.

SOLVED

AIO lib state - expiry

Avatar

Community Advisor

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).

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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

Avatar

Community Advisor
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