- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 05:04 AM
Hi everyone,
Can you please have a look at this? https://www.servicenow.com/community/sysadmin-forum/dependant-values-not-working-in-state-choice-lis...
I can't seem to find answers in the Admin forum, and I'm getting obsessed with solving this! 🙂
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 06:29 AM - edited 12-09-2022 06:30 AM
@Elisa Mena ok if this is not dependent on any other field, you don't need to create and custom field for that.
There is a free plugin "state flows" in servicenow for your requirement without need of any code. You can install that plugin and create state flows following below servicenow document:
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 05:52 AM
@Elisa Mena did you try the solution provided by @jaheerhattiwale . The solution seems correct.
You need to set the "dependent on field" for your state field and the values of that field need to be the dependent value of your state field in sys_choice table.
If it still does not work pls share the screen shot of dependent on field, state choice values where dependent value is given and dependent on field choice list.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 06:17 AM
Hi,
The thing is that what I want to limit the choices available in the state:
- From Open, only display WIP
- From WIP, only display Closed complete, Pending, Closed incomplete and skipped
- etc.
These values are not depending on any other value and the table sc_task only has the state as available value. I tried creating a field in the table and set it as the dependant but it got worse.
It was then displaying none as a value, and was not displaying all the choices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 06:29 AM - edited 12-09-2022 06:30 AM
@Elisa Mena ok if this is not dependent on any other field, you don't need to create and custom field for that.
There is a free plugin "state flows" in servicenow for your requirement without need of any code. You can install that plugin and create state flows following below servicenow document:
Raghav
MVP 2023