Enable Interactions for a table
Let agents turn an interaction into a record of a new table, with the properties, work type choice and field maps it needs.
Do this when you build an application whose records agents should create from an interaction. When you finish, the new table appears as a work type, and Classify interaction and Set to resolved create its records.
Before you begin
- You need the
administratorrole. The interaction properties also needconfiguration_administrator. - You work in the Administration workspace.
- The Interactions application must be installed on the instance.
- Know the target table’s name, not its label. For ITSM requests the name is
ITSMRequest. - Know the role an agent needs to work the new records, for example
hr_agent.
Steps
-
Go to Applications & licensing → Applications → Application properties and select New.

The Application properties item in the Applications & licensing menu. -
Create
interaction.out_of_band_enabled.<table>, with the table name in lower case, for exampleinteraction.out_of_band_enabled.itsmrequest. Set Property type tobooleanand Application properties value totrueto run Sofi classification when the record is created.
The empty Create Application property form, with Application properties key, Property type and Application properties value. -
Create
interaction.role_required_to_action.<table>, again in lower case. Set its value to the name of the role that agents need, such asitsm_agent. -
Go to Data model → Fields → Available values and add a value to the
InteractionWorkTypegroup for the Interaction table’s Work type field. Set Key to the table name exactly, for exampleITSMRequest. -
Go to Catalog & templates → Record rules → Reclassification field map. Open the shipped maps whose Source table is Interaction and use them as a model.

The Reclassification field map item in the Catalog & templates menu. -
Create one map per field that Classify interaction should copy. Set Source table to Interaction, Target table to the new table and leave Unique map empty.
-
Create the maps that Set to resolved should apply, with Unique map set to
FirstContactResolved. Include a map that moves the new record to its resolved or completed status. -
If you want Sofi to classify the new records, create a classifier whose name is the table name, such as
ITSMRequest. A second classifier namedAutoResolve<table>lets Sofi try to resolve them too.
The Interaction settings page shows the same two properties for the shipped work types. Each has a tab: Incident, Request and HR case. Process in the background sets interaction.out_of_band_enabled.<table>. Role to open the incident (or request, or HR case) sets interaction.role_required_to_action.<table>. The General tab holds Strict mode and Administrator role.

| Property | Shipped for | What it does |
|---|---|---|
interaction.out_of_band_enabled.<table> |
hrcase, incident, itsmrequest |
When true, Sofi classifies the resulting record as soon as it is created, then tries to resolve it with the AutoResolve<table> classifier. |
interaction.role_required_to_action.<table> |
hrcase (hr_agent), incident and itsmrequest (itsm_agent) |
After the record is created, Servicely offers to open it only to users with this role or administrator. |
Result
The new table appears in the Work type list on the interaction form. When an agent selects Classify interaction, Servicely creates a record of the new table, copies the mapped fields and fills Resulting record. With Set to resolved, the record is also resolved and First contact resolved is set.