0% found this document useful (0 votes)
114 views

Workflow Table

The document describes several tables used to define and track workflow processes and activities in a database. The tables store metadata about workflow items and activities like attributes, transitions, and statuses. Runtime tables then track specific workflow item and activity instances as they move through states over time.

Uploaded by

gumphekar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views

Workflow Table

The document describes several tables used to define and track workflow processes and activities in a database. The tables store metadata about workflow items and activities like attributes, transitions, and statuses. Runtime tables then track specific workflow item and activity instances as they move through states over time.

Uploaded by

gumphekar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

WF_ITEM_TYPES The WF_ITEM_TYPES table defines an item that is transitioning through a workflow process.

NAME (PK), PROTECT_LEVEL, CUSTOM_LEVEL, PERSISTENCE_TYPE WF_ITEM_ATTRIBUTES The WF_ITEM_ATTRIBUTES table stores definitions of attributes associated with a process. Each row includes the sequence in which the attribute is used as well a s the format of the attribute data. ITEM_TYPE (PK), NAME (PK), SEQUENCE, TYPE, P ROTECT_LEVEL, CUSTOM_LEVEL WF_ACTIVITIES WF_ACTIVITIES table stores the definition of an activity. Activities can be proc esses, notifications, functions or folders.ITEM_TYPE (PK), NAME (PK), VERSION(PK ), TYPE, RERUN, EXPAND_ROLE, PROTECT_LEVEL, CUSTOM_LEVEL, BEGIN_DATE, RROR_ITEM_ TYPE, RUNNABLE_FLAG WF_ACTIVITY_ATTRIBUTES The WF_ACTIVITY_ATTRIBUTES table defines attributes which behave as parameters f or an activity. Activity attributes are only used by function activities.Example s of valid attribute types are DATE, DOCUMENT, FORM, ITEMATTR, LOOKUP, and VARCH AR2. ACTIVITY_ITEM_TYPE (PK), ACTIVITY_NAME (PK), ACTIVITY_VERSION (PK), NAME (PK), S EQUENCE, TYPE, VALUE_TYPE, PROTECT_LEVEL, CUSTOM_LEVEL WF_MESSAGES WF_MESSAGES contains the definitions of messages which may be sent out as notifi cations. TYPE (PK), NAME (PK), PROTECT_LEVEL, CUSTOM_LEVEL WF_MESSAGE_ATTRIBUTES WF_MESSAGE_ATTRIBUTES contains message attribute definitions. WF_NOTIFICATIONS WF_NOTIFICATIONS holds the runtime information about a specific instance of a se nt message. A new row is created in the table each time a message is sent. WF_NOTIFICATION_ATTRIBUTES WF_NOTIFICATION_ATTRIBUTES holds rows created for attributes of a notification. When each new notification is created, a notification attribute row is created f or each message attribute in the message definition. Initially, the values of th e notification attributes are set to the default values specified in the message attribute definition. WF_ITEMS WF_ITEMS is the runtime table for workflow processes. Each row defines one work item within the system. ITEM_TYPE (PK), ITEM_KEY (PK), ROOT_ACTIVITY, ROOT_ACTIV ITY_VERSION, BEGIN_DATE WF_ITEM_ACTIVITY_STATUSES The WF_ITEM_ACTIVITY_STATUSES TABLE is the runtime table for a work item. Each r ow includes the start and end date, result code, and any error information an ac tivity generates. ITEM_TYPE (PK), ITEM_KEY (PK), PROCESS_ACTIVITY (PK) WF_ITEM_ACTIVITY_STATUSES_H The WF_ITEM_ACTIVITY_STATUSES_H table stores the history of the WF_ITEM_ACTIVITY _STATUSES table. ITEM_TYPE, ITEM_KEY, PROCESS_ACTIVITY WF_PROCESS_ACTIVITIES WF_PROCESS_ACTIVITIES stores the data for an activity within a specific process. PROCESS_ITEM_TYPE, PROCESS_NAME, PROCESS_VERSION, ACTIVITY_ITEM_TYPE, ACTIVITY_ NAME, INSTANCE_ID (PK), INSTANCE_LABEL, PERFORM_ROLE_TYPE, PROTECT_LEVEL, CUSTOM

_LEVEL WF_ACTIVITY_TRANSITIONS The WF_ACTIVITY_TRANSITIONS table defines the transitions from one activity to a nother in a process. Each row includes the activities at the beginning and end o f the transition, as well as the result code and physical location of the transi tion in the process window. FROM_PROCESS_ACTIVITY (PK), RESULT_CODE (PK), TO_PRO CESS_ACTIVITY (PK), PROTECT_LEVEL,CUSTOM_LEVEL WF_ACTIVITY_ATTR_VALUES The WF_ACTIVITY_ATTR_VALUES table contains the data for the activity attributes. Each row includes the process activity id and the associated value for the attr ibute. PROCESS_ACTIVITY_ID (PK), NAME (PK), VALUE_TYPE, PROTECT_LEVEL, CUSTOM_LE VEL

You might also like