How to store a variable in memory for a specific period of time in cloud platform?

Hello Team,

Can we store a variable in memory for a specific period of time in cloud platform, if yes, please help HOW ?

Use Case:
client want to store the user access token for a specific time in memory, after say 30 mins it should be auto removed from the memory.

Note: in app platform the code was- app.memory.set(“cbtoken”, cb_token, 1800)

Hey @Dipanjan_Datta It’s not possible in the cloud as of now. However, as a workaround, we can use the ‘user event’ node. In that, you can set an event delay. Then you can create and trigger a workflow using the event. In that workflow, you can set all the variables to empty.

I hope this will help.

Thanks alot for the suggestion @Parthiban_J