RemoteTurnkeyCloseSession is an OCL operator for developers who need to close a remote Turnkey session after working with it from an OCL expression.
Use RemoteTurnkeyCloseSession
Use this operator at the end of an OCL flow that has established and used a remote Turnkey session. Keep the session-closing step with the rest of the remote-session workflow so that the lifecycle is clear when you maintain the expression.
A typical workflow has these stages:
- Establish or obtain a remote Turnkey session.
- Read data with RemoteTurnkeyGetStringValue or RemoteTurnkeyGetByteArray, or invoke an action with RemoteTurnkeyExecuteAction.
- Call
RemoteTurnkeyCloseSessionto close the remote session.
Syntax and arguments
The available documentation does not yet specify the OCL signature for RemoteTurnkeyCloseSession, including its receiver, arguments, or return value. Check the OCL editor for the signature available in your MDriven environment before adding it to an expression.
Do not copy an assumed expression format from this page. The session value or other input required by the operator must be confirmed from the editor signature or product documentation.
Related remote Turnkey operations
| Operation | Use it for |
|---|---|
| RemoteTurnkeyExecuteAction | Invoking a remote Turnkey action. |
| RemoteTurnkeyGetStringValue | Retrieving a string value from the remote Turnkey workflow. |
| RemoteTurnkeyGetByteArray | Retrieving byte-array data from the remote Turnkey workflow. |
RemoteTurnkeyCloseSession
|
Closing the remote Turnkey session after the remote work is complete. |
Verify the operator in MDriven Designer
- Open the OCL expression in MDriven Designer.
- In the OCL editor, type a class or applicable expression receiver to list available operators.
- Select
RemoteTurnkeyCloseSessionand inspect the signature shown by the editor. - Confirm the required inputs and the return type before saving the expression.
For general guidance on finding available operators in the editor, see Documentation:OCL General Operators.
