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.

Solution: How to avoid creating Guest user in a Survey?

Community Alums
Not applicable

Hi Community,

 

I had researched a lot but didn't get any fruitful answer how to avoid creating Guest user Survey record. Finally, I found the solution and sharing with you all. Copy the below notification script and in your notification which is sending out the Survey, rest it will take care of everything:

______________

<mail_script>
var html = new AssessmentUtils().getInstanceLinkHTML(current);
template.print(html);
</mail_script>

______________

Happy learning.

 

Please acknowledge helpful if this post helps you anyway.

 

Thanks,

MK

1 ACCEPTED SOLUTION

Community Alums
Not applicable

When OOB script include is doing the magic then we don't need to do anything extra. We can always add bells n whistles but their is a need. 

View solution in original post

2 REPLIES 2

jmurikinati
Tera Contributor

Hi,

 

you can restrict it in in bound email action , modify out of the box script.

 

regards

Jana

Community Alums
Not applicable

When OOB script include is doing the magic then we don't need to do anything extra. We can always add bells n whistles but their is a need.