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.

View solution in original post

7 REPLIES 7

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.

Vijaykumar K
Tera Contributor

Thanks guys for your help,

 

We achieved this requirement. Along with the above changes in SI , we created and modified the state values on sys_state_model problem task table and developed new ui action for those state and everything working great .

 

Thanks a lot for suggestions.

Did you manage to change the state label as well?