Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# nmemo

The `nmemo` table stores the case memo data after upgrading to iProcess Engine 11.10. Since iProcess Engine 11.10, all the new case memo data is stored in the data type in the `nmemo` table.

You can migrate case memo data in the memo table to the `nmemo` table when upgrading to iProcess Engine 11.10 or migrate them by using the `swutil MIGRATEMEMOS` command after the upgrades.

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

## Structure

The `nmemo` table has the following structure:

    TABLE nmemo (
    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	VARBINARY(MAX)       NOT NULL ,
    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. This value is always `1`.
`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_nmemo` | `casenum memo_id memo_index proc_id node_id array_idx`

## Triggers

None.

## Indexes

The following index is defined for this table.

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

## Table Activity

The `nmemo` table contains one row 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.
updated | never.
deleted | either:
| • | a memo field is modified.
| • | 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