Descriptions of Queue Attributes | |
Attribute | Description |
Name | Displays the name of the queue. You cannot change the name of a queue. |
Type | Displays the type specified for the queue: Process, Schedule, or Pool. You cannot change the type of a queue. |
Status | Indicates the status of the queue: Started or Stopped. You can change the status of a queue by using the right-click row menu or by selecting the queue row and clicking the start icon or the stop icon. |
Enabled | Indicates whether the queue is enabled or disabled. See Enabling and Disabling Queues. |
Group | Displays the group to which this queue is assigned. If the queue is not explicitly assigned to a group, Default displays in the Group field. You can change the group assignment by entering a different group name. A group name can consist of alphanumeric characters specified when setting up the group. |
Polling Interval | Specifies how frequently the queue service checks for unprocessed queue entries. Polling is a safety mechanism only, as all queues are event driven. Some polling intervals are set programmatically through the software and editing the polling interval is no longer available from the Edit window. Administrators should not change the out-of-the-box polling interval value set for a specific queue. If you think there is a need to make a change to a polling interval, contact PTC Technical Support. |
Total Entries | Identifies the total number of queue entries currently in the queue. |
Severe/Failed Entries | Shows the number of entries in the queue that have a status of either Failed or Severe. For information about what to do about queues that have a status of either Failed or Severe, see Performing Regular Queue Maintenance. |
Waiting Entries | Indicates how many entries are waiting to execute. |
Failure Retries | Specifies the number of times a failed queue entry will be retried. In most cases, 3 is reasonable. |
Suspend Duration | Indicates the amount of time to suspend the queue after the status of a queue entry has been set to either Failed or Severe. Any entries that were in the queue, but had not executed, remain in the queue with the status of Ready. After the suspension time elapses, queue entry processing resumes. |
Suspend Until | Displays the suspension end time for a queue in the suspended status. If the queue has not been suspended, the time is listed as N/A. |
Action | Description |
Start | Starts the execution of entries that are in the queue. This action is only available when the queue is enabled and the status is Stopped. |
Stop | Stops the execution of entries that are in the queue. This action is only available when the queue is enabled and the status is Started. |
Enable | Establishes that the queue can be started manually (using the Start action) and that it automatically starts the next time you restart Windchill. This action is only available when the queue is disabled. |
Disable | Establishes that entries in the queue do not execute and that the queue does not automatically start the next time you restart Windchill. This action is only available when the queue is enabled. |
Edit | Opens the Edit window. |
Deleting a queue is no longer available from the Actions menu. To delete a queue that you have created, see Deleting a Queue. |
To group all entries with the same status, sort on the Status column. |
Status | Description |
Ready | Corresponds to the initial status of the task. Only entries with the Ready status are waiting to execute. How they are processed depends on the queue type. |
Executing | Indicates that an entry has been selected for execution. From the Executing status, the entry goes to either the Completed or the Failed status. |
Completed | Indicates that the task was successfully executed. If these entries are not automatically deleted, you should purge queues of Completed entries so that the size of a queue does not exceed the storage capacity of the database. |
Failed | Indicates that an error occurred during execution. You can purge queues of Failed entries so that the size of a queue does not exceed the storage capacity of the database. |
Reschedule | Indicates that the queue entry has been executed and automatically rescheduled. |
Severe | Indicates that an unexpected problem occurred when the entry was executing. If desired, the queue can be configured to suspend itself for a short interval when this sort of problem occurs. You can use the Suspend Duration field on the Edit window to specify the length of the suspension. See Editing Queue Attributes. |
By default, completed tasks are deleted from the queue; however, if the wt.queue.removeCompleted property is set to retain them, delete completed entries manually as part of your regular maintenance. |
If you fail to delete entries from the queue manually, queuetasks may exhaust the storage capacity of the database. |