From Bright Pattern Documentation
Line 21: | Line 21: | ||
| required | | required | ||
| The interaction ID of the interaction | | The interaction ID of the interaction | ||
− | | | + | | "EE55D97E-2705-49D1-A36D-34B3381DD416" |
|} | |} | ||
Latest revision as of 21:26, 27 March 2019
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.