Disconnect from Session

Disconnect from Session

Keep in mind that when you disconnect, the next time you reconnect you’ll be taken to the last green screen page. It’s often a good idea to disconnect from the “home screen” of the terminal application. Otherwise, your flow might fail. This block does not actually close a terminal session. Rather, it disconnects from the API. To automate closing a terminal session, you can use desktop (rather than green screen) building blocks.

Building Block Header

The green input connector (top left) triggers this block to disconnect from the terminal session.

The green output connector (top right) is triggered when a terminal session is successfully disconnected.

You can always change the title of a block by double-clicking on it and typing in a new title.

Error occurred

If “Disconnect from Session” returns an error during execution you can use this output connector to branch your flow.

Default timeout

If the 'Default Timeout' property checkbox is not selected, then the timeout value will be set to 10 seconds unless changes manually. If the 'Default Timeout' property checkbox is selected, then the 'Default timeout' value selected in the flow settings (under “Max. run time) will be applied.

The Green Screen Recorder and building blocks are available with Enterprise plans.