make assigned to field editable when change is closed and close code or close notes are updated

pk31
Tera Contributor

I have requirement to make a 'Assigned to' field editable on change when change is in closed state and close code or close notes are updated.
I already have two ACL for assigned to field which I attached.

4 REPLIES 4

Yousaf
Giga Sage

Hi pk31,
You will have to give read write access to that field. You can configure in the condition builder that state is closed depending on if you want only for closed state if you want for all states including closed then you need need any condition there. 
so the condition depends on what is required. but acl works in most generic to most specific way so if changin in field specific acl is not working for you please check in table level acls parent table acls that the extended table inherits also check any wild card acls* and make configurations according to that.

Please mark correct and Helpful if it helps.

 


***Mark Correct or Helpful if it helps.***

pk31
Tera Contributor

Thanks for reply, I try to add the read access to 'Assigned to' field  but it's not working

 

Rahul Kumar17
Tera Guru

Hi,

You can create new write ACL also add script on that.

/ Check if the change is in a closed state and close code or close notes are updated

if (current.state == 3 && (current.close_code.changes() || current.close_notes.changes())) { // Make the "Assigned to" field editable
answer =true;
}

 

Thanks,

Rahul Kumar

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Thanks for reply, I create the new write ACL as you given but it's not working