Create Named Session
  • 02 Nov 2021
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Create Named Session

  • Dark
    Light

Overview

A Named Session allows for a specific user account to pass in when executing a Flow via REST, without exposing the user account information. To relay the data properly, a Session ID is automatically applied to the generated URL when the Named Session is selected. Named Sessions do not expire, if expiration is desired, use JWT.

Example

This example will demonstrate how to create a Named Session and how to generate the appropriate REST URL from the Flow. 

  1. In the Decisions Studio, navigate to System > Security > Named Sessions and select Add Named Session from the bottom Action Bar.
  2. When the 'Add Named Session' window appears, enter a name and use the 'Pick' button under ForAccountId to select the user account for this Session.
  3. Click 'OK' once complete and refresh the Folder Data to confirm the Named Session appears.
  4. Right-click the name of the Flow that this Named Session will be applied to, then navigate to Run [Advanced] > Integration > View Integration Details in the Action Menu. 
  5. In the View Integration Details window for the selected Flow, change Credential to Named Session, then choose the respective Named Session from the dropdown. 
  6. Select SHOW SERVICE API for a REST URL via GET/POST with the Named Session ID attached to the URL automatically. 
    Clear Session URL Extension
    Add &clearsession=true to the end of the URL to ensure that each time the user exits the browser after completing the Named Session Flow/Form, the session is cleared. This will allow another user to run the same Flow/Form on the same machine with a different Named Session.


Was this article helpful?