Class WorkflowStepOption
Workflow step option
Carrier object for WorkflowStepOption. Services for the WorkflowStepOption Carrier is available from the Workflow Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class WorkflowStepOption : Carrier
Examples
Get WorkflowStepOption 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new WorkflowAgent();
var workflowStepOption = agent.GetWorkflowStepOption( 123 );
}
Constructors
WorkflowStepOption()
Default constructor
Declaration
public WorkflowStepOption()
See Also
Properties
Key
A key used to refer to this option
Declaration
[DataMember]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Name
The name of this option
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Rank
The rank of this option
Declaration
[DataMember]
public virtual int Rank { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Steps
The steps to execute if this option/path is selected
Declaration
[DataMember]
public virtual WorkflowStepBase[] Steps { get; set; }
Property Value
Type | Description |
---|---|
WorkflowStepBase[] |
See Also
WorkflowId
The flow this instance belongs to
Declaration
[DataMember]
public virtual int WorkflowId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
WorkflowStepId
The workflow step this instance belongs to
Declaration
[DataMember]
public virtual int WorkflowStepId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
WorkflowStepOptionId
Primary key
Declaration
[DataMember]
public virtual int WorkflowStepOptionId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
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. |