B2B Integration 10.2 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | Archiving and Deleting Documents | Setting Up Extended Archive and Deletion | Setting Up Extended Archive and Deletion Using My webMethods | Setting the Archive and Deletion Criteria
 
Setting the Archive and Deletion Criteria
* To set the archive and deletion criteria
1. In My webMethods: Administration > Integration > B2B > Archive Schedules.
2. Do one of the following:
a. To create the schedule by providing new information, click Add Schedule.
b. To create the schedule by copying an existing schedule and modifying it, click in the row for the schedule to copy.
3. On the Archive Schedule Details page, provide a name and description for the schedule, and indicate whether to enable or disable the schedule. Do not enable the schedule until you are done creating it.
4. Click the Schedule Options tab and complete these fields:
In this field...
Specify...
Action Type
Whether to schedule archive or deletion.
Datasource
If you chose to schedule deletion, whether to delete from the production tables, the archive tables, or both.
Days
Number of days to retain documents. Trading Networks archives or deletes documents that are older than the number of days you specify.
Batch Size
Maximum number of documents to archive or delete in each batch. The default is 100 documents.
If you want to change the default, update the tn.archive.batchSizeproperty.
Wait Time
Number of seconds to wait between two batches of archive or deletion during one scheduled execution. The default time is 15 seconds.
If you want to change the default, update the tn.archive.batchBackoffTime property.
Maximum Transactions Per Schedule
Maximum number of documents to archive or delete during one scheduled execution. This value must be greater than or equal to Batch Size.
For example, if you set the Batch Size to 50 and the Maximum Transactions Per Schedule to 1000, Trading Networks performs the archive or deletion task 20 times during that scheduled execution.
When the total number of documents for archive or deletion is greater than the maximum number of documents per scheduled execution, Trading Networks tries to archive or delete the additional documents during the next schedule execution.
The default value is specified on the tn.archive.maxRows property.
5. In the Criteria panel, specify the archive or deletion criteria in the fields below. All of the fields are option; if you do not want to limit archive or deletion based on a criterion, leave that field blank.
In this field...
Specify this criterion...
Sender
Name of the sender whose documents to archive or delete.
Receiver
Name of the receiver whose documents to archive or delete.
Document Type
Name of the document type for documents to archive or delete.
Processing Status
Processing status (for example, Accepted or Done) of documents to archive or delete.
For information about processing statuses, see webMethods Trading Networks User’s Guide.
User Status
User status of the documents to archive or delete.
6. In the Data to Archive or Delete panel, select the document data to archive or delete.
*If you want to archive or delete all document data (that is, the transactions data), select Transaction Details (BizDoc).
*If you do not want to archive or delete all document data, select one or more of these options:
Select...
To archive or delete...
Transaction Payload Content (BizDocContent)
Document content for the documents.
Transaction Custom Attribute (BizDocAttribute)
All custom document attributes except the custom array attributes for the documents.
Transaction Custom Array Attribute (BizDocArrayAttribute)
All custom array attributes for the documents.
Related Documents (BizDocRelationship)
All documents related to the documents being archived or deleted.
Delivery Tasks
Delivery tasks associated with the documents.
Activity Logs
Activity logs associated with the documents.
Transaction Unique Key Representation (BizDocUniqueKeys)
Unique keys stored for documents for which duplicates were checked.
EDI Tracking Details
Details available in the EDITracking table (see the webMethods Module for EDI Installation and User’s Guide ).
7. Click Save.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.