• Sean Fielding 16
  • NEWBIE
  • 30 Points
  • Member since 2022

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,
I need to periodically delete orphaned files with a Scheduled Flow. Ie. files that don't have a ContentDocumentLink pointing to either Contact, Account, Case, Opportunity. 
I am having problem with formulating the query that can be used for this purpose.

Any ides anyone?

-Goran

Hi,
I need to periodically delete orphaned files with a Scheduled Flow. Ie. files that don't have a ContentDocumentLink pointing to either Contact, Account, Case, Opportunity. 
I am having problem with formulating the query that can be used for this purpose.

Any ides anyone?

-Goran