Posted: 8 Feb 2016 11:54 EST Last activity: 21 Jun 2016 14:47 EDT
Is there a way to associate Survey to Data Instance?
My application will have a list of Data instances under a work object(in a pagelist). For each data instance, a survey needs to be associated so that, information will be captured in form of questionnaire/answers.
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.
Posted: 5 years ago
Posted: 15 Feb 2016 13:19 EST
Kevin Zheng (KevinZheng_GCS)
Director, Software Solutions Engineering
I don't know how dynamic you are expecting things. Pega survey isn't designed to be completely dynamic. Depending on your goals visibiiltity conditions might get you a lot of the way there, but if your goal is completely dynamic survey's based on a pagelist, (IE have a separate question and set of answers), say to generate each question from an entry in the pagelist, then that will take a lot of customization,. It is possible, to generate new question rules, and save them, but that again would take custom code, and be subject to changes if the internal rule structure that PegaSurvey implements changes in future releases.
I think you should discuss your business needs with your Account Executive, to see if this would be an enhancement that the PegaSurvey team might take up.
In my view, you would still need to create surveys from the survey builder.but then based on the each data instance(pagelist item) identify the survey name at the run time and display the survey in next screen(flow action).
you would need to run this in a loop(jump in flow) so that your survey is displayed for each page of pagelist.
This has been solved by creating an embedded page property in the data class which points to work class and run the survey on this embedded page for each instance of data class. So at run time, this embedded page will hold the survey answers and associated data.