business rule which checks all the fields mandatory are empty or not

Jitu Kumar
Tera Contributor

I want to write a business rule where the condition is:

Status is progress

In the script part I want to check whether the mandatory fields are empty or not. If empty it should show popup that "Please fill the mandatory fields" then update the mandatory fields manually and once the fields are filled manually after updating the status should change to Review.

Can anyone help me with the scripting part?

1 ACCEPTED SOLUTION

Voona Rohila
Kilo Patron
Kilo Patron

You can write OnSubmit client script and make mandatory or check if values are filled or not if state is progress.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

8 REPLIES 8

Hi @Jitu Kumar Singh ,

Did you get a chance check my response? Could you please let me know in case of any further assistance.

Thanks,

Abdul

Please mark my response as correct & helpful so that this thread can be closed and others can be benefited by this.

Abdul Basha Sye
Kilo Guru

Hi Jitu,

Did you get a chance try suggested solution? Please let me know in case of any challenges?

 

Thanks & Regards,

Abdul

Please mark my response as correct & helpful so that this thread can be closed and others can be benefited by this.

Abdul Basha Sye
Kilo Guru

Hi Jitu,

Could you please let me know in case of any further assistance?

Thanks & Regards,

Abdul

 

Please mark my response as correct & helpful so that this thread can be closed.

Abdul Basha Sye
Kilo Guru

Hi @Jitu Kumar Singh ,

 

Greeting of the Day!

It seems you have marked my response as "Correct Answer" and then changed other response as Correct Answer.

Just for your information, You can mark one response as Correct Answer only. So, The last response marked as Correct will be reflected.

Many Thanks,

Abdul

Please mark my response as correct & helpful so that this thread can be closed and others can be benefited by this