QuestionQ9

Verified

You need to create a read-only grid that displays support case information. Data for the support cases is mapped to the "Case" record type with data sync enabled. Within the record, there are fields named "createdDateTime" and "resolvedDateTime". These two fields store the timestamps for when a case is created and resolved, respectively. The grid includes a column indicating the number of hours between when the case was created and when it was resolved. This column must be sortable within the grid. How should you calculate the hour value that will display in the column?

Explanation

A real-time record field can calculate the difference between creation and resolution in hours and provide a field for grid sorting. The sync-time choice uses the current time instead of resolution; the grid expression computes only a display value. Create Custom Record Fields: Display, Filter, and Sort a!customFieldDateDiff(): Interval

Community Discussion

No comments yet. Be the first to start the discussion!