...
From the project side menu, select Reporting > Data
Select the Partial-Survey Schema from the schema drop-down.
Select the document from the list.
You can see the Survey ID and the Session ID.
Select survey
The function node with the name Select Survey fetches the surveyId and the sessionId from the incoming request and pushes the data to Dynamic Data Manager.
...
Code Block |
---|
var _ = global.get('lodash'); msg.payload.originalRequest.data.surveyID=msg.req.query.surveyID; //to support the session ID from query Param msg.payload.sessionId = msg.req.query.sessionId || msg.payload.sessionId; var querySessionId = _.get(msg, 'req.query.sessionId', null); if (querySessionId) { _.set(msg, 'payload.originalRequest.data.sessionId', querySessionId); } |
...
Attachments | ||||||||
---|---|---|---|---|---|---|---|---|
|
...