Need to set mandatory fields while closing the task (closed complete)

Saridha_L1
Tera Expert

Hi Team,

Need to set mandatory fields while closing the task (closed complete).

After approval 1st task will be created, once we close the 1st task, additional task should be created.

Could you please help me how to set mandatory fields while closing the task (closed complete) only for 1st task.

 

Regards,

Saridha.L.

1 ACCEPTED SOLUTION

of course ui policy . if things can happen without script then use OOTB functionality . its beauty of service-now. 🙂

 

View solution in original post

6 REPLIES 6

Harsh Vardhan
Giga Patron

do you have any thing unique on your first task? some of the extra variable or field value?

 

based on those things you can set your field mandatory.. if you have not then just a workaround. create hidden field true false.. that will be checked only for first task and for other it will be unchecked so based on the condition you can mark your field mandatory also..

 

Thanks,

Harshvardhan

Hi Harshvardhan,

Thank you for your response.

2 fields are common and other fields are unique.

 

Could you please suggest me , shall I use client script or UI Policy.

Regards,

Saridha.L

 

 

of course ui policy . if things can happen without script then use OOTB functionality . its beauty of service-now. 🙂

 

Hi Harshvardhan,

I have a requirement to set mandatory field to only one task in the catalog item. UI Policy is not working, can you please advise.

Regards,

Saridha.L