Approver fields
This topic contains information about how the Approval Server manages the sizes of approver fields and a utility that is used for this purpose.
Lengths of approver fields
By default, approver names are limited to 255 characters and the list of members in an approval server role is limited to 512 characters. The approval server checks the lengths of the fields listed in the following table at startup, and enforces this length as the maximum limit.
Approver fields checked for maximum length at startup
You can increase the length of these fields to the maximum limit permitted by the database (VARCHAR limit) by manually executing a approval server utility. See Approval Change Schema.
VARCHAR limits for special fields on supported databases
To use longer approver names with previews, make the following changes:
- For regular previews, increase the length of the Approvers and Original Approvers fields on AP:PreviewSignatures.
- For real-time previews, increase the length of the Approvers field on AP:PreviewInfo.
Approval Change Schema utility
Administrators can run the Approval Change Schema (chgschema) utility to set the length of approver fields on certain forms to the maximum limit allowed by the database. Approver fields checked for maximum length at startup lists the forms and their approver fields that are affected. To run the chgschema utility manually, see Running-the-approval-utilities.
The syntax for chgschema is as follows:
-x Server
-u User
[-p Password] [-t TCP Port]
[-r RPC Port] [-a Authentication String]
The following table describes the parameters that administrators need to supply when running the chgschema utility:
Parameters for the chgschema utility