
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 09:48 PM
Hi Team,
I've idea about writing BR/UI actions to auto populate the Problem details to Problem task.
But, please let me know how to auto populate Problem details into Problem task when click on New in Problem task related list.
1- When click on New, it redirect to following page:
2- I'm trying to Populate details by editing the Interceptor, Where I opened the "General" Answer and it looks like below:
Please let me know how to write script in "Script" field? Any one having idea how to write script here for Auto populate problem details into Problem task.
Thanks & Regards,
Prasanna Kumar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 11:04 PM
Hi @prasannakumard ,
When you create a problem task, that holds a relationship to your problem record using the "Problem" attribute shown below:
Solution proposed:
1. Write a Display BR on Problem Task table and use the script below:
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.assigned_to = current.problem.assigned_to;
current.short_description = current.problem.short_description;
})(current, previous);
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 11:04 PM
Hi @prasannakumard ,
When you create a problem task, that holds a relationship to your problem record using the "Problem" attribute shown below:
Solution proposed:
1. Write a Display BR on Problem Task table and use the script below:
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.assigned_to = current.problem.assigned_to;
current.short_description = current.problem.short_description;
})(current, previous);
Regards,
Shloke