XT Server — User's Manual

XT Server is a desktop application for building, scheduling, and monitoring EDI automation jobs. A job is an ordered list of tasks — copying files, splitting X12 envelopes, transferring documents over FTP, translating EDI files, sending email notifications — that runs automatically on a schedule or on demand.


Contents

  1. Getting Started
  2. The Main Window
  3. Working with Jobs
  4. Working with Tasks
  5. Scheduling
  6. Logs
  7. Task Reference
  8. EDI Concepts
  9. Options
  10. Tips and Troubleshooting

Getting Started

When XT Server starts it shows the main window with a list of your jobs on the left and their tasks on the right.

Jobs, task definitions, and logs are stored on your computer, so everything survives a restart. You can also mark jobs to auto-start with the application, so your EDI processing is running again right after launch.


The Main Window

The main window has three areas:

Main Window

Click on column headers in jobs and logs tables to sort them by specific column.

Drag and drop jobs to arrange them in a different order in the list.

Job buttons

Button What it does
New Create a new job
Edit Edit job name, options, and schedule
Delete Remove the selected job
Start Run the selected job
Stop Stop a running job

You can also right-click the job list to Add, Clone, Edit, Delete.

Double click job to Edit it.

Task buttons

Button What it does
Add Open a menu of task types and add a new task
Edit Edit the selected task's settings
Delete Remove the selected task
Move Up / Move Down Reorder tasks

You can also right-click the task list to Add, Edit, Delete, Cut, Copy, Paste, and Move Up / Move Down tasks.

Drag and drop tasks or use Move Up and Move Down right click menu options to arrange them in the task list.

Double click task to Edit it.


Working with Jobs

Creating a job

  1. Click Add Job (or the equivalent new-job button).
  2. Enter a Job name. Job names must be unique.
  3. Choose options and a schedule (see Scheduling).
  4. Add tasks (see Working with Tasks).
Job Window

Jobs contain tasks.

Think about what jobs you might need when designing the system.

One way to partition jobs is to think about all the EDI file types you have, and have one job per XTranslator map.

Another approach is to have one job per EDI X12 tansaction-release combination.

Your directory structure should reflect planned design, and help you move data in and out of directories while translator and rest of processing runs on the files. Think of how every kind of file will move though the system as it is being worked on.

Sometimes it helps to draw diagram with all the file types routed via File Move or EDI File Move tasks.

Job options

When editing a job you can set:

Option Meaning
Verbose log output Write extra detail to the log for troubleshooting
Stop on error Stop the whole job when any task fails; otherwise the job continues with the next task
Auto-start with application The job starts automatically when XT Server launches

Importing and exporting jobs

Jobs can be exported to a file and imported on another machine — useful for moving a configuration from a test system to production. A status message confirms where the job was exported or the name it was imported under.


Working with Tasks

A job's tasks run top to bottom, one after another. Reorder them with Move Up / Move Down.

The Add button opens a menu of task types, grouped as:

Each task type opens an editor dialog with its own fields. Common field types include text boxes, checkboxes, directory pickers, file pickers, and drop-down choices. Every task has a short summary line shown in the task list so you can see its configuration at a glance.

Task results matter:

Add Task

Use right click on job and task to access quick actions.

Drag and drop tasks or use Move Up and Move Down right click menu options to arrange them in the task list.


Scheduling

In the job editor you choose one or more schedule presets from a drop-down and add them to the job's schedule list:

A job can have multiple schedules; it runs whenever any of them fires. Use the Add and Remove buttons to manage the list.

How the loop works:

This has important implications: plan your jobs to move files in and out of input and output directories at the start or end of job processing. If files are left in input they will get reprocessed again with possible data duplication in other downstream systems. If files are left in output directory next job run might overwrite them with possible data loss.

Use tasks to move files in and out.

Plan your directory structure. Tasks can be setup in many number of ways depending on your business requirements.


Logs

The Logs tab shows everything your jobs have done, with:

Log history is limited to a configurable number of entries per job (see Options). Older entries are trimmed automatically, and a copy is also kept as a CSV file next to the log database, so you can open it in a spreadsheet.

Log lines are timestamped so you can correlate each file transfer, split, or translation with a specific scheduled run.

Log

Double click on log entry to copy it's contents to Clipboard. Click on column header to sort logs by specific column.


Task Reference

This section describes every task type in detail.

Email

Use it for: alerting people when something happens — a file arrived, a job failed, or an EDI batch was processed.

