From Bright Pattern Documentation

Revision as of 21:55, 3 April 2026 by Laura.donovan (talk | contribs) (Updated via BpClonePage extension. Source page: draft:Embedded-agent-desktop-api-specification/Methods/setDisposition)

< Previous | Next >
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

setDisposition

Sets the disposition of the interaction using a disposition code. (To set disposition by name, see method setDispositionByName).

See the Agent Desktop 1.0 SDK Specification's Use Cases section for ways to use this method.

Request

Syntax

window.bpspat.api.setDisposition(item_id, disposition_code)


Parameters

Parameter Type Optional/Required Description Example
item_id string required The interaction ID of the interaction "EE55D97E-2705-49D1-A36D-34B3381DD416"
disposition_code string required The disposition code to be set for the interaction "12345"


Response

Empty. In response to the request, the disposition is changed to the specified disposition code.

< Previous | Next >