Show / Hide Table of Contents

Class Workflow

Workflow carrier

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

Get Workflow 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

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

Constructors

Workflow()

Default constructor

Declaration
public Workflow()
See Also
IWorkflowAgent

Properties

Associate

The owner of the workflow.

Use MDO List name "associate" to get list items.

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

Description

Description of the workflow

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

Name

Name of the workflow

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

Status

Status of the workflow definition

Declaration
[DataMember]
public virtual WorkflowDefinitionStatus Status { get; set; }
Property Value
Type Description
WorkflowDefinitionStatus
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