"Create New" form behavior

Nataliia_Lova
Tera Guru

Hello, Community.
I am working on developing a scoped application and am faced with an obstacle where I am unsure if the user can create a request.
My question is about state field behavior and where I can manage it.

When the "Create New" form opens, there are "-6" values in the state by default.
It needs to be "New".

Screenshot 2024-01-09 at 18.38.01.png

Screenshot 2024-01-09 at 18.38.37.png

Screenshot 2024-01-09 at 18.37.28.png

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Nataliia_Lova It seems that your custom table extends task table check if there is any onLoad client script defined on the task table which is setting the state here.

 

You can also check the dictionary override on the task table and see if the default value is set via the dictionary override.

View solution in original post

8 REPLIES 8

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Nataliia_Lova 

 

Go to configure dictionary  of state and check the default value

LearnNGrowAtul_0-1704820733547.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

This is no entries for State

Screenshot 2024-01-09 at 19.25.10.png

hi @Nataliia_Lova 

 

in your screenshot, state field is there.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Anand Kumar P
Giga Patron
Giga Patron

Hi @Nataliia_Lova ,

Right click on field and configure dictionary and check the default value is-6

or

check any client script that setting value Remove the quotes so as to set the underlying value. E.g.  g_form.setValue('state', ‘6’);

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand