> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSWorkflowEvent

> Carrier object for WorkflowEvent.

Carrier object for WorkflowEvent.

## Constructors

### NSWorkflowEvent()

```crmscript theme={null}
NSWorkflowEvent
```

Initializes a new instance of the NSWorkflowEvent class.

## Methods

## GetEventType()

Gets the workflow event type

```crmscript theme={null}
NSWorkflowEventType GetEventType()
```

**Returns:** [CRMScript.NetServer.NSWorkflowEventType](CRMScript.NetServer.NSWorkflowEventType) - Get workflow event type

## SetEventType(NSWorkflowEventType)

Sets the primary key (ID) for the EmailFlow.

```crmscript theme={null}
Void SetEventType(NSWorkflowEventType eventType)
```

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

## GetAttributes()

Gets the workflow event type

```crmscript theme={null}
NSWorkflowEventType GetAttributes()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Get event info

## SetAttributes(String)

Sets the primary key (ID) for the EmailFlow.

```crmscript theme={null}
Void SetAttributes(String attributes)
```

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


## Related topics

- [NSWorkflowAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSWorkflowAgent.md)
- [Create Default Workflow Event](/en/api/reference/restful/agent/workflow_agent/create-default-workflow-event.md)
- [Create Default Workflow Event Result](/en/api/reference/restful/agent/workflow_agent/create-default-workflow-event-result.md)
- [SuperOffice.WebApi.Data.WorkflowEvent](/en/api/reference/webapi/SuperOffice.WebApi.Data.WorkflowEvent.md)
- [SuperOffice.WebApi.Data.WorkflowEventResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.WorkflowEventResult.md)
- [SuperOffice.WebApi.Data.WorkflowEventType](/en/api/reference/webapi/SuperOffice.WebApi.Data.WorkflowEventType.md)
