Adding Unique Constraint in the Activities Feature Layer (Optional)
An optional validation can be added by setting a unique constraint in the Activities feature layer. This helps to prevent duplicate Activity records.
To add the constraint:
1. Right-click the Activities Feature Layer and select Manage.
2. Click Indexes and then click Add. If Add is disabled, the respective feature layer has to be stopped from the ArcGIS Server Manager.
3. Complete the form and click OK to save changes.