From Bright Pattern Documentation
Jump to: navigation, search
Line 1: Line 1:
 
<translate>
 
<translate>
 
= terminateInteraction =
 
= terminateInteraction =
Terminates the interaction.
+
Ends the interaction immediately.
  
 
See the Embedded Agent Desktop Specification's [[Embedded-agent-desktop-sdk-specification/UseCases/EndDispositionComplete |  Use Cases]] section for ways to use this method.
 
See the Embedded Agent Desktop Specification's [[Embedded-agent-desktop-sdk-specification/UseCases/EndDispositionComplete |  Use Cases]] section for ways to use this method.
Line 15: Line 15:
 
| '''Optional/Required'''
 
| '''Optional/Required'''
 
| '''Description'''
 
| '''Description'''
 +
| '''Example'''
 
|-
 
|-
 
| item_id
 
| item_id
 
| string
 
| string
 
| required
 
| required
| Specifies the interaction ID of the interaction
+
| The interaction ID of the interaction
 +
| 'EE55D97E-2705-49D1-A36D-34B3381DD416'
 
|}
 
|}
  
 
== Response ==
 
== Response ==
Empty.
+
Empty. In response to the request, the interaction ends.
 
 
In response to the request, the interaction ends.
 
  
  

Revision as of 21:25, 27 March 2019

• 5.19 • 5.3 • 5.8

<translate>

terminateInteraction

Ends the interaction immediately.

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

Request

Syntax

window.bpspat.api.terminateInteraction(item_id)

Parameters

Parameter Type Optional/Required Description Example
item_id string required The interaction ID of the interaction 'EE55D97E-2705-49D1-A36D-34B3381DD416'

Response

Empty. In response to the request, the interaction ends.



</translate>

< Previous | Next >