- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2017 01:11 PM
With public surveys there is no TriggerID so you can't sink the response to the record which triggers the survey. Furthermore, since it's a public survey users don't have to log in which again means there is no way of linking the response to the case. What I can do is append the url with &casenum=XXXXX. What I have not been able to do is pull that number into a survey question automatically. There are articles online about this but they appear to be for express.
My new thought is if it's possible to pull this number out of the url using the UI page and when the user clicks submit, the number is sent over along with the response. Clearly when the user clicks the submit button it creates a record in SN for the survey response. Can we not add a field to that same table to hold this case number and send it over as part of the submit action?
I took a look at the UI page and given I'm not a programmer by trade, more of hacker, it looks to be pretty complex. Any thoughts on if this is possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2017 03:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2017 03:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2017 03:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2017 04:02 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2017 10:47 PM
Hi Nam,
I did it but what happens is the URL would first load the hrcasenum value in URL as below:
Once load is completed URL changes as below:
because of which I get value in Project field of survey as blank
Could you suggest what is being missed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2017 11:05 PM
Hi Jaspal,
In your case,I believe you'll need to escape the '&' before hrcasenum to '%26', so the link will be
https://<your-instance>.service-now.com/nav_to.do?uri=assessment_take2.do%3Fsysparm_assessable_type=248d214a4f95c700eb44d48e5210c701%26hrcasenum%3D1234
Let me know how you go
Nam