
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2022 03:34 AM - edited 12-28-2022 03:37 AM
HI, I am getting this error when trying to save info in a pm_project form record:
Custom state '' is not mapped to any state bucket. Please contact System Administrator to verify the setup.
I have already checked these links but the error seem not to be related with dictionary or overrides, because only happen in some views:
- https://www.servicenow.com/community/spm-forum/custom-state-quot-closed-cancelled-quot-is-not-mapped...
- https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0720080
- https://www.servicenow.com/community/spm-forum/cancelled-state-in-project-task-form-not-mapping-to-s...
The error only happens in new view created for that form:
Old_view1 --> works OK
Old_view2 --> works OK
New_view --> KO
And only for projects with pm_project_task related:
Project without tasks --> works OK
Project with tasks --> KO
Solved! Go to Solution.
- Labels:
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 03:48 AM
I already discover the error cause.
The problem was I hide the status field in this new view, and there is some out of the box code in business rule searching for the Display Value of the field (business rule "Validate state mapped to bucket"), so it is needed to have the field in the view (and hide it later if necessary).
SOLUTION: Add the 'state' field to the view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 03:48 AM
I already discover the error cause.
The problem was I hide the status field in this new view, and there is some out of the box code in business rule searching for the Display Value of the field (business rule "Validate state mapped to bucket"), so it is needed to have the field in the view (and hide it later if necessary).
SOLUTION: Add the 'state' field to the view.