Events
All Event Types
File Replaced
overview this event is published when an external storage file is replaced using cloudfiles lwc from within salesforce for example, replacing a sharepoint's file with another file uploaded from local pc how to use this event ? to use cloudfiles events, you must first setup your flow as shown in the intercepting cloudfiles events docid\ a1veefugb sg3o1d7vzhp article this article will introduce you to the concepts of the event type as well as event details that are returned by the get event details docid\ cfegghvnwso7bcxyevrr flow action once you are familiar with these, you will understand how to interpret & use these as illustrated in the sections below event type for decision filter please use file replaced as the type filter when selecting this event in the decision element in flow builder output fields from get event details the corresponding get event details flow action returns the replaced file details sub type with useful information including replaced file details, record id and user id for further use refer to the image below for a list of outputs and descriptions of the parameters returned in this sub type driveid the drive id of the replaced file id the resource id of the replaced file (when a file is replaced, the resource id doesn't change) library the external storage library (ex sharepoint ) name the name of the replaced file (old file's name) parentfolderid the resource id of the replaced file's parentfolder recordid the salesforce record id associated with the lwc that initiated the the update userid the salesforce user id of the user who performed the update