Make variable mandatory before on of the ScTask will be closed

Kasia5
Tera Contributor

Hi All,

 

I need to make ona of the variable madatory before state of one of the ScTask will be changed to 'Closed'.

I suppose that I need to use Catalog Client Script, but how can I get the value from sctask and so on?

 

Thanks in advance for help!

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@Kasia5 Where you would like to make the variable Mandatory on SC Task or RITM?

on ScTask

swathisarang98
Giga Sage
Giga Sage

Hi @Kasia5 ,

 

You can create onChange catalog Client script and in that you can check the state value and based on that you can make your variable(field) as mandatory,

 

Please refer the below screen shot,

Screenshot 2023-10-13 at 7.30.02 PM.png

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

 

Thank You

Swathi Sarang

 

Uday Soni05
Tera Guru

Hi @Kasia5 ,
Is this variable is coming from RITM/ Catalog Item Variable or it is one of the field in Task form itself?

If this is coming from Catalog Item Variable then I think it should be filled/mandatory on catalog itself because it is being filled by the requestor

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Uday