Click or drag to resize

SurveyFeature Methods

The SurveyFeature type exposes the following members.

Methods
  NameDescription
Public methodCloseSurvey
This method can be used for closing a running survey. The user executing the code method does not have to be a survey admin The Action object must be a Survey activity for the survey which should be closed
Public methodCreateInitialWorkItems
Code method is invoked on the transition leading from the "verify" activity to the "split" control element.
Public methodCreateSurveyProcessTemplate

This code method is intended specifically for the OIM Packaged Solution.

The code method is used in the "Create survey template" process template. It creates a new process template that represents the configured survey template.

Codemethod usage
Designed to be used in a process onlyYes
Action Object Survey template object.
Security The method overrides all security. It therefore doesn't have to be executed by the SYSTEM user.
Public methodInitialize
Cascade delete survey objects when deleting survey target object
Public methodInitiateSurveyInstance

This code method is intended specifically for the OIM Packaged Solution.

The code method is used in "Create survey xx instance" processes (that are created by the "Create new survey template" process).

Codemethod usage
Designed to be used in a process onlyYes
Action Object "Survey" objects.
Security The method overrides all security. It therefore doesn't have to be executed by the SYSTEM user.
Public methodLaunchSurvey
Launch surveys using a predefined Survey Schedule data object. It is possible to map values from the Action object to the scope variables and survey settings in the survey
Public methodRecalculateSurveyAssignees
Recalculates the assignees of all non-completed objects in a survey and reassigns the survey activities (if needed). Is intended to be executed in a nightly timer event.
Public methodStartScheduledSurveys
Start a Survey based on a Surveyschedule object
Public methodSurveyActivityEscalationSetReminderSent
Sets Escalation property to Reminder Sent for activities which currently have Assignees The code method is used in the OOTB Event definition "Survey Escalation: Send reminder" to ensure that "Reminder sent" value is ONLY set for survey activities with an active assignee(s).
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also