Ability to cancel a flow session
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
The only way to shut down an ongoing remote Duo Agent platform session is to shut down the whole pipeline. This can become necessary if an agent during a session goes into the wrong direction, the session is no longer necessary or was started by accident.
Shutting down the pipeline is a counter-intuitive and hard to find way to shut down the session. Additionally, it is likely to lead to error messages as a pipeline killed by the user can be hard to differentiate against a pipeline that failed for other reasons.
Desired Outcome
A proper way to stop ongoing remote sessions, both from the perspective of UX as well as the associated functionality to not encounter errors due to the shutdown.
Further Criteria:
- At the bottom of the Details tab there is a button to "Cancel session". This button will stop and discontinue execution of the flow.
- Pressing the button will trigger a confirmation prompt before cancelling the session
- Once confirmed the session will be stopped
- Once stopped the Cancel button and the Playback button will be disabled. Upon hovering a message will indicate "Session was cancelled"
- The status label in the "Session information" section of the Details tab should reflect the cancelled status
- The status label in the sessions list for the cancelled session should reflect the new status.
Implementation plan
TBD