Requested Item (sc_req_item) state change choices if catalog item is equal to name

Tadz
Tera Guru
Tera Guru

Hi, is it possible to make Requested Item in service catalog "State" choices dependent on the catalog item?


Thanks,

Tadz

5 REPLIES 5

srinivasthelu
Tera Guru

Hi Cris,



You can do that by using the dependent field feature in SerivceNow. Creating New Fields - ServiceNow Wiki



Steps:



Go to Dictionary of state field -> switch to Advanced View -> select Item as dependent field. Something like below.




Screen Shot 2016-03-04 at 4.25.02 PM.png




3. Right click on state field on the Request item form -> Show choice field and add Dependent value for the choices. something like below



Screen Shot 2016-03-04 at 4.26.37 PM.png




Thanks


Srinivas


Hope this helps !!


Hi Srinivas,



I'm still testing it.
Question though, does configuration item means. sc_req_item table or the table for the catalog item?



Thanks and Best Regards!



Tadz


Hi Cris,



Those screenshots represent similar kind of customization on incident table.



It is to add dependency between configuration item and state. You can replace configuration item with Item in your case.



Thanks


Srinivas


Hi Srinivas,


It seems that the allowable dependency for the state field is on the task table.


That why state cannot be set to be dependent from the catalog item which is from the sc_req_item table .



Thanks,



Tadz