Cant retrieve the session ID

0
My microflow retrieves System.Session with XPath [System.Session_User=$currentUser] then sets string variable $SessionID to $Session/SessionId Problem: $SessionID returns null $currentUser is properly filled I have read this post which suggest setting the persistentSessions configuration option, but I'm not deploying yet, I'm just running from the modeler. Is there a way to get the session ID during development/testing?
asked
1 answers
5

Go to your project settings, select the 'custom' tab and create a new setting with name PersistentSessions and value true. That should do the trick.

If you don't want to do that, you can still grab the session object from the context object in a Java action.

this.getContext().getSession().getId();
answered