I’d like to make use of the session_id for input validation. Where do I pull the user’s session ID from? I do not see it in either the scope or context when my analysis runs.
Hello jay.steinman,
To capture the Session ID in your form, you need to add a new field with the type “Capture user” and select “Session ID” under the “Field to be captured” option, as shown in the image below:
You can find more details about this setup in Section 16 of the documentation:
Field Types for Input Form – Validation
This section also explains how to send the session_id in the metadata when writing data to a device.
⚠️ **Note**: A bug was identified when using **Session ID** with input form validation. When the validation message has a `success` status, the form widget is automatically closed after a few seconds for all users who have it open. The message isn’t displayed as expected, but the widget is closed. It should only be closed for users within that specific session. This issue is currently in QA and a fix should be deployed in the coming days.
Let me know if you need further clarification or assistance!
