Why I am getting double values for the "state" field when I tried to filter state field in report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 09:38 AM
The state field is from task table.it show double Review, Respond, Closed cancelled...etc,.
Could you please let me know the why it behaving like and what is the reason
How we can avoid duplicate values in state filed.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 10:15 AM
Hi @subbarayudu
Anything in the dictionary overridden? the chances are less. Try to filter with value and then check the table names.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 03:05 PM
Hi @subbarayudu ,
If it is extending any table check the state choices in it ..your field might be showing parent table state choice,
Open sn_grc_issue check which table its extending check the state choice aswell
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 04:08 PM
Hi @subbarayudu,
Since the Task table is extended to various tables, you see all the states in its children's tables as well.
The reason for having duplicates is that there are states with the same Label (e.g. Review) but with a different value in the children's tables.
For example, if you filter the 'Choices' of the state field where the Label = Open, you will see something like below:
In this example, since there are two different values (1 and 10) where the label is Open, you will get two 'Open' choices in your report.
Another thing to keep in mind is that some of the choice values are identical but represent a different state. An example of this is below where value = 1
Because of all of these 'complexities', I don't recommend creating a report on the Task record if you need to filter by its state.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2024 05:20 AM
Hi @subbarayudu ,
I'm a little in doubt about your question, since your mentioning that the state is from the task table, but the picture you have referenced is the sn_grc_issue table? If you refer to the task table, so the state field lives on the task table where any any table inherit this field - hence multiple can be showed.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/