WEM Session Folder
The Old "Session" in your Data Model
We all have become accustomed to having fields in the Data Model that are not part of a Persistent List - so they are not saved to a database and their values are only available to one specific user in one specific user-session. Also known as temp(orary) fields, or transient fields. Many WEM-users have created a folder "Session" within their projects to store some (or most) of these fields, to make clear what these fields were used for: to store user-selected filter options, logged-in user information, keep track of certain progress in certain processes.
Once a user would close the browser, all these values would be lost and a new session could be started. Also it was not possible to have multiple tabs open for a specific application and share the same data and the same progress over these multiple tabs. You could duplicate an active tab and then have 2 tabs with momentarily the same situation - but as soon as you would change a thing in one tab - it would go on with its own session unaware of the situation in the other tab.
The new WEM Session Folder
With the new Kubernetes environments, WEM Runtime can now support a more powerful WEM Session using the specialized WEM Session Folder. This special Session Folder can be activated from the Project Features page in Project Configuration:

Activating the Session Folder setting will create a specific Session Folder below your Data Model tree:

The fields you put in this Session Folder will behave different from what you may have become accustomed to in the old way.
Once you have activated the Session folder Feature, the Session folder is created - this action cannot be reverted. The setting will disappear from the Project Legacy Features Page. Not to worry - you can (and have to) choose what fields to put in this special Session folder, and only those fields in this folder can be used in the new way.
You can - and will - use most of the Transient Fields in the same way you are accustomed to. You will only put fields in this special Session Folder that may - or should - be used in the more powerful way we will describe in more detail.
Session and Navigation
There is a BIG difference in how Navigation (menu items and navigation nodes in flow) works with Session (fields and values) based on the Navigation Action Type. This type can be set on Project Level, using the Legacy Features (same as where the Session Folder can be activated if not available yet).
The Legacy way uses POST-requests, which kept and transferred the session information via that form-post over to the flow behind the navigation item. But this was before we evolved to new techniques and the new Session Folder.
The NEW and default way (in new projects) for navigation of Deeplink-type items uses GET-requests. This way, the current flow STOPS and a new request is made to the server. This approach requires the use of the new Session Folder.
So, Session Folder and Navigate using GET- Requests go hand-in-hand.
Last updated
Was this helpful?