> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSWorkflowStepBase

> Carrier object for WorkflowStepBase.

Carrier object for WorkflowStepBase.

## Constructors

### NSWorkflowStepBase()

```crmscript theme={null}
NSWorkflowStepBase
```

Initializes a new instance of the NSWorkflowStepBase class.

## Methods

## GetWorkflowStepId()

Gets the primary key (ID) for the WorkflowStepBase.

```crmscript theme={null}
Integer GetWorkflowStepId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - WorkflowStep Id.

## SetWorkflowStepId(Integer)

Sets the primary key (ID) for the WorkflowStepBase.

```crmscript theme={null}
Void SetWorkflowStepId(Integer workflowStepId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## GetWorkflowId()

Gets the ID of the workflow this step belongs to.

```crmscript theme={null}
Integer GetWorkflowId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The workflow ID.

## SetWorkflowId(Integer)

Sets the ID of the workflow this step belongs to.

```crmscript theme={null}
Void SetWorkflowId(Integer workflowId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## GetStepType()

Gets the type of workflow step.

```crmscript theme={null}
NSWorkflowStepType GetStepType()
```

**Returns:** [CRMScript.NetServer.NSWorkflowStepType](CRMScript.NetServer.NSWorkflowStepType) - The step type.

## SetStepType(NSWorkflowStepType)

Sets the type of workflow step.

```crmscript theme={null}
Void SetStepType(NSWorkflowStepType stepType)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## GetRank()

Gets the order/rank of the step in the workflow.

```crmscript theme={null}
Integer GetRank()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The step rank.

## SetRank(Integer)

Sets the order/rank of the step in the workflow.

```crmscript theme={null}
Void SetRank(Integer rank)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)
