From Bright Pattern Documentation
< 5.19:Embedded-agent-desktop-sdk-specification | Methods(Redirected from 5.19:Embedded-agent-desktop-sdk-specification/Methods/CompletingTerminatingInteraction)
setDisposition
Sets the disposition of the interaction.
Request
Syntax
window.bpspat.api.setDisposition(item_id, disposition)
Parameters
Parameter | Type | Optional/Required | Description |
item_id | string | required | Specifies the interaction ID of the interaction |
disposition | string | required | Specifies the disposition to be set for the interaction |
Response
Empty.
In response to the request, the disposition to changed to the specified disposition.