You can create, edit, and delete validations using the Validations Workbench.
Create and configure validations
You can create, edit, and copy validations from the Validation Workbench.
To create, edit, or copy a validation requires the required access grants. For details, see the Security Model Guide and Reference.
To create a new or edit an existing validation:
Log on to PPM.
From the menu bar, select Open > Administration > Open Workbench.
From the shortcut bar of the PPM Workbench, select Configuration > Validations.
In the Validation Workbench, click New Validation or open an existing validation.
Note: If you open an existing validation in a PPM instance that supports multiple languages, and the validation is defined in a language other than your session language, you cannot edit the validation. For more information, see Multilingual User Interface.
Provide the following information for the validation:
Field Name Description Name
Name of the validation.
Unique name to identify the validation across all languages being used in your PPM implementation, regardless of whether its name is changed or translated.
Use the default value or provide a new value.
The reference code value must be unique across all languages. Use capital letters and ASCII characters, do not start with an underscore (_), and do not use any of the following special characters:
System data reference codes start with an underscore (_) and should not be modified.
Description Brief description of the validation. Enabled Select this check box to enable the validation. Use in Workflow
Select this check box to use the validation in a workflow step source. For a list of components that can be used in workflow steps, see Validation component types.
Select a component type for the validation. The fields in the Validation window dynamically changes depending on the component type selected.
For a list of components types that can be used, see Validation component types.
Enter any additional information required for the selected component type. The additional information varies depending on the component type selected.
For details on how to configure the different component types, see Validation component types.
- Be sure to exercise caution if you edit existing validations that are in use by fields or workflow step sources. Both field and workflow step validations can be tied to workflow logic. Changing the validation values can invalidate a process.
- If a validation value contains a lookup code, once you have specified and saved the code, you can no longer edit the code. If you need to make a change to the code, you must delete the existing code, add a new code, and then recreate any information from the deleted code.
Specify which users can edit, copy, and delete this validation.
Click the Ownership tab in the Validation window.
The Ownership window opens.
Select Only groups listing below that have the Edit Validations Access Grant.
Add security groups and click OK.
Click Apply to add the security group.
Click OK to add the security group and close the Add Security Group window.
Click OK to save your changes.
Note: If you configure a new validation in a PPM instance that supports multiple languages, the validation is defined in the language you selected at login (your session language). After the validation is created, it can be modified only in its definition language. For more information, see Multilingual User Interface.
To copy a validation:
- From the Validation Workbench, select the validation to copy.
The Copy Validation window opens.
- Provide a name for the copied validation.
- Select the Copy existing translations check box if you want to copy the translations of the validation.
The Question window opens.
Click Yes if you want to make modifications. Otherwise, click No.
If you click Yes, the Validation: <validation_name> window opens.
- Make necessary changes to the validation.
- Click OK to save your changes.
Delete or disable validations
To delete or disable a validation requires the required access grants. For details, see the Security Model Guide and Reference.
To delete a validation:
- From the Validation Workbench, select the validation to delete.
Click Delete and then Yes in the Question window.
You cannot delete a validation if it is:
A system validation (delivered with the product as seed data).
Note: Although you cannot delete a custom validation, you can disable it. This allows any active workflows or product entities to use the validation, but keeps it from being used in new workflows or entity definitions.
Currently used by a workflow step source.
Currently used by a field in a product entity (object type, request type, user data, report type, or project template field).
To disable a validation:
From the Validation Workbench, select the validation to disable.
You can only disable validations that are referenced by workflow step sources or entity fields.
In the Validation: <validation_name> window, clear the Enabled check box.
Click OK to save your changes.
A disabled validation continues to function in existing workflow steps and fields, but you cannot use it to define a new step source or field.