Академический Документы
Профессиональный Документы
Культура Документы
REPEAT Step :
The REPEAT step allows you to conditionally repeat a sequence of child steps based on the success or
failure of those steps.You can use REPEAT to :
. Re-excute (retry) a set of steps if any step within the set fails.
.Re-execute a set of steps until one of the steps within the set fails.
Important :
note that the children of a REPEAT always execute at least once. The Counter property specifies the
maximum number the children will be re-executed.
Answer:
Trading Networks uses the information you specify at design time to process a document at run
time. It uses:
DESIGN TIME
* Sender's profiles to ensure the user sending the document is an active partner in your network
* Receiver's profiles to obtain information specific to the receiving partner for processing document
(e.g., the partner's HTTP hostname and port number if delivering a document via HTTP)
* TN document types to recognise the type of document that was sent and to determine document
attributes to associate with the document
* Processing rules to determine the actions you want Trading Networks to perform against the
inbound document
The run-time processing that Trading Networks performs for an inbound document can be divided
into four areas:
* Recognition processing, which is determining the TN document type that matches the inbound
document using the identification information that you defined in TN document types, and after
locating the matching TN document type, obtaining the values of the document attributes that you
specified in the TN document type.
* Processing rule selection, which is determining the processing rule to use for the inbound
document based on the criteria that you defined in processing rules.
* Pre-processing actions, which is performing the pre-processing actions that you defined in the TN
document type and/or processing rule.
* Processing actions, which is performing the processing actions that you defined in the processing
rule.
Preprocessing Rule - Verify Digital Signature, Validate Structure Of Document, Check Duplication,
Save.
Processing Action - Execute a Service, Send an alert e-mail, Change the user status, Deliver the
document to Receiver, Respond with a message.
* Immediate Delivery. Trading Networks attempts to deliver a document directly to the receiving
partner. You can create immediate delivery methods using the standard delivery methods such as
HTTP and FTP. In addition, you can create immediate delivery methods using custom delivery
services.
* Scheduled Delivery. Trading Networks queues documents to be delivered at scheduled times. You
define scheduled delivery queues in Trading Networks. When you define the queue, you associate
both a schedule and a scheduled delivery service with the queue. At the time(s) the schedule
indicates, Trading Networks invokes the scheduled delivery service to act on the documents in the
queue to deliver them. Trading Networks provides one built-in scheduled delivery service. You can
add additional scheduled delivery services to meet your needs. Â
* Queued for polling. Trading Networks places the document in an internally-defined queue. The
receiving partner later polls for documents and Trading Networks
returns all the documents in the queue for which that partner is the receiver.
* Receiver's Preferred Protocol. Trading Networks looks up the receiver's profile and uses the
delivery method that is identified in the profile as the preferred delivery method.The preferred
delivery method can be any of the immediate delivery methods, scheduled delivery, or queued for
polling.