The CreatorCon Call for Content is officially open! Get started here.

How to create new state on problem.task table

Vijaykumar K
Tera Contributor
  • Hi All, I need to create a new state for problem task. Although I added the choice list but those are not reflected when I select State drop-down list. I heard that similar to changestate handler we have configure for problem as well. Can any some help me with what changes required to display the choices on front end .
1 ACCEPTED SOLUTION

Hello,

This is not an easy thing

1) Basically states are set based on below 'Display' BR

https://instance/sys_script.do?sys_id=7778af18536b13004247ddeeff7b12dd&sysparm_record_target=sys_scr...

2) This BR is calling following script include

https://instance/sys_script_include.do?sys_id=b16748eb535b13004247ddeeff7b12c5&sysparm_record_target...

3) Above SI calling another read only script include

https://instance/sys_script_include.do?sys_id=35988ceb535b13004247ddeeff7b12cc&sysparm_record_target...

5) So if you want to include new choice then you have to create extension of read only SI then include new choice and do all these so I suggest you drop this idea and tell client that it will be huge efforts to do this.

Please hit like and mark my response as correct if that helps
Regards,
Musab

View solution in original post

6 REPLIES 6

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Vijaykumar K ,

Did you create problem task choice under problem_task table ? that is field is from task table and you will have to create the choice as below.

GunjanKiratkar_0-1669987648335.png

 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Hi Gunjan,

correct. I had created new choices under problem.task table only. But those are not reflected under state of  problem.task. could you pls help with any other options

Hi @Vijaykumar K ,

Please share the screenshot what you are able to view as state.

Is it previous values or only new values and not old values.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Vijaykumar K
Tera Contributor

Pls help me on this,