Survey app not mapping work items to survey results / no reports
https://PORTAL.com/View/SurveyApp#/mySurvey/?templateId=TEMPLATEGUIDE&workItemID=SCOBJECTGUID
and am able to fill out the survey. Once I hit submit, it successfully creates the CI, but the WorkItemID field on the survey CI is null. I created a view in the console to see the completed survey CIs and have verified WorkItemID is null and there are no related items on the new CI. I've also tried with the ID of a work item (IR2520) but that didn't work either.
I also can not see reports. When I go to Survey Templates and then hit the graph icon to open up a report, it switches to a report view but all I get is a spinning circle. I know we need to wait a day for results, and some surveys have been submitted a week ago so I don't think that's the problem.
There was a post from someone else that said no reports could be a licensing issue. Could both of these problems be caused by licensing? We are licensed for the survey app, have the licensing app, and everything else (end user portal / helpdesk portal / knowledge base / dashboards) is working correctly.
Thanks for any help!
Best Answer
-
seth_coussens Member Ninja IT Monkey ✭✭✭✭Have you checked the Cireson Console Licensing settings and made sure that your license for the Survey App is there and valid? If it is not there or not valid then the report workflows will not run and you will get the error when viewing reports that you described above.
If all of that is in place, please do as Conner has suggested and find the Survey App workflows (there is one specific to reports) and find any failed instances and paste the error reported here.5
Answers
According to the Link WorkItem to Survey - Cireson KB#1318 Article, they have the link a bit different.
Are you sending out the link to end users with the "/survey/create" portion?
I tried that one also (to be sure, just tried it again) and a CI was created with WorkItemID null again.
Though, what does this piece mean on the link: $Context/?$Id$? - Is that simply the SC GUID of the work item, or is it looking for the work item ID (meaning IR10)?
It is possible the permissions/ have not replicated over, can you verify each step has been followed in the Survey App Installation Guide - Cireson KB#1307
Ex. [SCSM Console > Library > Groups > Survey App Group] -- The Subgroups section contains the 3 groups:
You could try a full resync on your Cache Builder as well to ensure the CiresonDB isn't the culprit:
I still can't see reports though. Through the Chrome developer tools, when I click Reports I get this error:
Any ideas?
You need to put them in "C:\Program Files\Microsoft System Center 2012 R2\Service Manager" or wherever your install location is on your Primary Management Workflow Server.
To find out which SCSM server is your Primary Workflow Server:
SELECT TOP 10 [BaseManagedEntityId]
SCSM Console > Administration > Workflows > Status > Cireson Survey Build Survey Reports > Need Attention Tab > Find Failed Entry then View log > Select the failed event which was executing... There should be a details pane you can expand and copy text from.
If all of that is in place, please do as Conner has suggested and find the Survey App workflows (there is one specific to reports) and find any failed instances and paste the error reported here.
Apparently the link is case sensitive. All my e-mail templates have:
&workItemID=
which doesn't work. I changed it to:
&workItemId=
I've tested it more than once this time!