Show / Hide Table of Contents

Class NSWorkflowTrigger

Carrier object for WorkflowTrigger.

Syntax

Constructors

NSWorkflowTrigger()

Initializes a new instance of the NSWorkflowTrigger class.

Declaration
NSWorkflowTrigger

Methods

GetRestrictionGroups()

Gets the restrictions (can be multiple groups) that make up the trigger criteria.

Declaration
NSArchiveRestrictionGroup[] GetRestrictionGroups()
Returns
Type Description
NSArchiveRestrictionGroup[]

Array of restriction groups.

GetTriggerType()

Gets the type of trigger.

Declaration
NSWorkflowTriggerType GetTriggerType()
Returns
Type Description
NSWorkflowTriggerType

Trigger type.

GetWorkflowId()

Gets the ID of the workflow this trigger belongs to.

Declaration
Integer GetWorkflowId()
Returns
Type Description
Integer

Workflow ID.

GetWorkflowTriggerId()

Gets the primary key (ID) for the WorkflowTrigger.

Declaration
Integer GetWorkflowTriggerId()
Returns
Type Description
Integer

WorkflowTrigger Id.

SetRestrictionGroups(NSArchiveRestrictionGroup[])

Sets the restrictions that make up the trigger criteria.

Declaration
Void SetRestrictionGroups(NSArchiveRestrictionGroup[] restrictionGroups)
Parameters
Type Name Description
NSArchiveRestrictionGroup[] restrictionGroups

The restriction groups to set.

Returns
Type Description
Void

SetTriggerType(NSWorkflowTriggerType)

Sets the type of trigger.

Declaration
Void SetTriggerType(NSWorkflowTriggerType triggerType)
Parameters
Type Name Description
NSWorkflowTriggerType triggerType

The trigger type to set.

Returns
Type Description
Void

SetWorkflowId(Integer)

Sets the ID of the workflow this trigger belongs to.

Declaration
Void SetWorkflowId(Integer workflowId)
Parameters
Type Name Description
Integer workflowId

The workflow ID to set.

Returns
Type Description
Void

SetWorkflowTriggerId(Integer)

Sets the primary key (ID) for the WorkflowTrigger.

Declaration
Void SetWorkflowTriggerId(Integer workflowTriggerId)
Parameters
Type Name Description
Integer workflowTriggerId

The workflow trigger ID to set.

Returns
Type Description
Void
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top