Creating a General Queue
To deliver a business document to a trading partner, you must create a processing rule for the document type and define the queue type in the processing action step.
To create a general queue
-
In IBM® webMethods B2B, go to Settings > Queue > General queue.
-
Click Add Queue in the general queue, provide the following details:
Field Description Queue information Name Defines the name of the queue. State Defines the state of the queue. The possible values are: - Enabled. Both queuing and batching is enabled.
- Disabled. Both queuing and batching is disabled.
- Draining. The queuing will be disabled but batching remains enabled for the existing queued transaction.
- Suspended. The queuing is enabled but batching is disabled.
Delivery service Defines the type of delivery service. The possible value is EDI Batch. Interchange control headers Sender identity Defines the values of sender identity. The field contains both sender id qualifier and its value. Receiver identity Defines the values of receiver identity. The field contains both receiver id qualifier and its value. Usage indicator The environment to indicate in the envelope headers. The possible values are Production and Test. Note: For TRADACOMS, the only valid value isProduction.Control number Control number Select the method for the service to create the control number for the envelope. The possible values are: - Control number settings. Selects the value already configured under Settings > Control Number, by using the inputs provided in the header category EDI Document Type and Interchange control headers of Queue settings.
- Sequentialize. Control number is auto incremented.
Group control number Select the method to create the group control numbers (or TRADACOMS batch transmission references). The possible values are: - Control number settings. Selects the value already configured under Settings > Control Number, by using the inputs provided in the header category EDI Document Type and Interchange control headers of Queue settings.
- Sequentialize. Control number is auto incremented.
- None. Do not overwrite the group or TRADACOMS batch control number.
Note: If Group control number is left blank, the value of Content control number is used.Content control number Select the method to select the content control numbers. The possible values are: - Control number settings. Selects the value already configured under Settings > Control Number, by using the inputs provided in the header category EDI Document Type and Interchange control headers of Queue settings.
- Sequential. Control number is auto incremented.
- None. Use the control number from the group or transaction header (or TRADACOMS batch or file header).
EDI document type Standard The EDI standard to use. The possible values are: X12, UNEDIFACT, UCS, VICS, EANCOM, ODETTE, and TRADACOMS.
Version Version of the EDI standard with which the envelope must be created. For example, 4010.Note:- Values depend on the selected document standard.
- For TRADACOMS, the only valid version is
1.
One batch queue Select the method of operation to batch the document. The possible values are: - Single Output. Batch the EDI documents in the queue into a single batch EDI document that contains multiple interchanges or transactions.
- Multiple Output. Batch the EDI documents in the queue into multiple batch EDI documents, each with a single interchange or transactions.
EDIINT AS2 partner identities EDIINT AS2 sender identity Specify the AS2-From identity to send the document using the AS2 out channel. EDIINT AS2 receiver identity Specify the AS2-To identity to send the document using the AS2 out channel. Miscellaneous Create group Group related transactions together in the Transactions page. The possible values are True and False. Remove empty record Select to remove all the empty records from the batched documents. The possible values are True and False. Batch max count The maximum number of transactions the operation processes at a time from the queued transactions. The remaining transactions are handled in subsequent executions of the operation. If no value is provided, or a zero or a negative value is provided, all queued transactions are processed.
Batch group The number of queued documents to be retrieved for processing. If no value is provided, or a zero or a negative value is provided, documents are retrieved one by one. Delimiters Default to TPA This option is selected by default. The delimiters specified in the TPA are used in the content generated in the document. Uncheck this option to specify a delimiter each for Record, Field, Sub-field, and Release.
Record Specify a unique record. If no value is specified in the input or TPA, the following default values are added: - For X12: [ \n ]
- For UNEDIFACT: [ ' ]
Field Specify a unique field. If no value is specified in the input or TPA, the following default values are added: - For X12: [ * ]
- For UNEDIFACT: [ + ]
Subfield Specify a unique sub-field. If no value is specified in the input or TPA, the following default values are added: - For X12: [ : ]
- For UNEDIFACT: [ : ]
Release Specify a unique release. If no value is specified in the input or TPA, the following default values are added: - For X12: [ ]
- For UNEDIFACT: [ ? ]
Scheduler Schedule Indicates the schedule type for the queue execution. You can select multiple hours and minutes to deliver business documents based on Daily, Weekly, and Monthly schedules. The possible values are: - Run once. To send the business document on a particular date and at a specific time.For
example, the schedule runs on 24th May 2023 at 15:20 in the following image.

- Fixed interval. Sends the business document at a fixed interval.For example, the schedule
runs after four days in the following image.

- Daily. Sends the business document daily, at a selected time and between the selected
date range.For example, the schedule runs daily from 1st June 2023 to 5th June 2023 at 2:30 and 3:30
in the following image.

- Weekly. Sends the business document at a selected time, on weekdays, and between the
selected date range.For example, the schedule runs on every Monday and Wednesday from 1st June 2023
to 30th June 2023 at 2:30 and 3:30 in the following image.

- Monthly. Sends the business document at a selected time and date, and between the
selected date range.For example, the schedule runs on 2nd, 14th, and 24th starting from 1st June
2023 to 30th June 2023 at 2:30 and 3:30 in the following image.

Processing rule Create a processing rule with Queue for delivery action Select this field to create a processing rule upon creation of queue. This rule is used to add transactions into queue. The Sender, Receiver, and all the documents related to the standard and version specified below are used in the processing rule criteria. Senders Select the list of senders required for the processing rule criteria. Receivers Select the list of receivers required for the processing rule criteria. Documents Select the list of documents required for the processing rule criteria. Status Select the status of the processing rule. This field appears if you select Queue for delivery. The possible values are Active and Inactive.
Position Select the position of the processing rule. This field appears if you select Queue for delivery. The possible values are First, Last, and Custom. Also select the Position index for the Custom position of the processing rule. -
Click Save.To update a general queue click