- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 10:28 AM
Hello all,
I am trying to determine how I can utilize field dependency (or some other platform functionality) to make it so certain states appear on a requested item based on the catalog item requested.
I have a very specific request which has required the creation of custom states as per the business's request. However, I do not want these custom states to be visible on all requested items, only requested items which were generated off of a specific catalog request.
I have tried to create the custom states and then set their dependent value to both the name of the catalog item (as I have seen in some videos) as well as so just "cat_item", however it does not appear to be working.
Am I misunderstanding how "Dependent value" works?
Thank you for your time and your help.
Solved! Go to Solution.
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 10:48 AM
Hello
Just write an onload client script-
if(cat_item!='sysid of your catitem')
{
g_form.removeOption('state','stateoptionvalue','stateoptionlabel');
}
Please mark answer correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 10:48 AM
Hello
Just write an onload client script-
if(cat_item!='sysid of your catitem')
{
g_form.removeOption('state','stateoptionvalue','stateoptionlabel');
}
Please mark answer correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2024 02:29 AM
This is not working for me.
I have the same requirement. I have added a new state option on sctask table. I only want to show this state option for a catalog item.