--- title: "DispatchProEventPreParser – Dispatch event (Preprocessing)" slug: "de-lobster-scm-dw-parser-dispatch-pro-event-pre-parser" updated: 2026-04-29T12:12:20Z published: 2026-04-29T12:12:20Z canonical: "docs.lobstersoftware.com/de-lobster-scm-dw-parser-dispatch-pro-event-pre-parser" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # DispatchProEventPreParser – Dispatch event (Preprocessing) *See also*: [DispatchProEventPostExecuter – Dispatch event (Phase 5)](/v1/docs/en/de-lobster-scm-dw-util-dispatch-pro-event-post-executer), [DispatchProEventResponse – Dispatch event (Responder)](/v1/docs/en/de-lobster-scm-dw-util-dispatch-pro-event-response) > [!NOTE] > When executing a profile, the received data can be transferred directly to **Lobster Data Platform/Orchestration** via the preprocessing (extension) event. There, the data can be further manipulated or completely different data can be returned to the responders. > > The event is executed in the context of a user, which must be specified in the configuration. If the input data refers to an existing entity, it is loaded and transferred to event handling as input data. Otherwise, the data is store in [Variable](/v1/docs/en/core-storage-value) `data`. Data that is transferred to the mapping or the responders must be stored in [Variable](/v1/docs/en/core-storage-value) `result`. Result types are handled as follows: - `String` – forwards this in text format. - "Content" (`Content`) – forwards this in binary format. - *Other* – serialization as XML or JSON is attempted. The format depends on the *Integration Unit* or the `targetFormat` parameter (see configuration). In the "Configuration file" field, both the path to a file and the configuration can be specified directly in "Name=Value" pairs, separated by semicolons (Name1=Value1;Name2=Value2).The following configuration parameters are supported: | Parameter name | Optional? | Description | | --- | --- | --- | | `eventName` | *no (required)* | The name of the [Custom action event](/v1/docs/en/core-custom-action-events)s to be triggered. | | `userName` | *no (required)* | The name of the Lobster user in whose context the event is processed. | | `selectedRole` | If exactly one role is assigned to the user. | "ID" (`id`) of one of the [Roles](/v1/docs/en/base-role) assigned to the use by property "Roles" (`roles`). | | `selectedCompany` | If exactly one company is assigned to the user. | "ID" (`id`) of one of the [Companies/Clients](/v1/docs/en/base-company-account) assigned to the use by property "Companies" (`companies`). | | `locale` | *yes (optional)* | The *Locale code* of a [Locale](/v1/docs/en/core-locale) (e.g. `de_DE`). *Default:* [Locale](/v1/docs/en/core-locale) assigned for user by property "Locale" (`locale`). | | `useRaw` | *yes (optional)* | `true` or `false` (*default*): - If `true`, the data is passed directly to [Event handling](/v1/docs/en/administration-designer-workflow-action-event-handler-configuration) in raw form (binary, as a "Content" (`Content`) object. **NOTE:** A "Content" (`Content`) object can also be read directly as a string by resolvers and actions (e.g. [Set value](/v1/docs/en/core-set-value-actor) for a string variable). - If `false`, an attempt is made to read the data as text and to read it as an object. JSON and XML are supported. | | `charSet` | *yes (optional)* | The *Character encoding* of the *Integration unit* and the output format. - If `useRaw=true`, the *Character encoding* for input data is ignored. - If a "Content" (`Content`) object is returned by [Event handling](/v1/docs/en/administration-designer-workflow-action-event-handler-configuration), the encoding for the output data is ignored. | | `targetFormat` | *yes (optional)* | XML or JSON Specifies the format for writing output data that is not of type `String` or "Content" (Content). |