Click or drag to resize

ActionArguments Properties

The ActionArguments type exposes the following members.

Properties
  NameDescription
Public propertyApplyChanges
An extension can set ApplyChanges to have the property values of the survey object updated (based on changes to .PropertyValues) and optionally complete the workflow step.
Public propertyChangedProperties
System names of the properties that has been changed. Important: only properties that has been changed *before* the action handler was called are present. Hence, if the action handler makes changes to PropertyValues then the changed properties are not immediately reflected in ChangedProperies.
Public propertyDbConnection
Public propertyDbTransaction
Public propertyEventType
The type of event that caused the action.
Public propertyFactory
Public propertyFinalPropertyValues Obsolete.
Property values of the survey object (considering the changes made during the survey). See InitialPropertyValues for a description of the data types. Tip: use the GetPropertyValue method for easy access to the property values.
Public propertyInitialPropertyValues
Initial property values of the survey object at the time when the survey was initiated. Keys in the dictionary are property system names. Values are collections of property values. Each value for a property is either a: string (VP datatype text, hyperlink, xml), integer (VP datatype integer, RP, SP), boolean (VP datatype bool), TimeSpan (VP datatype TimeSpan), double (VP datatype decimal) or DateTime (VP datatype DateTime). The result for value property will always contain zero or one value. The result for set- and reference-properties can contain zero, one or multiple values. For set- and reference-properties the value ids are returned (set property value ids or data object ids). Tip: use the GetPropertyValue method for easy access to the property values.
Public propertyIsChildObject
Is true if it is a parent/child survey and the survey object has a parent
Public propertyLogEntries
Log entries describing who changed which properties and when on the survey object. Tip: can also be accessed with GetMostRecentLogEntry().
Public propertyParentActionArguments
Action arguments for performing action on parent survey object (if any). Is only populated if parent and child survey objects are submitted in the same call.
Public propertyParentSourceKey
Source key of the parent object if the object is a child. Is null if the survey object is parent
Public propertyPropertyValues
Current property values of the survey object (considering the changes made during the survey). Tip: if changes are made to PropertyValues and the survey object should be updated accordingly then remember to set ApplyChanges=true.
Public propertyRoutingInfo
Contains info about the previus and current workflow steps. Note: RoutingInfo is null if EventType==SurveyCloses.
Public propertySkipValidation
It skips the survey required fields validation when it is true. This flag is set true when a survey is set ApplyChangesAndCompleteStep from the PostActionHandler.
Public propertySourceKey
Source key of the survey object to perform post actions on.
Public propertySurveyId
Id of the survey that the survey object has been processed in.
Public propertyTemplate
Public propertyWorkflowCompleted
Has all (relevant) workflow steps been completed for the survey object? WorkflowCompleted is false if: * The action is being executed as a result of survey being prematurely closed. * The action is configured to run after every step and the step that has just completed isn't the final one for the object.
Public propertyWorkflowStepLogEntries
Log entries describing who completed which workflow steps and when on the survey object. Is empty if the survey object hasn't completed any steps.
Top
See Also