How 2 fetch onchange field value from form in client-side script under UI ACTION

Ankit Pratap009
Tera Contributor

Hello Team,

 

I have a requirement when we resolve the incident then it will check the L2/L3 group and if it founds then autopoulate the closed codes with some hardcoded value and update closed notes with last comments,

 

if group is L2/L3 and user puts closed codes, then it should not override it and set the closed notes with last comments.

 

for other group beside L2/L3 it should ask to fill the closed codes and closed notes.

 

2 use case are working fine

1. for group other than L2/L3 it is asking to fill closed code and closed notes 

2. if group is L2/L3 then it set the closed notes and closed code.

but on 3rd use which is not working

3. if group is L2/L3 if user puts closed codes, then it should not override the hardcoded value for this i need to fetch the on-change field value before saving. Please let me know if you have any suggestions

Below is my code.

 

AnkitPratap009_0-1694074729208.png

 

 

 

0 REPLIES 0