Message Reference

TSTC—Grid Task State Change

When a grid task is added, started, paused, canceled, or completed, this message is issued to audit the change in task state.

Table 65: TSTC—Grid Task State Change Fields

Code

Field

Description

 

 

 

TSID

Task ID

The unique identifier of the task used to manage the task

 

 

over its life cycle.

 

 

 

TTYP

Task Type

The type of task.

 

 

 

TDSC

Task Description

A text description of the task.

 

 

 

TSRC

Task Source

A text identification of the issuer of the task.

 

 

 

TSTS

Task State

The current state of the task:

 

 

NEWT—Newly added.

 

 

PEND—Pending.

 

 

ACTV—Active (running)

 

 

PAUS—Paused.

 

 

ROLA—Aborting; performing a rollback.

 

 

ROLF—Rollback failed.

 

 

HIST—Historical (task completed, cancelled, or expired).

 

 

RMVD—Task is now removed.

 

 

 

RSLT

Task Status

The status of the grid task:

 

 

SUCS—The task successfully entered the current state.

 

 

ABRT—The task was aborted (rollback if possible).

 

 

FAIL—The task has failed (rollback if possible).

 

 

CANC—The task was cancelled (never started).

 

 

EXPR—The task expired (never started).

 

 

IVLD—The task is invalid.

 

 

AUTH—The task is unauthorized.

 

 

DUPL—The task is a duplicate.

 

 

 

This message is used to determine what tasks have been added, run, and completed, and the result of the completion.

The Task Status serves to indicate why the task is in the current state. If a task ends abnormally (is aborted or fails) and requires a rollback, the reason is retained in the task status (TCTS). The status of the rollback itself is noted within the state (TSTS). The sequence of messages would indicate either:

ROLA > HIST if the rollback is successful, or

ROLA > ROLF > HIST if the rollback failed.

63

HP Medical Archive

Page 74
Image 74
HP Medical Archive Solution manual TSTC-Grid Task State Change Fields