ACA_WF_INSTANCE
Workflow Object table to store Workflow Object information.
Details
-
Schema: FUSION
-
Object owner: ACA
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
ACA_WF_INSTANCE_PK |
WORKFLOW_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| WORKFLOW_ID | NUMBER | 18 | Yes | Primary key of the table ACA_WF_INSTANCE. | |
| 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. | |
| WORKFLOW_TEMPLATE_ID | NUMBER | 18 | Yes | Workflow Template ID. Foreign key to table ACA_WF_TEMPLATE_B table. | |
| OBJECT_TYPE_ID | NUMBER | 18 | Yes | Foreign key to table ACA_WF_OBJECT_TYPES_B table. | |
| OBJECT_PK1 | VARCHAR2 | 150 | Yes | Primary key of the uptaking team's object instance. | |
| OBJECT_PK2 | VARCHAR2 | 150 | Primary key of the uptaking team's object instance. | ||
| OBJECT_PK3 | VARCHAR2 | 150 | Primary key of the uptaking team's object instance. | ||
| OBJECT_PK4 | VARCHAR2 | 150 | Primary key of the uptaking team's object instance. | ||
| OBJECT_PK5 | VARCHAR2 | 150 | Primary key of the uptaking team's object instance. | ||
| STATUS_TYPE | NUMBER | 18 | Current Status Type. Foreign key to table ACA_WF_STATUS_B table. | ||
| STATUS_CODE | NUMBER | 18 | Current Status Code. Foreign key to table ACA_WF_STATUS_B table. | ||
| APPROVAL_STATUS_TYPE | NUMBER | 18 | Approval Status Type. Foreign key to table ACA_WF_STATUS_B table. | ||
| APPROVAL_DATE | DATE | The date on which this workflow instance was Approved. | |||
| APPROVAL_REQUEST_DATE | DATE | The date on which the workflow got in to Approval state. | |||
| ACTIVE_FLAG | VARCHAR2 | 1 | Yes | Y - If the workflow is Active i.e. Open/Approval N - If the workflow is Inactive i.e Cancelled | |
| 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_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ACA_WF_INSTANCE | aca_wf_template_b | WORKFLOW_TEMPLATE_ID |
| ACA_WF_INSTANCE | aca_wf_object_types_b | OBJECT_TYPE_ID |
| ACA_WF_INSTANCE | aca_wf_status_b | STATUS_TYPE |
| ACA_WF_INSTANCE | aca_wf_status_b | STATUS_CODE |
| ACA_WF_INSTANCE | aca_wf_status_b | APPROVAL_STATUS_TYPE |
| aca_wf_actions_b | aca_wf_instance | WORKFLOW_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ACA_WF_INSTANCE_N1 | Non Unique | Default | OBJECT_PK2, OBJECT_PK3, OBJECT_PK4, OBJECT_PK5 |
| ACA_WF_INSTANCE_N2 | Non Unique | Default | OBJECT_PK1, STATUS_TYPE |
| ACA_WF_INSTANCE_N3 | Non Unique | Default | STATUS_CODE |
| ACA_WF_INSTANCE_N4 | Non Unique | Default | WORKFLOW_TEMPLATE_ID |
| ACA_WF_INSTANCE_N5 | Non Unique | Default | OBJECT_TYPE_ID |
| ACA_WF_INSTANCE_N6 | Non Unique | Default | APPROVAL_STATUS_TYPE |
| ACA_WF_INSTANCE_N7 | Non Unique | Default | STATUS_TYPE |
| ACA_WF_INSTANCE_N8 | Non Unique | Default | TO_NUMBER("OBJECT_PK1") |
| ACA_WF_INSTANCE_U1 | Unique | Default | WORKFLOW_ID |