SFFND_WORK_FLOW 
Logical Entity Name  SFFND_WORK_FLOW 
Default Table Name  SFFND_WORK_FLOW 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
A business rule that governs the work flow, dependency A two types of tasks, their statuses, and the type of task queues they are in.
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFFND_WORK_FLOW(
     FROM_QUEUE_TYPE        VARCHAR2(40)      NOT NULL,
     FROM_TASK_TYPE         VARCHAR2(66)      NOT NULL,
     FROM_STATUS            VARCHAR2(20)      NOT NULL,
     TO_TASK_TYPE           VARCHAR2(66)      NOT NULL,
     TO_QUEUE_TYPE          VARCHAR2(40)      NOT NULL,
     TO_STATUS              VARCHAR2(20)      NOT NULL,
     UPDT_USERID            VARCHAR2(30)      DEFAULT user NOT NULL,
     TIME_STAMP             DATE              DEFAULT sysdate NOT NULL,
     LAST_ACTION            VARCHAR2(20)      DEFAULT 'INSERTED',
     NEW_TASK_ACTION        VARCHAR2(10),
     ENDING_TASK_FLAG       CHAR(1),
     NEW_TASK_PROC_NAME     VARCHAR2(100),
     STARTING_TASK_FLAG     CHAR(1)
)
TABLESPACE SFUPGRADE
;



COMMENT ON TABLE SFMFG.SFFND_WORK_FLOW IS 'A business rule that governs the work flow, dependency A two types of tasks, their statuses, and the type of task queues they are in.'
;
CREATE UNIQUE INDEX SFMFG.SFFND_WORK_FLOW_PK ON SFMFG.SFFND_WORK_FLOW(FROM_TASK_TYPE, FROM_QUEUE_TYPE, FROM_STATUS, TO_TASK_TYPE, TO_QUEUE_TYPE, TO_STATUS)
TABLESPACE SFLOOKUP_INDEXES
;
CREATE INDEX SFMFG.SFFND_WORK_FLOW_TTTYPE_IFK ON SFMFG.SFFND_WORK_FLOW(TO_TASK_TYPE)
TABLESPACE SFLOOKUP_INDEXES
;
ALTER TABLE SFMFG.SFFND_WORK_FLOW ADD
     CONSTRAINT SFFND_WORK_FLOW_PK PRIMARY KEY (FROM_TASK_TYPE, FROM_QUEUE_TYPE, FROM_STATUS, TO_TASK_TYPE, TO_QUEUE_TYPE, TO_STATUS)
     USING INDEX SFMFG.SFFND_WORK_FLOW_PK
;
 

SFFND_WORK_FLOW Columns 
ColumnName  Domain  Datatype  NULL  Definition 
FROM_QUEUE_TYPE(PK)    VARCHAR2(40)  NO 
Type of task queue the triggering task is associated with.
 
FROM_TASK_TYPE(PK)    VARCHAR2(66)  NO 
Type of the triggering task.
 
FROM_STATUS(PK)    VARCHAR2(20)  NO 
The current status of the triggering task.
 
TO_TASK_TYPE(PK)    VARCHAR2(66)  NO 
The task being triggered.
 
TO_QUEUE_TYPE(PK)    VARCHAR2(40)  NO 
Type of task queue the triggered task is associated with.
 
TO_STATUS(PK)    VARCHAR2(20)  NO 
The current status of the triggered task.
 
UPDT_USERID    VARCHAR2(30)  NO 
Solumina login ID of the last user to manipulate the record.
 
TIME_STAMP    DATE  NO 
The date and time the record was last manipulated.
 
LAST_ACTION    VARCHAR2(20)  YES 
The last operation (update, insert, copy, etc.) applied to the record.
 
NEW_TASK_ACTION    VARCHAR2(10)  YES 
The action (INSERT or REPLACE) that creates the new task, the tasked been triggered by the triggering task.
 
ENDING_TASK_FLAG    CHAR(1)  YES 
A flag (Y Yes or space No) indicating whether or not the triggering task is a leaf task in a work flow tree structure. A leaf task doesn't trigger the creation of any other task, therefore, marks the end of a work flow branch.
 
NEW_TASK_PROC_NAME    VARCHAR2(100)  YES 
The stored procedure to be invoked after the triggered task been created.
 
STARTING_TASK_FLAG    CHAR(1)  YES 
A flag (Y Yes or space No) indicating whether or not the triggering task is the root task in a work flow tree structure. A root task marks the beginning of a work flow, and the creation of the root task is not triggered by another task.
 

SFFND_WORK_FLOW Primary and Unique Keys 
Key Name  Key Type  Keys 
SFFND_WORK_FLOW_PK  PrimaryKey  FROM_TASK_TYPE, FROM_QUEUE_TYPE, FROM_STATUS, TO_TASK_TYPE, TO_QUEUE_TYPE, TO_STATUS 

SFFND_WORK_FLOW Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 

SFFND_WORK_FLOW Check Constraints 
Check Constraint Name  CheckConstraint 

SFFND_WORK_FLOW Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  SFUPGRADE 
PctFree  10 
PCTUSED   0 
MinExtents  1 
MaxExtents  2147483645 
Initial  64 
Next  1024 
PctIncrease  0 
InitTrans  1 
MaxTrans  255 
Organization  Heap 
Cache  NO 
Logging  NotLogged 
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS  FreeLists 
FREELIST GROUPS  FreeList Groups 
Buffer Pool  DEFAULT 
Table Compression  NO 
Row Movement  Disabled 

SFFND_WORK_FLOW Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

SFFND_WORK_FLOW Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
SFFND_WORK_FLOW Security Types 
Name  Current Value 

SFFND_WORK_FLOW Bound Attachments 
Name  Current Value 

SFFND_WORK_FLOW Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFFND_WORK_FLOW   
A business rule that governs the work flow, dependency A two types of tasks, their statuses, and the type of task queues they are in.
 
PhysicalOracle (Oracle)  SFMFG.SFFND_WORK_FLOW   
A business rule that governs the work flow, dependency A two types of tasks, their statuses, and the type of task queues they are in.
 
PhysicalSS (Microsoft SQL Server)  SFFND_WORK_FLOW   
 

SFFND_WORK_FLOW Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  SFFND 
PhysicalOracle (Oracle)  Main Model 
PhysicalOracle (Oracle)  SFFND 
PhysicalSS (Microsoft SQL Server)  Main Model 
PhysicalSS (Microsoft SQL Server)  SFFND 

SFFND_WORK_FLOW User-Defined Mappings 
Model  Name  Description