How to roll up all the Task Details to the Incident Resolution rather than prompt for the resolution.

Version 1

    Details

    When the Status is set to resolved or closed, customer wants to know how to roll up all the Task Details to the Incident Resolution rather than prompt for the resolution.


    Resolution

     

    For updating the Resolution with all Task.Actions, we modified the Close Incident quick action. To achieve this, use the following steps:

    In the Client, open the Incident Business Object/workspace
    Click on Actions Menu > Edit Actions
    Expand the Form Actions 
    Click on the "Close Incident"
    Click on Edit
    In the Field Value for the Resolution field, replace the prompt with the following expression:

    $(ForEachChild("Incident#", 
                   RecId, 
                   "Task#Assignment.Rev3", 
                   "Details + '\r\n' + 'Created by ' + CreatedBy + ' on ' + ToString(LastModDateTime) + '\r\n\r\n'", 
                   "LastModDateTime ASC"))