Events
All Event Types
Resource Moved
overview the resource moved event is published whenever a file or folder is relocated within external storage using cloudfiles this can occur either when a user moves a resource through the cloudfiles lightning widget component in salesforce or when a move resource flow action runs successfully the event is useful for triggering downstream processes—such as notifications, logging, or automated updates—whenever a document is reorganized into a new folder 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 note by default, this event is not published you must enable this in document management settings event type for decision filter in flow builder, use resource moved as the event type filter in decision element output fields from get event details when a resource moved event is intercepted and you call get event details , it returns a resource moved event detail record with information about the moved file/folder and its new location key output fields (parameters) in this event detail include the resource’s identifiers and destination information refer to the image below for a list of outputs and descriptions of the parameters returned in this sub type the important fields are described below library the external storage library (for example, sharepoint , google , s3 , azure , onedrive , dropbox , box or cloudfiles ) where the resource resides driveid the external storage drive id id the unique identifier of the resource in the external storage (the file or folder id) sourceparentfolderid the parent folder id under which the resource was originally present beore moving type the type of resource that was moved (will be file or folder depending on the resource) destinationid the folder id under which the resource is moved (essentially the resource's new parent folder id)