How to create user session for anonymous user

0
Hi I want to use anonymous user session on button click in a page where user is not signed in. I have created a microflow which creates object of system.session entity, I want to know what value should i give in create object. This is image of create object   This is the microflow     Edit: Got this error on using current user session
asked
1 answers
6

Hi Abhishek,

I think you should give $currentUser

that should do the trick,

Hope it helps!!

answered