Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# memo

The `memo` table stores the case memo data before upgrading to iProcess Engine 11.10. Since iProcess Engine 11.10, all the new case memo data is stored in the ``BLOB(2G)`` data type in the nmemo table.

11.10

Note: A copy of a memo is saved in the pack_memo table if the memo is marked on an outstanding form.

## Structure

The `memo` table has the following structure:

    TABLE memo (
    node_id		INTEGER 		        NOT NULL,
    proc_id		INTEGER  		        NOT NULL,
    casenum		NUMERIC(20)		NOT NULL,
    memo_id		INTEGER			NOT NULL,
    memo_index	INTEGER			NOT NULL,
    memo_size	INTEGER			NOT NULL,
    memo_data	BLOB(30K)     NOT NULL NOT LOGGED,
    array_idx	INTEGER			NOT NULL)

Column | Description
`node_id` | ID of the node that this memo is hosted on, as defined in the nodes table.
`proc_id` | ID of the procedure that this memo belongs to, as defined in the proc_index table.
`casenum` | Case number that this memo belongs to, as defined in the case_information table.
`memo_id` | Unique (for this case) ID of this memo.
`memo_index` | Index number into the set of rows that make up this memo. If a memo is longer than 30,000 bytes multiple rows (in 30,000 byte chunks) are used to store the memo data. Each segment of the memo data is uniquely identified by its `memo_index` value.
`memo_size` | Size (in bytes) of the memo data for this row.
`memo_data` | Memo data.
`array_idx` | Either:
| • | The array element index number of the memo.
| • | `-1`, if the memo is not an array memo field.

## Primary Key

The following primary key is defined for this table.

Key Name | Column(s)
`pk_memo` | `casenum memo_id memo_index proc_id node_id array_idx`

## Foreign Keys

The following foreign key is defined for this table.

Key Name | Column(s) | Referenced in Table...
`fk_memo` 1 This key enforces the DELETE CASCADE referential action. | `node_id proc_id casenum` | case_information

## Indexes

The following index is defined for this table.

Index Name | Column(s) Indexed
`idx_memo_fk` | `casenum proc_id node_id`

## Table Activity

The `memo` table contains one or more rows for each memo on the system. Rows are added, updated and deleted in the following situations.

A row is... | When...
added | either:
| • | a memo field is first assigned.
| • | a memo field is modified. (All rows for the memo are deleted and then re-added.)
updated | never.
deleted | either:
| • | a memo field is modified. (All rows for the memo are deleted and then re-added.)
| • | a case is purged.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine