Make record inactive for a custom state option

Community Alums
Not applicable

Hi Community,

we have state field on change_task table that holds some custom values other then OOb such as skipped, ignored, failed, when we choose any of the option and save the record the record is still in active state, how can I make the record inactive if any of those option is chosen (other than business rule any suggestion on dictionary level is appreciated)

2 REPLIES 2

shyamkumar VK
Kilo Patron

@Community Alums ,

go to Config Dictionary on your state Field --> go to Dictionary Override --> Check if you have dictionary override on change request table open that and add your custom choices to closed states 

Ex :default_work_state=-5,close_states=3;4;7;-1,default_close_state=3 //-1 is custom choice

Regards,

Shyamkumar

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

Sumanth16
Kilo Patron

Hi @Community Alums ,

 

Please check the following helpful article. If your table is inherited from the task table you also inherit all the "magic" functions in the background and without the knowledge of it you will not understand why your custom table records behave "strange":

https://www.servicenow.com/community/itsm-blog/understanding-tasks-table-quot-closed-quot-states/ba-p/2295100

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda