set the checkbox 'Additional comments (customer visible) to Yes

Yaalini Sakthiv
Giga Contributor

When an approver rejects my request it follows a run script which we need to update the work notes and make the additional comments to yes in RITM(sc_req_item) which is we need make that field to true as it is a check box. I have updated the worknotes it is working fine but no idea for the additional comments thing.

Can anyone help with this?find_real_file.png

 

1 ACCEPTED SOLUTION

A field can be made mandatory on only client side.

So from serverside (workflow) its not possible to make a field mandatory.

 

 

View solution in original post

7 REPLIES 7

Feel free to reach out if you have further questions or else you can mark an answer as correct and helpful to close the thread.

 

Regards,
Sumanth

I have a field called model when the value of model is empty or blank there is another field called model is correct? multiple choice type of variable which has 'yes' and 'no' choices. So, when model field is empty or blank it should set value to 'no' how to do this is in catalog client script?

 

You should write an onChange client script on Model field.

if(g_form.getValue('model_field_name')=='') //check field name

{

g_form.setValue('is_model_correct_field_name', 'no'); //check field name and backend value of no

}

 

Regards,
Sumanth