Skip to main content

Connection Scope

RCA.Activities.PCOMM.ConnectionScope

Description​

The Connection Scope activity establishes a new session connection (or attaches to an existing one) with Personal Communications (PCOMM) and executes child activities within this scope.

connection-scope

(* is mandatory)

In the body of activity​

  • Do - The sequence of activities to execute within the PCOMM connection scope.

Properties​

Input

  • Connection Name (String) - The unique letter identifier (A-Z) for the terminal session. This ID is used by other activities to target this specific connection.
  • Profile Path (String) - The full path to the Personal Communications workstation profile (.ws file). Both String variables and absolute paths are supported.
  • Window State (WINSTATE) - The initial display state of the emulator window.
    • RESTORE - Restores the window to its original size and position.
    • MAX - Maximizes the window to full screen.
    • MIN - Minimizes the window to the taskbar.
    • HIDE - Hides the window completely (runs the session in the background).

Note: This activity supports two connection modes:

  • Start a new session: Provide the path to a workstation profile (.ws file) in Profile Path. If Connection Name is left empty, the activity automatically detects the newly launched session.
  • Attach to an existing session: Leave Profile Path empty and specify the letter identifier (A-Z) in Connection Name to attach to an already running session (if Connection Name is also empty, it attaches to the most recently opened session).

Option

  • Close When Complete (Boolean) - If selected, automatically closes the connection session when all child activities inside the scope finish executing or if an error occurs.

Misc

  • Public (Checkbox) - If selected, logs the execution details and variables of this activity. Consider data security requirements before enabling this option, as sensitive details could be written to the logs.
  • Display Name (String) - The name displayed for this activity in the designer panel. You can edit this name to organize and structure your workflow better.
    E.g: [3424325] Connection Scope