- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2022 09:50 AM
Thank you for your help in advance!
Problem:
When a state is updated to "closed complete" or "closed incomplete" by the agent without saving it greys out (changes to read only). Agent has to refresh the entire page if he/she accidentally selects one of the options above, which is a big inconvenience when there's work notes and customer notes added.
What I want:
When an agent select "closed compete" or "closed incomplete" it shouldn't be read only. They should be able to change as they like. But once the agent SAVE or UPDATE the task with state "closed complete" or closed incomplete" state should change to read-only. Our policy is once a task is marked complete/incomplete we don't want it to be updated.
Screenshots below for reference. Again, thank you!
Current UI Policy Setup:
When closed without saving it is changing to read-only:
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2022 11:48 PM
I suggested to write an onLoad but the screenshot shows onSubmit.
And also state == '3' || state =='4'
3 and 4 should be in quotes.
Make those changes and try now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2022 10:18 AM
Thank you for replying Aman. In my case, how does ACL applies? We still want all agents to have the option to write but when the state is saved in closed we want it to be read-only.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2022 10:23 AM
Yes, so the condition that I have highlighted, you can add in the condition.
Unless and until the state value is saved as closed, it will allow them to change the values on the form, until they submit.
This works exactly as you are looking.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2022 12:56 PM
Aman Kumar