Hello Dynamics 365 Community,
I'd be glad to hear your opinion concerning the following issue:
My requirement is to have a nicely formatted Word document at hand, containing information about the case selected and the latest activity with description and actualduration.
I'd like to generate the Word document from the cases view in customer service hub, so I downloaded the template with "case" as the main entity and - as far as I can see - all relevant depending entities (Incident_ActivityPointers, Incident_Annotations, Incident_Emails, Incident_Tasks).
As far as I know, the attibute "actualduration" should contain the documented time needed for each task, e-mail, etc of the case.
Unfortunately, no matter, which attribute I select, the Word document will always contain the "actualduration" of the first activity documented in the timeline.
Below a screenshot of the case with several activities. Hope this is sufficient to imagine the issue.
Thanks in advance for helping and best regards,
Chris
Hello LA,
thanks for your reply.
Attached, you'll find a screenshot of the template.
I followed the instruction in the link you provided and adapted my template accordingly. This led to a list of durations of all the activities in the case, This of course would be the expected behaviour, but doesn't meet my requirement: I only need the description and the actualduration of the latest added activity of the case.
Thanks also for the hint to the case resolution activity, wich unfortunately doesn't meet my requirements either. The goal of the template is kind of a report for the customer during the ticket is in progress.
If you or someone else has additionals suggestions, I'd be more than glad.
Thanks and best regards,
Chris
Probably would help if you showed the Word Template.
Actual duration is against each individual Activity (if populated)) and as such you will need to put a repeating group in your word template (i.e. list the activities) https://docs.microsoft.com/en-us/power-platform/admin/using-word-templates-dynamics-365#set-content-control-fields-to-repeat
There is a Case Resolution Activity that will contain the total - but only after the case has been resolved.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,902 Super User 2024 Season 2
Martin Dráb 229,297 Most Valuable Professional
nmaenpaa 101,156