Class NSEmailFlow
Carrier object for EmailFlow.
Syntax
Constructors
NSEmailFlow()
Initializes a new instance of the NSEmailFlow class.
Declaration
NSEmailFlow
Methods
GetAssociate()
Gets the associate setting for the EmailFlow.
Declaration
NSAssociate GetAssociate()
Returns
Type | Description |
---|---|
NSAssociate | Associate entity. |
GetBlockLists()
Gets the block lists for the EmailFlow.
Declaration
Vector GetBlockLists()
Returns
Type | Description |
---|---|
Vector | Vector of block lists. |
GetContentInfo()
Gets the content information for the EmailFlow.
Declaration
NSContentInfo GetContentInfo()
Returns
Type | Description |
---|---|
Content information. |
GetCreatedBy()
Gets the associate that first created the EmailFlow. Read-only property.
Declaration
NSAssociate GetCreatedBy()
Returns
Type | Description |
---|---|
NSAssociate | The associate who created the flow. |
GetCreatedDate()
Gets the date and time when the EmailFlow was created. Read-only property.
Declaration
DateTime GetCreatedDate()
Returns
Type | Description |
---|---|
DateTime | The creation date and time. |
GetDescription()
Gets the description of the workflow.
Declaration
String GetDescription()
Returns
Type | Description |
---|---|
String | The description of the workflow. |
GetEmailFlowId()
Gets the primary key (ID) for the EmailFlow.
Declaration
Integer GetEmailFlowId()
Returns
Type | Description |
---|---|
Integer | EmailFlow Id. |
GetEnrollmentEnd()
Gets the enrollment end settings.
Declaration
String GetEnrollmentEnd()
Returns
Type | Description |
---|---|
String | Enrollment end settings. |
GetExitFlowId()
Gets the exit flow ID for the EmailFlow.
Declaration
Integer GetExitFlowId()
Returns
Type | Description |
---|---|
Integer | Exit flow ID. |
GetExitSuccessFlowId()
Gets the exit success flow ID for the EmailFlow.
Declaration
Integer GetExitSuccessFlowId()
Returns
Type | Description |
---|---|
Integer | Exit success flow ID. |
GetFilter()
Gets the filter for the EmailFlow.
Declaration
NSWorkflowFilter GetFilter()
Returns
Type | Description |
---|---|
NSWorkflowFilter | Workflow filter. |
GetFolder()
Gets the folder setting for the EmailFlow.
Declaration
NSHierarchyEntity GetFolder()
Returns
Type | Description |
---|---|
NSHierarchyEntity | Folder entity. |
GetFromAddr()
Gets the email address of the sender for the EmailFlow.
Declaration
String GetFromAddr()
Returns
Type | Description |
---|---|
String | Sender email address. |
GetFromName()
Gets the name of the sender for the EmailFlow.
Declaration
String GetFromName()
Returns
Type | Description |
---|---|
String | Sender name. |
GetFromType()
Gets the type of sender for the EmailFlow.
Declaration
EmailFromType GetFromType()
Returns
Type | Description |
---|---|
EmailFromType | Sender type. |
GetGaCampaign()
Gets the Google Analytics campaign for the EmailFlow.
Declaration
String GetGaCampaign()
Returns
Type | Description |
---|---|
String | Google Analytics campaign. |
GetGaSource()
Gets the Google Analytics source for the EmailFlow.
Declaration
String GetGaSource()
Returns
Type | Description |
---|---|
String | Google Analytics source. |
GetGoals()
Gets the goals for the EmailFlow.
Declaration
Vector GetGoals()
Returns
Type | Description |
---|---|
Vector | Vector of goals. |
GetJumpToFinish()
Gets whether a contact jumps directly to finished when a goal is reached.
Declaration
Bool GetJumpToFinish()
Returns
Type | Description |
---|---|
Bool | True if the contact jumps directly to finished when a goal is reached. |
GetName()
Gets the name of the workflow.
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | The name of the workflow. |
GetOverrideConsentSubscription()
Gets whether to override consent subscription.
Declaration
Bool GetOverrideConsentSubscription()
Returns
Type | Description |
---|---|
Bool | True to override consent subscription. |
GetRemoveFromFlows()
Gets the flows to remove the sender from.
Declaration
Vector GetRemoveFromFlows()
Returns
Type | Description |
---|---|
Vector | Flows to remove from. |
GetReplyToAddr()
Gets the reply-to email address for the EmailFlow.
Declaration
String GetReplyToAddr()
Returns
Type | Description |
---|---|
String | Reply-to email address. |
GetReplyToName()
Gets the name for the reply-to address in the EmailFlow.
Declaration
String GetReplyToName()
Returns
Type | Description |
---|---|
String | Reply-to name. |
GetReplyToType()
Gets the reply-to type for the EmailFlow.
Declaration
EmailReplyToType GetReplyToType()
Returns
Type | Description |
---|---|
EmailReplyToType | Reply-to type. |
GetSelectedDays()
Gets the selected days for the sender timeframe.
Declaration
Weekday GetSelectedDays()
Returns
Type | Description |
---|---|
Weekday | Selected days. |
GetShipmentType()
Gets the shipment type setting for the EmailFlow.
Declaration
NSMDOListItem GetShipmentType()
Returns
Type | Description |
---|---|
NSMDOListItem | Shipment type item. |
GetSmsSender()
Gets the SMS sender information for the EmailFlow.
Declaration
String GetSmsSender()
Returns
Type | Description |
---|---|
String | SMS sender information. |
GetStartOnlyOnce()
Gets whether a contact can start this flow only once.
Declaration
Bool GetStartOnlyOnce()
Returns
Type | Description |
---|---|
Bool | True if contact can only start once. |
GetStatus()
Gets the status of the workflow definition.
Declaration
WorkflowDefinitionStatus GetStatus()
Returns
Type | Description |
---|---|
WorkflowDefinitionStatus | The status of the workflow definition. |
GetSteps()
Gets the workflow steps for the EmailFlow.
Declaration
Vector GetSteps()
Returns
Type | Description |
---|---|
Vector | Vector of workflow steps. |
GetTimeframeEnd()
Gets the end time for the sender timeframe.
Declaration
String GetTimeframeEnd()
Returns
Type | Description |
---|---|
String | End time. |
GetTimeframeStart()
Gets the start time for the sender timeframe.
Declaration
String GetTimeframeStart()
Returns
Type | Description |
---|---|
String | Start time. |
GetTriggers()
Gets the triggers for the EmailFlow.
Declaration
Vector GetTriggers()
Returns
Type | Description |
---|---|
Vector | Vector of triggers. |
GetTzLocation()
Gets the workflow timezone setting.
Declaration
NSTimeZoneData GetTzLocation()
Returns
Type | Description |
---|---|
NSTimeZoneData | Timezone data. |
GetUpdatedBy()
Gets the associate that last updated the EmailFlow. Read-only property.
Declaration
NSAssociate GetUpdatedBy()
Returns
Type | Description |
---|---|
NSAssociate | The associate who last updated the flow. |
GetUpdatedDate()
Gets the date and time when the EmailFlow was last updated. Read-only property.
Declaration
DateTime GetUpdatedDate()
Returns
Type | Description |
---|---|
DateTime | The last updated date and time. |
GetUseEnrollmentEnd()
Gets whether to use enrollment end settings.
Declaration
Bool GetUseEnrollmentEnd()
Returns
Type | Description |
---|---|
Bool | True if using enrollment end settings. |
GetUseGoogleAnalytics()
Gets whether to use Google Analytics for the EmailFlow.
Declaration
Bool GetUseGoogleAnalytics()
Returns
Type | Description |
---|---|
Bool | True to use Google Analytics. |
GetUseTimeframe()
Gets whether to use sender timeframe settings.
Declaration
Bool GetUseTimeframe()
Returns
Type | Description |
---|---|
Bool | True if using timeframe settings. |
GetUseWorkflowStart()
Gets whether to use workflow start settings.
Declaration
Bool GetUseWorkflowStart()
Returns
Type | Description |
---|---|
Bool | True if using workflow start settings. |
GetWorkflowStart()
Gets the workflow start settings.
Declaration
String GetWorkflowStart()
Returns
Type | Description |
---|---|
String | Workflow start settings. |
SetAssociate(NSAssociate)
Sets the associate setting for the EmailFlow.
Declaration
Void SetAssociate(NSAssociate associate)
Parameters
Type | Name | Description |
---|---|---|
NSAssociate | associate | The associate entity to set. |
Returns
Type | Description |
---|---|
Void |
SetBlockLists(Vector)
Sets the block lists for the EmailFlow.
Declaration
Void SetBlockLists(Vector blockLists)
Parameters
Type | Name | Description |
---|---|---|
Vector | blockLists | The block lists to set. |
Returns
Type | Description |
---|---|
Void |
SetDescription(String)
Sets the description of the workflow.
Declaration
Void SetDescription(String description)
Parameters
Type | Name | Description |
---|---|---|
String | description | The description of the workflow to set. |
Returns
Type | Description |
---|---|
Void |
SetEmailFlowId(Integer)
Sets the primary key (ID) for the EmailFlow.
Declaration
Void SetEmailFlowId(Integer emailFlowId)
Parameters
Type | Name | Description |
---|---|---|
Integer | emailFlowId | The EmailFlow ID to set. |
Returns
Type | Description |
---|---|
Void |
SetEnrollmentEnd(String)
Sets the enrollment end settings.
Declaration
Void SetEnrollmentEnd(String enrollmentEnd)
Parameters
Type | Name | Description |
---|---|---|
String | enrollmentEnd | The enrollment end settings to set. |
Returns
Type | Description |
---|---|
Void |
SetExitFlowId(Integer)
Sets the exit flow ID for the EmailFlow.
Declaration
Void SetExitFlowId(Integer exitFlowId)
Parameters
Type | Name | Description |
---|---|---|
Integer | exitFlowId | The exit flow ID to set. |
Returns
Type | Description |
---|---|
Void |
SetExitSuccessFlowId(Integer)
Sets the exit success flow ID for the EmailFlow.
Declaration
Void SetExitSuccessFlowId(Integer exitSuccessFlowId)
Parameters
Type | Name | Description |
---|---|---|
Integer | exitSuccessFlowId | The exit success flow ID to set. |
Returns
Type | Description |
---|---|
Void |
SetFilter(NSWorkflowFilter)
Sets the filter for the EmailFlow.
Declaration
Void SetFilter(NSWorkflowFilter filter)
Parameters
Type | Name | Description |
---|---|---|
NSWorkflowFilter | filter | The workflow filter to set. |
Returns
Type | Description |
---|---|
Void |
SetFolder(NSHierarchyEntity)
Sets the folder setting for the EmailFlow.
Declaration
Void SetFolder(NSHierarchyEntity folder)
Parameters
Type | Name | Description |
---|---|---|
NSHierarchyEntity | folder | The folder entity to set. |
Returns
Type | Description |
---|---|
Void |
SetFromAddr(String)
Sets the email address of the sender for the EmailFlow.
Declaration
Void SetFromAddr(String fromAddr)
Parameters
Type | Name | Description |
---|---|---|
String | fromAddr | The sender email address to set. |
Returns
Type | Description |
---|---|
Void |
SetFromName(String)
Sets the name of the sender for the EmailFlow.
Declaration
Void SetFromName(String fromName)
Parameters
Type | Name | Description |
---|---|---|
String | fromName | The sender name to set. |
Returns
Type | Description |
---|---|
Void |
SetFromType(EmailFromType)
Sets the type of sender for the EmailFlow.
Declaration
Void SetFromType(EmailFromType fromType)
Parameters
Type | Name | Description |
---|---|---|
EmailFromType | fromType | The sender type to set. |
Returns
Type | Description |
---|---|
Void |
SetGaCampaign(String)
Sets the Google Analytics campaign for the EmailFlow.
Declaration
Void SetGaCampaign(String gaCampaign)
Parameters
Type | Name | Description |
---|---|---|
String | gaCampaign | The Google Analytics campaign to set. |
Returns
Type | Description |
---|---|
Void |
SetGaSource(String)
Sets the Google Analytics source for the EmailFlow.
Declaration
Void SetGaSource(String gaSource)
Parameters
Type | Name | Description |
---|---|---|
String | gaSource | The Google Analytics source to set. |
Returns
Type | Description |
---|---|
Void |
SetGoals(Vector)
Sets the goals for the EmailFlow.
Declaration
Void SetGoals(Vector goals)
Parameters
Type | Name | Description |
---|---|---|
Vector | goals | The goals to set. |
Returns
Type | Description |
---|---|
Void |
SetJumpToFinish(Bool)
Sets whether a contact jumps directly to finished when a goal is reached.
Declaration
Void SetJumpToFinish(Bool jumpToFinish)
Parameters
Type | Name | Description |
---|---|---|
Bool | jumpToFinish | True if the contact should jump directly to finished when a goal is reached. |
Returns
Type | Description |
---|---|
Void |
SetName(String)
Sets the name of the workflow.
Declaration
Void SetName(String name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the workflow to set. |
Returns
Type | Description |
---|---|
Void |
SetOverrideConsentSubscription(Bool)
Sets whether to override consent subscription.
Declaration
Void SetOverrideConsentSubscription(Bool overrideConsentSubscription)
Parameters
Type | Name | Description |
---|---|---|
Bool | overrideConsentSubscription | True to override consent subscription. |
Returns
Type | Description |
---|---|
Void |
SetRemoveFromFlows(Vector)
Sets the flows to remove the sender from.
Declaration
Void SetRemoveFromFlows(Vector removeFromFlows)
Parameters
Type | Name | Description |
---|---|---|
Vector | removeFromFlows | The flows to remove from. |
Returns
Type | Description |
---|---|
Void |
SetReplyToAddr(String)
Sets the reply-to email address for the EmailFlow.
Declaration
Void SetReplyToAddr(String replyToAddr)
Parameters
Type | Name | Description |
---|---|---|
String | replyToAddr | The reply-to email address to set. |
Returns
Type | Description |
---|---|
Void |
SetReplyToName(String)
Sets the name for the reply-to address in the EmailFlow.
Declaration
Void SetReplyToName(String replyToName)
Parameters
Type | Name | Description |
---|---|---|
String | replyToName | The reply-to name to set. |
Returns
Type | Description |
---|---|
Void |
SetReplyToType(EmailReplyToType)
Sets the reply-to type for the EmailFlow.
Declaration
Void SetReplyToType(EmailReplyToType replyToType)
Parameters
Type | Name | Description |
---|---|---|
EmailReplyToType | replyToType | The reply-to type to set. |
Returns
Type | Description |
---|---|
Void |
SetSelectedDays(Weekday)
Sets the selected days for the sender timeframe.
Declaration
Void SetSelectedDays(Weekday selectedDays)
Parameters
Type | Name | Description |
---|---|---|
Weekday | selectedDays | The selected days to set. |
Returns
Type | Description |
---|---|
Void |
SetShipmentType(NSMDOListItem)
Sets the shipment type setting for the EmailFlow.
Declaration
Void SetShipmentType(NSMDOListItem shipmentType)
Parameters
Type | Name | Description |
---|---|---|
NSMDOListItem | shipmentType | The shipment type item to set. |
Returns
Type | Description |
---|---|
Void |
SetSmsSender(String)
Sets the SMS sender information for the EmailFlow.
Declaration
Void SetSmsSender(String smsSender)
Parameters
Type | Name | Description |
---|---|---|
String | smsSender | The SMS sender information to set. |
Returns
Type | Description |
---|---|
Void |
SetStartOnlyOnce(Bool)
Sets whether a contact can start this flow only once.
Declaration
Void SetStartOnlyOnce(Bool startOnlyOnce)
Parameters
Type | Name | Description |
---|---|---|
Bool | startOnlyOnce | True if contact can only start once. |
Returns
Type | Description |
---|---|
Void |
SetStatus(WorkflowDefinitionStatus)
Sets the status of the workflow definition.
Declaration
Void SetStatus(WorkflowDefinitionStatus status)
Parameters
Type | Name | Description |
---|---|---|
WorkflowDefinitionStatus | status | The status of the workflow definition to set. |
Returns
Type | Description |
---|---|
Void |
SetSteps(Vector)
Sets the workflow steps for the EmailFlow.
Declaration
Void SetSteps(Vector steps)
Parameters
Type | Name | Description |
---|---|---|
Vector | steps | The workflow steps to set. |
Returns
Type | Description |
---|---|
Void |
SetTimeframeEnd(String)
Sets the end time for the sender timeframe.
Declaration
Void SetTimeframeEnd(String timeframeEnd)
Parameters
Type | Name | Description |
---|---|---|
String | timeframeEnd | The end time to set. |
Returns
Type | Description |
---|---|
Void |
SetTimeframeStart(String)
Sets the start time for the sender timeframe.
Declaration
Void SetTimeframeStart(String timeframeStart)
Parameters
Type | Name | Description |
---|---|---|
String | timeframeStart | The start time to set. |
Returns
Type | Description |
---|---|
Void |
SetTriggers(Vector)
Sets the triggers for the EmailFlow.
Declaration
Void SetTriggers(Vector triggers)
Parameters
Type | Name | Description |
---|---|---|
Vector | triggers | The triggers to set. |
Returns
Type | Description |
---|---|
Void |
SetTzLocation(NSTimeZoneData)
Sets the workflow timezone setting.
Declaration
Void SetTzLocation(NSTimeZoneData tzLocation)
Parameters
Type | Name | Description |
---|---|---|
NSTimeZoneData | tzLocation | The timezone setting to set. |
Returns
Type | Description |
---|---|
Void |
SetUpdatedBy(NSAssociate)
Sets the associate that last updated the EmailFlow. Read-only property.
Declaration
Void SetUpdatedBy(NSAssociate updatedBy)
Parameters
Type | Name | Description |
---|---|---|
NSAssociate | updatedBy | The associate who last updated the flow. |
Returns
Type | Description |
---|---|
Void |
SetUseEnrollmentEnd(Bool)
Sets whether to use enrollment end settings.
Declaration
Void SetUseEnrollmentEnd(Bool useEnrollmentEnd)
Parameters
Type | Name | Description |
---|---|---|
Bool | useEnrollmentEnd | True to use enrollment end settings. |
Returns
Type | Description |
---|---|
Void |
SetUseGoogleAnalytics(Bool)
Sets whether to use Google Analytics for the EmailFlow.
Declaration
Void SetUseGoogleAnalytics(Bool useGoogleAnalytics)
Parameters
Type | Name | Description |
---|---|---|
Bool | useGoogleAnalytics | True to use Google Analytics. |
Returns
Type | Description |
---|---|
Void |
SetUseTimeframe(Bool)
Sets whether to use sender timeframe settings.
Declaration
Void SetUseTimeframe(Bool useTimeframe)
Parameters
Type | Name | Description |
---|---|---|
Bool | useTimeframe | True to use sender timeframe settings. |
Returns
Type | Description |
---|---|
Void |
SetUseWorkflowStart(Bool)
Sets whether to use workflow start settings.
Declaration
Void SetUseWorkflowStart(Bool useWorkflowStart)
Parameters
Type | Name | Description |
---|---|---|
Bool | useWorkflowStart | True to use workflow start settings. |
Returns
Type | Description |
---|---|
Void |
SetWorkflowStart(String)
Sets the workflow start settings.
Declaration
Void SetWorkflowStart(String workflowStart)
Parameters
Type | Name | Description |
---|---|---|
String | workflowStart | The workflow start settings to set. |
Returns
Type | Description |
---|---|
Void |