- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 11:51 PM
In my requirement need to make the catalog form to be closed complete after task status was changed to closed complete.
In detail, If the approval is approved. It will create catalog task with status closed complete. Next, step should be once the catalog task was created with closed complete the catalog form should be read only.
I used client script for this but not working. Here I attach the screenshot of the script.
Please suggest is any other method.
If UI policy means no. I will affect globally. Only for x catalog item this should be done.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:06 AM
Hi @Deepika43,
Make sure that values for close complete is correct and
Syntax:
g_form.setReadOnly('field_name', true/false);
I would suggest to use UI policy with needed conditions and add fields with Read only as true.
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍🏻
Thanks,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:32 AM - edited 09-20-2023 12:33 AM
@Deepika43 , I would use a UI Policy or Client Script within Catalog Item (Maintain Item --> Your Catalog Item --> related List UI Policy or Client Script). And remove in your Condition "Closed Complete" with "3".
Greets
Daniel
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 03:29 AM
As mentioned UI policy is the only solution for this.