Automation

Automate 3270 workflows with checks at every screen

Choose macros, a local automation API or gateway screen flows for 3270 work. Test expected screens, failure paths and policy before rollout.

Choose the interface for the job

For a person repeating work in an open session, start with a macro. For a program driving the desktop session, use the local automation API. On Windows, existing EHLLAPI, COM or .NET programs may use the compatibility interfaces. For an application that calls a tested host procedure over HTTPS, evaluate Screen flows as APIs on the customer-hosted gateway. These paths have different deployment and entitlement requirements.

WND Terminal macros can wait for text, move to a field, enter a value, send a host key, read a result and branch when a condition changes. A script should confirm the screen before it types, rather than assuming elapsed time means the host is ready. Read the macro guide and legacy-macro compatibility notes before migrating an existing procedure.

Keep desktop automation local and controlled

The automation API drives sessions open in the signed-in user’s WND Terminal. Windows compatibility interfaces are documented separately in EHLLAPI, COM and .NET. Test the actual dependent program, including bitness and object references. IT can disable automation; password fields are not available as ordinary screen text. A script does not gain permission to copy or change data merely because a session is open.

Use gateway flows for program-to-host calls

Screen flows as APIs expose tested procedures as HTTPS endpoints with typed JSON inputs and outputs. The gateway supplies OpenAPI 3.1 and a Swagger 2.0 form for Power Automate. The feature requires its own entitlement; do not assume it is included in the base desktop license. Write operations have approval behavior, and callers must handle validation, host failure and unavailable-session responses. The screen-flow API guide defines that contract and reset behavior for pooled sessions.

Prove cancellation and recovery

  1. Begin with a permitted inquiry and approved test data. Record the expected start screen and output.
  2. Test an invalid input, missing record, unexpected screen, timeout and disconnected host. Confirm that the automation stops without typing into the wrong screen.
  3. For a write, define who approves it and how a user verifies the host result. A timeout after submission is not proof that the host rejected the change.
  4. Keep repeatable regression evidence. WND Test documents recording replay and host-connected testing, under the same subscription.

Start the 3270 evaluation with an ordinary user workflow, then automate that proven path. Use the automation overview to compare the released products and current pricing before sizing a project.