How to make RITM variable read only on catalog task. When catalog task state is closed complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 12:28 AM
How to made RITM variable read only on catalog task. When catalog task state is closed completed.
refer below image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 12:55 AM - edited 12-06-2024 12:57 AM
Hi @Obito
Write onchange Client script on catalog task table
(note - add one if condition for your specific catalog item so it should not be affect globally)
You can access the variable on catalog task By
e.g - g_form.getValue('Variables.<you variable name>')
Thanks,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 01:06 AM - edited 12-06-2024 01:08 AM
Hello @Obito
You can write a onChange client script on Catalog Task table
var catalogitem = g_form.getValue('u_item');
if(catalogitem=='Your catalog Item')
if(newValue==closedvalue && catalogitem=='Your Catalog Item')
{
g_form.seReadOnly('variables.Yourvariablename',true);
}
Please Mark Correct ✔️ if this solves your query and also mark Helpful 👍 if you find my response worthy based on the impact.
Regards,
Shruti