> ## 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.

# SuperOffice.WebApi.Data.ExecuteOnEvent

# <a id="SuperOffice_WebApi_Data_ExecuteOnEvent" /> Enum ExecuteOnEvent

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Value for the executeOnEvent field in table externalapplication
This Enum is used by:  ExtApp.executeOnEvent

```csharp theme={null}
public enum ExecuteOnEvent : short
```

## Fields

`LocalUpdate = 3`

3: Execute this application before a local update (start travelling)

`Logoff = 2`

2: Execute this application before logoff

`Logon = 1`

1: Execute this application during logon

`Never = 0`

0: This application is never executed automatically

`Wait = 16384`

16384: When executing this application, wait for it to start


## Related topics

- [SuperOffice.WebApi.Data.ExtAppEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.ExtAppEntity.md)
- [SuperOffice.WebApi.Data.CRMScript ExecuteScriptAsEventRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScript_ExecuteScriptAsEventRequest.md)
- [SuperOffice.WebApi.Data.CustomerService ExecuteEventHandlersRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomerService_ExecuteEventHandlersRequest.md)
- [SuperOffice.WebApi.Data.CRMScript ExecuteScriptAsEventByUniqueIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScript_ExecuteScriptAsEventByUniqueIdRequest.md)
- [SuperOffice.WebApi.Agents.ICRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ICRMScriptAgent.md)
- [SuperOffice.WebApi.Agents.CRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.CRMScriptAgent.md)
