DispatchProEventResponse – Dispatch event (Response path)

See also: DispatchProEventPreParser – Dispatch event (Preprocessing), DispatchProEventPostExecuter – Dispatch event (Phase 5)

This response path can be integrated via the 'Custom class' response path type and is used to trigger any Lobster_pro event in the response path, which then contains the generated data of the profile.
The event is executed in the context of a Lobster_pro user, which must be specified in the configuration.

If the data is a known entity in the Lobster_pro system, it is loaded and transferred to event handling as input data. Otherwise, the data is written to the 'data' event handling variable.
All profile variables are included in the 'profileVariables' variable and can be accessed directly via the Object property resolver (variable name = field name).

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


The name of the Custom action event to be triggered.

userName


The name of the Lobster_pro user in whose context the event is processed.

selectedRole

If the user has only one role assigned.

The ID of the role used by the user.

selectedCompany

If the user only has one company assigned.

The ID of the company used by the user.

locale

Yes

Die Sprache des Benutzers als Locale Code (z.B. "de_DE"). Standard: Benutzersprache

useRaw

Yes

true or false (default):

If true, the data is passed directly in raw form (binary, as a content object) to event handlers.
Tip: A content object can also be read directly as a string by value resolvers and actions (e.g. set value to 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

The character encoding of the input format. If useRaw=true, the character encoding is ignored.