SNPI Story 4 - Make HHD Form Dynamic - Validate Task error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2026 02:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I ran into the same validation issue even though the UI Policy looked correct. The root cause was related to field names created during the import process. When the table is created via import, ServiceNow automatically prefixes fields with u_ (for example, u_unlock_code and u_state). However, the lab validator specifically expects fields named without the prefix (e.g., unlock_code and state). The fix was to create new fields with the exact expected column names (no u_), update the form to use those fields, and then rebuild the UI Policy and UI Policy Action to reference them. Once the policy was using state and unlock_code instead of the u_ versions, validation passed immediately. Resolved my issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago