AIO lib state - expiry

Avatar

Avatar

ursboller

MVP

Total Posts

1.0K

Likes

486

Correct Answer

252

Avatar

ursboller

MVP

Total Posts

1.0K

Likes

486

Correct Answer

252
ursboller
MVP

27-08-2020

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

View Entire Topic

Avatar

Avatar

Mihai_Corlan

Employee

Avatar

Mihai_Corlan

Employee

Mihai_Corlan
Employee

28-08-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