Show / Hide Table of Contents

Class WorkflowTrigger

Workflow trigger carrier

Carrier object for WorkflowTrigger. Services for the WorkflowTrigger Carrier is available from the Workflow Agent.
Inheritance
object
WorkflowTrigger
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class WorkflowTrigger : Carrier
Examples

Get WorkflowTrigger 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new WorkflowAgent();
   var workflowTrigger = agent.GetWorkflowTrigger( 123 );
}

Constructors

WorkflowTrigger()

Default constructor

Declaration
public WorkflowTrigger()
See Also
IWorkflowAgent

Properties

RestrictionGroups

The restrictions (can be multiple groups) that make up the Workflow trigger criteria

Declaration
[DataMember]
public virtual ArchiveRestrictionGroup[] RestrictionGroups { get; set; }
Property Value
Type Description
ArchiveRestrictionGroup[]
See Also
IWorkflowAgent

TriggerType

The workflow trigger type

Declaration
[DataMember]
public virtual WorkflowTriggerType TriggerType { get; set; }
Property Value
Type Description
WorkflowTriggerType
See Also
IWorkflowAgent

WorkflowId

The flow this trigger belongs to

Declaration
[DataMember]
public virtual int WorkflowId { get; set; }
Property Value
Type Description
int
See Also
IWorkflowAgent

WorkflowTriggerId

Primary key

Declaration
[DataMember]
public virtual int WorkflowTriggerId { get; set; }
Property Value
Type Description
int
See Also
IWorkflowAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IWorkflowAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IWorkflowAgent

See Also

IWorkflowAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top