how to make all the variables read only on SC tasks after the task gets closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 10:29 AM
On the task form i can see all the variables are still editable after the task gets closed, how to i make them not ready only and i want this for any kind of SC_task raised in any cataloge item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 12:10 PM
I will check with vendor like why this script is not working , meantime can you please help me with other code that i need to add here only in this on load client script.
Actually i need to make all the variables read only acept 2 different cataloge items tasks and for one another cataloge i need to make only few variables read only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 07:24 PM
you can write below if client script
var item = g_form.getValue('item');
if(item !='sysidof item1' && item != 'sysidid ofitem2'){
write read only script here
}
Bharath Chintala