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: SuperOfficeCRMServices
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.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()

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

Description

Description of the workflow

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

Name

Name of the workflow

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

Status

Status of the workflow definition

Declaration
[DataMember]
public virtual WorkflowDefinitionStatus Status { get; set; }
Property Value
Type Description
SuperOffice.Data.WorkflowDefinitionStatus

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

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
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top