currentSession and currentUser values are empty.

Hi,   I have created the microflow for unit testing of another microflow where I have require the session parameter. But while I run the test the currentSession and currentUser values are coming empty. Could you suggest any way where I can generate or create the I session data Or any other solution to this?   Thanks and Regards, Kavita
1 answers

Hello Kavita,

You can use the community commons appstore module’s executeMicroflowAsUser java actions to execute your microflow as a specific user.

Hope this helps