Field Meaning
Server with port Your mail server, e.g. mail.myserver.com:25
Your email / password Account used to send
Send to email Recipient address
Subject / Body Message text
Send only on error If checked, the mail is not sent now; it is remembered and sent when the job later reaches an error state. Use this for failure alerts. If unchecked, the mail is sent every time the task runs.

Email connections tolerate self-signed certificates on the mail server.

Execute Program

Use it for: calling external programs or scripts as part of a job — e.g. a post-processing script or a custom converter.

Field Meaning
Command Program to run
Parameters Arguments passed to the program

The program's completion is awaited before the next task starts.

File Copy

Use it for: copying inbound/outbound files to processing or archive folders.

Field Meaning
Directory Folder to scan
File pattern Wildcard pattern, e.g. *.edi, *.*
Destination directory Where files are copied (copy/move only)
If contains text Only files whose content contains this text (optional)
Limit files Process at most N files; 0 = no limit

File Delete

Use it for: cleaning up files after they have been processed. Same fields as File Copy (destination is ignored). Be careful: deleted files are gone.

File Move

Use it for: moving files between folders, e.g. from an input folder to a "processed" folder. Same fields as File Copy. A "move sequence" variant is also available for ordered processing.

File Matcher

Use it for: gating — checking whether files exist before doing work.

Field Meaning
Directory Folder to scan
File pattern Wildcard pattern
If contains text Optional content filter

If matching files are found, the job continues to the next task. If no files match, the job stops (and, for a scheduled job, tries again at the next run). Typical use: "if there is a new *.837 file, then split / translate / send it — otherwise wait for the next cycle."

FTP

Use it for: sending or receiving EDI files with trading partners over FTP, FTPS (SSL), or SFTP (SSH).

Field Meaning
Direction Send (upload) or Receive (download)
Host with port e.g. ftp.myserver.com:21
Local directory Folder on your machine
File pattern Wildcard pattern for files to send/receive
Remote directory Folder on the server
Use FTPS (SSL) Encrypt with FTPS
Use SFTP (SSH) Use SFTP instead of FTP
User / Password Server credentials
Max retries How many times to retry a failed transfer

Notes:

Pause

Use it for: waiting between steps — e.g. give an external system time to finish writing files.

Field Meaning
Seconds How long to wait (default 10)

Log

Use it for: writing a marker line into the job's log — useful to mark phases in a long job.

Field Meaning
Text The message to write to the log

XTranslator 2.x

Use it for: running an XTranslator 2.x map to translate EDI documents into other formats (or vice versa) — the core translation step of many EDI pipelines.

Field Meaning
Map file The translator map to execute
Input Directory where input files are expected. Place *.txt wildcard to process all text files in given directory. Do not use the same directory for input and output
Output Output directory plus output file name pattern. Supports the macros %InputFileName% (input file's name) and %SystemDateTime% (current time), e.g. %InputFileName%_%SystemDateTime%.txt
License Translator license key, example: 172-13435-24723-9186-9X19
Executable Translator runtime program; leave blank to use the default (xtranrun.exe)
Stop on warnings If checked, translator warnings stop the job

Make sure you have XTranslator 2.x installed and point XTranslator task to xtranrun.exe program.

XTranslator

Setup XTranslator task.

XTranslator

When job fails it will show red dot next to both job and task. Check logs to get more information.

EDI File Split

Use it for: splitting a multi-order X12 file (many ISA…IEA interchange envelopes in one file) into one file per envelope, so downstream tasks can process each document individually.

Field Meaning
Input directory Folder containing the X12 files
File pattern Wildcard pattern, e.g. *.edi
Output directory Where the split envelope files are written

Each output file contains one complete ISA…IEA interchange. Segment counts inside the envelope are normalized so the split files remain valid X12.

EDI File Copy

Use it for: copying X12/EDI files based on their envelope contents — e.g. route all documents for receiver ACME to their folder.

Field Meaning
Directory Folder to scan
File pattern Wildcard pattern
Destination directory Where matching files are copied
Receiver ID ISA receiver ID to match; * = any
Sender ID ISA sender ID to match; * = any
Transaction Number Envelope control number (ISA13); * = any
EDI Release Version/release (ISA12); * = any

The file's ISA envelope is read and compared against these filters. Fill in only the fields you want to filter on; leave * for "any".

EDI File Move

Identical to EDI File Copy except that matching files are moved (removed from the source folder) instead of copied. Use it to route inbound EDI files to per-trading-partner folders in one step.


EDI Concepts

XT Server works with X12 EDI files. The key concepts:


Options

The Options dialog has one setting:

Setting Meaning
Log collection limit Maximum number of log entries kept per job (1 – 2000, default 500). Older entries are trimmed automatically.

Tips and Troubleshooting