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.

Creating Questionnaires in Custom Applications

JPing
Tera Expert

Hello Fellow Developers, 

 

I have been tasked with creating a custom application. The table that the user would start in is called "Engagement Request"  and that table will just have some meta fields: state, type, name, description, etc... 

 

The type field dictates the workflows that will trigger. A user can set this field manually if they know what they are looking for or they can take a questionnaire. The results of the questionnaire should then mapped to a type value.  

 

In the ITSM change module - we can create a change assessment which a user can fill out when they are creating normal changes. The results of that assessment set the change risk and urgency values. 

 

How do I create a similar function to this? I would like the Questionnaire to be a pop up in the middle of the form and after they submit it, the questionnaire instance would be referenced in the engagement table. 

 

What I'm think of doing is I can create a questionnaire table and then just have a referenced field and allow the users to click on the "i" and then new. The problem with that is that is that the questionnaire can change for the clients. I would like them to be able to update the questions, order and mapping (to type value). 

 

I am right now trying to reverse engineer the change assessment functionality as that appears very close to what I'm looking for.  

 

Thank you in advance. 

0 REPLIES 0