Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

Demonstration: Business Operation Configuration

Now you will explore the component level configuration options for a Business Operation:

On the configuration page for Demo.HL7.MsgRouter.Production, click the ORM_O01_FileOperation component.

On the top of the settings page, you'll find the Informational Settings:

  • AdapterClassname: EnsLib.File.OutboundAdapter — The name of the adapter that the operation uses. Notice that this field is read-only.

  • Class Name: EnsLib.HL7.Operation.FileOperation: — This is the name of the class that implements the component.

Beneath this, you'll find the following configuration fields on the right panel under Basic Settings:

  • Filename %H%M_ORM_O01_%f.txt — This specifies the name of the file that the operation outputs. %H and %M are time stamp specifiers. %f is a filename specifier that places the original input filename into the name of the new file.

  • FilePath C:\Practice\Out — The directory that the operation writes to. If this directory does not exist, either create it now or change the configuration using a directory that does exist. If you change the configuration, please remember to click Apply.

Below the Basic Settings you'll find the Additional Settings:

  • FailureTimeout: 15 — The number of seconds that the operation continues to attempt to write a file before returning an error and ceasing its attempts.

  • Overwrite false — When true, the operation overwrites any file with the name specified in File Name. When false the operation appends to the file.

  • Pool Size: 1 — This is the number instances of the operation currently instantiated and at work in the production. Note that every operation that uses an inbound adapter must have a pool size of at least one.

Note:

HL7 File Operation component's are instances of the EnsLib.HL7.Service.FileOperation class. The File Operation components use the Outbound File Adapter to generate files. The class for this adapter is EnsLib.File.OutboundAdapterOpens in a new window.

FeedbackOpens in a new window