Reload form when update record

Nuno Oliveira
Mega Guru

Hi there,

I have this requirement which says if someone updates a SC Task on the RITM related list for the SC Tasks, it needs to set one of the variables to read only. I already have a client to set this variable read only on load, however I need to set it when the user changes for example, the SC Task state to Close complete. What is your advise for this?

 

I was trying to reload the RITM form from the list update of the task, but it didn’t worked.

 

Best Regards

1 ACCEPTED SOLUTION

Abhijit4
Mega Sage

Hi,

After reading your further comments, what I understood is, you are struggling to reload form when someone updates field in SCTASK related list on RITM form so I found below solution for you.

You can write onCellEdit client script on catalog task form to reload RITM form whenever user updates something in SCTASK related list.

Please find script and details below (I have written client script for assignment group, you can change based on your requirement)

find_real_file.png

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Thanks and Regards,
Abhijit
Community Rising Star 2022

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

View solution in original post

5 REPLIES 5

Awesome !!!!! That was it!!!! Thank you very much 🙂