Add Parent Contact to Child Case Wishlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 07:55 AM
I have a Requirement to Add Parent Contact to Child Case Wishlist.
I have multiple case types all extending the case table "sn_customerservice_case"
sn_customerservice_warranty
sn_customerservice_solutions_service
sn_customerservice_solutions_parts
n_customerservice_service_parts_engineering
They can all create child cases of each other.
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2023 02:23 AM
Hi, Create a business rule or flow to achieve this.
when new record insert incase table you allow to create the entry in mentioned table using intialize() and insert() functions.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 08:38 AM
I currently have a on before business rule on the Taks table to add the opened by to watchlist in global scope.
(function executeRule(current, previous /*null when async*/ ) {
// Add your code here
current.watch_list = current.opened_by;
})(current, previous);
Could I modify this to cater for both needs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 08:46 AM
I recommend to use flow designer and create it. Is above script is not working? Normally current.update() not to use. For test purpose, add this line and test it, Current.update() not advisable to use in the code.
If you add, it will affect the health scan report.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 08:51 AM - edited 08-07-2023 08:52 AM
I was trying the flow designer but I'm not 100% familiar with it would you be able to guide me on this?
worth noting this child case is created in worspace