- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2023 06:25 AM
I need to modify the short_description field of the record whose assigned_to field is changed of modified from list view.
how can i achieve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 05:21 AM
You can use a Business Rule if you want to cover all the possible ways where assigned_to can be changed, or if you only want to trigger when done from a List then an onCellEdit Client Script is the way to go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 05:21 AM
You can use a Business Rule if you want to cover all the possible ways where assigned_to can be changed, or if you only want to trigger when done from a List then an onCellEdit Client Script is the way to go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 06:13 AM - edited 10-09-2023 06:14 AM
Hi @moni170 ,
If you are editing assigned to from list view create new Oncelledit client script and use below script.
function onCellEdit(sysIDs, table, oldValues, newValue, callback) {
var saveAndClose = true;
var newValue1 = g_form.getValue('assigned_to');
var shortDescription = g_form.getValue('short_description');
shortDescription = shortDescription + "\nAssigned to " + newValue1;
g_form.setValue('short_description', shortDescription);
callback(saveAndClose);
}
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 09:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 10:22 PM - edited 10-09-2023 10:50 PM
Thankyou!! But it's not working. Is there any other way!!