You can create new interaction properties (fields). The data type of these custom properties can be timestamp, string, or number. You can use these properties on the Condition, Order,
tabs of Views in Business Processes, except that properties with Timestamp data type cannot be used on theSegmentation
Configuring a custom interaction property
- Decide on an attached data key that will be the source of the content of the custom property.
- Create a new field directly in the interactions database.
ImportantData type varchar(max) is not supported for custom fields.
Create a new Business Attribute:
- Name = InteractionCustomProperties
- Display name = Interaction Custom Properties
- Type = Custom
- Expand Interaction Custom Properties and open its Attribute values.
- Give it an Attribute Value, with a name exactly matching the attached data key name that you decided on in Step 1. The matching is case sensitive (you can create a separate display name).
- In your new attribute value, go to the Annex tab and create a section called translation.
- In the new translation section, create an option called translate-to, with its value duplicating the name of the new field you created in Step 2.
You can now use the new custom property to attach data to an interaction and to define conditions and orders of Views and snapshots.
You should be aware of the following points when defining custom interaction properties:
While Interaction Server allows defining custom property names that contain spaces in their name, and will correctly map these properties to the custom database fields, it does not convert these property names into custom field names when they are used in the definition of a view condition, view order, snapshot condition or snapshot order.
Genesys DB Server does not support custom fields of type varchar(max).
If you specify a custom field as not null, you must ensure that applications always provide some data to that field upon creation of an interaction (RequestSubmit). If no data is provided, the request will fail because Interaction Server sends NULL for empty fields, and that will be rejected by the DBMS. This also means that the default value trigger for such fields cannot be used.
As a workaround, you can create fields in the interactions database without mapping them to custom properties of Interaction Server. Such fields are hidden from Interaction Server but can be used by third-party applications.