Platform Events
All Event Types

Resource Cloned

Overview

The Resource Cloned Event is published for every successful external resource cloning of resources input in a Copy Resources flow action. This event is particularly useful in scenarios where the cloning of Resources needs to initiate downstream processes or workflows.

How To Use This Event ?

To use CloudFiles Platform Events, you must first setup your platform event triggered flow as shown in the CloudFiles Event Handler Flow Template. This article will introduce you to the concepts of the event type in the CloudFiles Event Object as well as event details that are returned by the Get Event Details 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 resource-cloned as the type filter when selecting this event in the decision element in flow builder.

Document image


Output Fields From Get Event Details

The corresponding Get Event Details flow action returns the Resource Cloned sub-type with useful information including the input External Storage Resource, created/cloned External Storage Resource metadata details and RecordId (i.e. Input RecordId Text string from the corresponding Copy Resources action).

Refer to the image below for a list of outputs and descriptions of the parameters returned in this sub-type.

Document image

  1. InputResource - A lookup Field of type Resource ( cldfs_Resource )which shall contain the corresponding Copy Resources Input external Resource's metadata details.
    1. driveId - The external storage drive ID
    2. id- The unique resource ID
    3. library- The External Storage Library (Ex sharepoint)
    4. name- The Name of the File/Folder
    5. path- The Storage Location Path of the File/Folder (Null if the storage is Google Drive)
    6. type- file or folder based on the Resource Type.
  2. Resource - A lookup Field of type Resource ( cldfs_Resource )which shall contain the created/ cloned Resource's metadata details.
    1. driveId - The external storage drive ID
    2. id- The unique resource ID
    3. library- The External Storage Library (Ex sharepoint)
    4. name- The Name of the File/Folder
    5. path- The Storage Location Path of the File/Folder (Null if the storage is Google Drive)
    6. type- file or folder based on the Resource Type.
  3. RecordId - The Text string input in the corresponding Copy Resources action. (e.g., the Record ID or any other identifier provided during the action).