Skip to main content

KI-80

Key/SummaryKI-80 Document usage is logged twice in MIC Content Management audit logsStatusDone
Created04/04/2022Updated08/31/2022
DescriptionWhen document usage reporting is enabled and a document from MIC Content Management is used in a Request, the document usage should be logged in the Document record's audit log. However, two document usages instead of one are logged. This is because field updates in the Request workflows edit the Request record twice.
Impacted CapabilitiesInquiry Management Content ManagementAffected AppsMedical Information Cloud - Lightning
Affects VersionsMIC V10, MIC V11Fix VersionV12
Steps to ReproduceTo reproduce this issue, MIC Content Management must be the source of the content and the [Create Document Audit Log] field in the System Event Document Usage record must be enabled. 1. Create a new Request record (via an Interaction record). 2. Search for and attach a document from MIC Content Management in the Request. 3. Create a new Fulfillment record. 4. Complete the Fulfillment, and set the [Status] to "Closed." 5. Complete the Request, and set the [Status] to "Closed." The Audit Log History component in the Document record should show a single log indicating that the document is used in the Fulfillment. However, two duplicate document usage logs are displayed.
WorkaroundReplace the Request workflows with flows that use Before-save triggers. This includes the MED_Request - Set Date/Time Closed and MED_Request - Lock Request RecType workflows as well as any custom workflows that use field update actions on Request records upon close.