FUN_SENSOR_INSTANCE_TASKS
The table stores the sensor instance task details. Eg: BusinessCriteriaResolverTask, ActionHandlerTask etc.
Details
-
Schema: FUSION
-
Object owner: FUN
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
FUN_SENSOR_INSTANCE_TASKS_PK |
INSTANCE_TASK_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| INSTANCE_TASK_ID | NUMBER | 18 | Yes | Primary identifier to identify Instance task uniquely - Database sequence | |
| INSTANCE_ID | NUMBER | 18 | Yes | Maps to an instance in the FUN_SENSOR_INSTANCES table. | |
| PARENT_INSTANCE_TASK_ID | NUMBER | 18 | The tasks defined in the sensor formula captures the dependency starting with 0 (root), then in level order hierarchy of 1 and so on. This column captures that sequence of dependency. | ||
| TASK_NAME | VARCHAR2 | 64 | Yes | Name of the executable task for an instance. | |
| REQUEST_PAYLOAD | BLOB | JSON Request payload sent to Business Criteria Resolver for evaluation | |||
| RESPONSE_PAYLOAD | BLOB | JSON Response payload received from Business Criteria Resolver after evaluation | |||
| RETRY_COUNT | NUMBER | 5 | To store the Failure retry count | ||
| NEXT_RETRY_TIME | TIMESTAMP | Captures the the next retry time | |||
| STATUS | VARCHAR2 | 32 | Yes | Instance task execution status. | |
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| FUN_SENSOR_INSTANCE_TASKS_N1 | Non Unique | Default | INSTANCE_ID |
| FUN_SENSOR_INSTANCE_TASKS_N2 | Non Unique | Default | STATUS |
| FUN_SENSOR_INSTANCE_TASKS_U1 | Unique | Default | INSTANCE_TASK_ID |