This topic applies to systems using a Service Desk or Universal license only.
The Incident with Survey process is a version of the standard Incident process with the option of sending a simple end-user survey after the Incident is resolved.
For details about the Optional Actions at each status, see the Incident process.
By default, every tenth Incident is selected for surveying. If the Raise User for the selected Incident has opted out of surveys, then the Complete Survey action is not available. You can change the frequency at which the Complete Survey action becomes available by changing a value in a calculation on the condition called Survey?. To change the frequency of surveys, you need to replace this condition with a new one with a different frequency specified.
import System static def GetAttributeValue(Incident): Frequency = 10 is_divisible = false if Incident.RaiseUser != null: if Incident.RaiseUser._DoNotSurvey == null: is_divisible = (Incident.Id % Frequency == 0) if Incident.RaiseUser._DoNotSurvey != null: if Incident.RaiseUser._DoNotSurvey.ToString() == 'False': is_divisible = (Incident.Id % Frequency == 0) return is_divisible
We recommend that this is the only line of the calculation that you change. Make sure you do not change the indentation of the lines – this affects how the calculation is interpreted.
For more information about calculations, see the Designer Guide.
When the incident is resolved, a Complete Survey action becomes available after the configured number of Incidents have been resolved. The originator of the Incident (that is the person for whom the Incident was logged) is sent a reminder to notify them that there is a survey for them to complete. You could use Process Approver to send this reminder as an e-mail containing a link to the Survey through Web Desk.
For more information about configuring Process Approver, see the Process Designer chapter of the Designer Guide.
Was this article useful?
The topic was:
Not what I expected