Create Named SessionLast Updated: 12/03/2015 Introduced in Verision: 2.0 |
A named session makes it possible to pass in a specific user account when invoking a workflow via REST without exposing the user account information. Instead, a session ID is used in the URL.
To create a named session, log in as an Adminstrator and navigate to System > Security > Named Sessions.
Click on Add Named Session.
Enter a session name indicative of the user intended to use the session.
Click on the For Account ID field Browse button, and navigate to the user account to associate with the session. Click OK.
Click OK.
To use the session, right-click the named session in the named sessions list and select Get Named Session Value. Copy the named session value. It will replace the session ID parameter value in the workflow’s URL.
Navigate to the flow that will be invoked using the named session. From its Actions menu, select Run [Advanced] > Integration > Get REST URL With Session.
The URL will resemble:
Following &sessionID=, delete that session ID and replace it with the copied session ID of the named session.
Now, when the flow is invoked using that URL, the user name will show as the account specified in the named session.