| Table Name: | cls_factory |
| Table Number: | 136 |
| Group: | Task Mgr |
| Description: | Defines objects needed for generating other objects |
| Flags: | |
| Baseline/Custom: | Baseline |
| Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
|---|---|---|---|---|---|---|---|---|
| active | LONG | smallint | 1 | DIRECT | Indicates whether the template is active; i.e., 0=inactive, 1=active, default=1 | |||
| context_type | LONG | smallint | DIRECT | Object type ID of the object being generated for any contextual information needed to generate the focus_type object; e.g., 0=case as the context for subcase generation | ||||
| dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
| focus_type | LONG | smallint | DIRECT | Object type ID of the root object being generated; e.g., 24=subcase | ||||
| mandatory_ind | LONG | tinyint | 0 | DIRECT | Indicates whether the task when previewed for a process instance, must be generated; 0=not mandatory, 1=mandatory, default=0 | Search (2) | ||
| objid | LONG | int | 3 | DIRECT | Internal record number | |||
| shared_pers | LONG | tinyint | 1 | DIRECT | Indicates whether the template is shareable with users other than the originator/current owner; i.e., 0=private, 1=shareable, default=1 | |||
| title | CHAR | varchar | 80 | Title of the template |
| Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
|---|---|---|---|---|---|---|---|
| factory2cls_group | MTM | cls_group | group2cls_factory | Group owning the template | mtm_cls_group0_ cls_factory0 | ||
| factory2cls_opn | OTM | cls_opn | opn2cls_factory | Class operations performend from the template | |||
| factory2cls_ref | OTM | cls_ref | cls_ref2cls_factory | Traversals for the template | |||
| factory2stage_task | OTOP | stage_task | task2cls_factory | Task which the factory implements | |||
| fct_gen2subcase | OTM | subcase | subc_gen2cls_factory | Subcases generated from the template | |||
| factory2subcase | OTOP | subcase | subcase2cls_factory | Example subcase used in auto generation | |||
| factory2task | OTOP | task | ex_task2cls_factory | Example task used in auto task generation | |||
| fct_gen2task | OTM | task | task_gen2cls_factory | Tasks generated from the template | |||
| factory2user | MTO | user | owner2cls_factory | Originator/owner of the template |
| Index Name | Fields | Flags |
|---|---|---|
| cls_factory_index | focus_type:title:factory2user | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| cls_factory_index | focus_type, title, factory2user | nonclustered, unique located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|---|---|
| 5047 | sub_preview | cls_factory, gbst_elm, subcase, user |
| 5187 | task_preview | cls_factory, condition, contact, gbst_elm, task, user |
| cls_factory | |||