Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

send public survey to external visitor and use their response to update visitor registration record

rajasekar reddy
Tera Contributor

Hi WSD experts,

we have a requirement to send public survey to external visitors (as they would not login to snow) and when they submit submit we need to update their registration record.

 

But in survey trigger conditions we don't have external visitor field in User selection.

 

How can we send this survey to external visitor when as assesment is created.

 

1 REPLY 1

Ali Jubran1
Tera Contributor

Generate an instance of your survey after the reservation is completed. There is a trigger BR on the Survey which should do this for you. Set the user as Guest or create a generic WSD Visitor user. Then you can construct a URL for the public survey and send an email with that URl. There is a paramater you can pass like this: /sp?id=public_survey&instance_id=[sys_id of your survey isntance]