Show / Hide Table of Contents

Class WorkflowGoal

Workflow goal carrier

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

Get WorkflowGoal 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

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

Constructors

WorkflowGoal()

Default constructor

Declaration
public WorkflowGoal()
See Also
IWorkflowAgent

Properties

GoalType

The workflow goal type

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

RestrictionGroups

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

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

WorkflowGoalId

Primary key

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

WorkflowId

The flow this goal belongs to

Declaration
[DataMember]
public virtual int WorkflowId { 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