Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I have a custom entity with a one to many relationships to Cases, Work Orders and I want to see latest activities from Cases and/or Work Orders when I open the custom entity's main form. How do I accomplish that? I have to mention I am trying to stay away from code.
I am on Customer Engagement Version 9.0.
You can do this using a subgrid, but only if the activities have a direct relationship to your custom entity. You could create an additional relationship many-to-one on the activity entities to your custom entity, and populate this by workflow, though there are a couple of complications.
1. You cannot customise the activitypointer entity. Instead you can only customise each specific entity type (e.g. emal, task etc), so you'd need to create the relationship and workflow for each activity type
2. You can't update fields on the activity when it is closed (the exception is the regarding field), so you may need to reopen the activities to edit them
Another option could be a workflow to create a new activity that is linked to the custom entity via the regarding field, and is a copy of the original activity
You can not see activity of cases on custom entity.
As per our understanding, case/work order lookup present on your custom entity and you want to see all the latest activities from Cases and/or Work Orders.
If found useful, please mark this answer as verified.
@Kalpravuksh D365 CoE
The relationship between custom entity and Case/Work Order is One To Many, thus the look up fields are in Case and Work Order entities....
"Another option could be a workflow to create a new activity that is linked to the custom entity via the regarding field, and is a copy of the original activity" - if I make those copy-activities read only, users get to see the latest activities, but make updates within the case or work order record. I would also have to update status of activities, so on creation and on change. In a way I like this option also because I only want them to record activities within cases or work orders, but I do realize I am doubling each activity..... until maybe the feature I need will become available. Thank you, I will test this solution.
If anyone has another alternative please let me know.
If you do not want to go for the custom code option and would like to stick to out of the box features, you could go for the option suggested by David. However, you have to remember you do have to add a custom lookup to every single activity entity and you will also have to have different steps for each activity type in your workflow.
One other option you could consider is to see if you could link the activities related to cases or work orders to the custom entity via Connections. You should be able to set the link (Connection To and Connection From ) in workflow and also have a subgrid on your custom entity form to view all the connections - meaning activities related to cases and work orders. I have not tested this with activities but I think it should work.
Please follow the link below to know more about and to see how you can configure connections
I am testing your recommended solution with the connections and I am having some difficulties...
This method sounds really straight forward to me and I would like to implement it, but can you please assist me. Thank you
Business Applications communities