Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AIO lib state - expiry

ursboller
Community Advisor
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).

1 Accepted Solution
Mihai_Corlan
Correct answer by
Employee
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
Mihai_Corlan
Correct answer by
Employee
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

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