Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ad_wf_activity_id | numeric | 10 | null |
|
|
||||||||||||
| ad_client_id | numeric | 10 | null |
|
|
||||||||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||||||||
| created | timestamp | 29,6 | now() |
|
|
||||||||||||
| createdby | numeric | 10 | null |
|
|
||||||||||||
| updated | timestamp | 29,6 | now() |
|
|
||||||||||||
| updatedby | numeric | 10 | null |
|
|
||||||||||||
| ad_wf_process_id | numeric | 10 | null |
|
|
||||||||||||
| ad_wf_node_id | numeric | 10 | null |
|
|
||||||||||||
| ad_wf_responsible_id | numeric | 10 | √ | null |
|
|
|||||||||||
| ad_user_id | numeric | 10 | √ | null |
|
|
|||||||||||
| wfstate | bpchar | 2 | null |
|
|
||||||||||||
| ad_message_id | numeric | 10 | √ | null |
|
|
|||||||||||
| processing | bpchar | 1 | √ | null |
|
|
|||||||||||
| processed | bpchar | 1 | 'N'::bpchar |
|
|
||||||||||||
| textmsg | varchar | 2000 | √ | null |
|
|
|||||||||||
| ad_workflow_id | numeric | 10 | null |
|
|
||||||||||||
| ad_table_id | numeric | 10 | null |
|
|
||||||||||||
| record_id | numeric | 10 | null |
|
|
||||||||||||
| priority | numeric | 10 | √ | null |
|
|
|||||||||||
| endwaittime | timestamp | 29,6 | √ | null |
|
|
|||||||||||
| datelastalert | timestamp | 29,6 | √ | null |
|
|
|||||||||||
| dynprioritystart | numeric | 10 | √ | null |
|
|
|||||||||||
| ad_wf_activity_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||||||||
| ad_role_id | numeric | 10 | √ | NULL::numeric |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| ad_wf_activity_pkey | Primary key | Asc | ad_wf_activity_id |
| ad_wf_activity_item | Performance | Asc/Asc | ad_wf_process_id + ad_wf_node_id |
| ad_wf_activity_status | Performance | Asc/Asc | wfstate + processed |
| ad_wf_activity_uu_idx | Must be unique | Asc | ad_wf_activity_uu |
| ad_wf_activity_who | Performance | Asc/Asc | ad_wf_responsible_id + ad_user_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| ad_wf_activity_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| ad_wf_activity_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |