Changing the format of case IDs
Change the format of case IDs to help case workers distinguish instances of one case type from instances of another case type.
-
Set the ID prefix in your application definition.
This approach supersedes any values that you set in an overridden rule, such as a data transform or activity.
- In the header of Dev Studio, click [Your application name] > Definition to open the Application form.
- Click the Cases & data tab.
- In the Work ID prefix field, enter your custom prefix that ends with a hyphen.
- Click Save.
-
Set the ID prefix in a data transform.
- In the Application Explorer, navigate to the class that defines your case type.
- Expand the Data Model section.
- Expand the Data Transform section.
- Click pyDefault.
-
On the Definition tab of the Data Transform form, add an
action that sets the value of Data-UniqueID.pyPrefix to your custom
prefix that ends with a hyphen.
For more information, see Data Transform form - Set action.
- Click Save.
-
Use an activity to set the ID prefix and suffix.
- Open the Work-Cover-.GenerateID activity by using the Application Explorer or searching for the rule by name.
- Create a specialized version of the activity in the class of your case type.
- In the step that calls Work-.GenerateID, clear thePass current parameter page check box, and then enter literal string values in the IDPrefix and IDSuffix fields.
- Click Save.